-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.toml
More file actions
34 lines (30 loc) · 1.41 KB
/
Copy pathconfig.example.toml
File metadata and controls
34 lines (30 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.
[font]
# 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.
family = "JetBrains Mono"
# Base font size in logical pixels (default 18, clamped to 6–96).
size = 18.0
[theme]
# 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
name = "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.
[theme.overrides]
# 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.
[themes.my-midnight]
background = "#0B0E14"
foreground = "#BFBDB6"
comment = "#4D5566"
pink = "#FF8F40"
cyan = "#59C2FF"
green = "#AAD94C"