# writ configuration — copy to ~/.config/writ/config.toml (or pass --config <path>).
# Everything here is optional; omitted keys fall back to the built-in defaults.
[]
# A monospace font family. writ verifies it is fixed-pitch at startup and falls back
# to the system monospace (with a warning) if it isn't, or if the font isn't installed.
= "JetBrains Mono"
# Base font size in logical pixels (default 18, clamped to 6–96).
= 18.0
[]
# A built-in preset, or the name of a custom [themes.*] you define below. Built-ins:
# dark: dracula (default), nord, solarized-dark, gruvbox-dark, tokyo-night, catppuccin-mocha
# light: solarized-light, catppuccin-latte
= "dracula"
# Optional per-color tweaks applied on top of the selected theme. Colors are hex,
# "#RRGGBB" or "#RRGGBBAA". The 12 slots are:
# background surface foreground selection comment
# red orange yellow green cyan purple pink
# Syntax mapping: keyword/operator = pink, function = green, type = cyan,
# string = yellow, number/constant = purple, comment = comment.
[]
# comment = "#7A88B8"
# Define your own themes here, then select one with `name` above. Any color you omit
# is inherited from dracula. A [themes.<name>] shadows a built-in of the same name.
[]
= "#0B0E14"
= "#BFBDB6"
= "#4D5566"
= "#FF8F40"
= "#59C2FF"
= "#AAD94C"