summaryrefslogtreecommitdiff
path: root/docs/typ/themes.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 12:48:17 -0300
committerGabriel Schneider <[email protected]>2026-10-01 12:58:23 -0300
commita99edf403dbcebae2ce557e2ba39078ffe876a92 (patch)
treeab2b7de7934124c0f63c51737b6c651cf4e0dd98 /docs/typ/themes.typ
parent0c3f1694ad547d734b332b1f69620e8df7bcf97c (diff)
downloadpardes-a99edf403dbcebae2ce557e2ba39078ffe876a92.tar.gz
pardes-a99edf403dbcebae2ce557e2ba39078ffe876a92.zip
Builtins are written by name: each chapter and the tutor define Look and Exec once and then say Look and Exec; the cheatsheet draws every mouse button as its icon; one-button clicks (Alt is B2, Super is B3) are in the guide and cheatsheet; building says how to send patches to the list
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/themes.typ')
-rw-r--r--docs/typ/themes.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/typ/themes.typ b/docs/typ/themes.typ
index a85abb23..da4354e2 100644
--- a/docs/typ/themes.typ
+++ b/docs/typ/themes.typ
@@ -3,7 +3,7 @@
#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, theme-gallery
#word("Themes") (#key("SPC t t")) lists every theme as a word to click;
-`Theme <name>` sets one anywhere, and the same line in the startup file
+#word("Theme") `<name>` sets one anywhere, and the same line in the startup file
keeps it. #word("NextColor") steps through the themes in this order: the native themes first, then
`acme`, `lapis` and `lapis_plain`, the faithful ports, the legacy `helix`
and `dark`, and the palettes imported from helix and zed. `orchard` is the
@@ -90,14 +90,14 @@ An imported theme whose name a port now holds is kept with `_helix` added
#word("DumpThemes") writes every compiled theme to
`<config dir>/themes/builtin/<name>.zon`. Copy one to `themes/mine.zon`,
-change its `.name`, and run `ThemeFile themes/mine.zon` (relative to the
+change its `.name`, and run #word("ThemeFile") `themes/mine.zon` (relative to the
config directory). Where the host reloads files, saving it updates the
theme at once; a malformed save keeps the last good version, and
-`Theme <name>` stops the watch. A `ThemeFile` that fails to load says why
+#word("Theme") `<name>` stops the watch. A #word("ThemeFile") that fails to load says why
in words, a ZON error with its line (`line 3: expected ','`), and changes
nothing: the theme shown stays, and #file("/ctl") and #word("DumpConfig")
still name the file that last loaded, or none. #word("Restore") and
-`pardes -l` load a dump's `ThemeFile` again, as a #file("/ctl") write of it
+`pardes -l` load a dump's #word("ThemeFile") again, as a #file("/ctl") write of it
does, and one that fails there changes nothing either. The format is `pardes.Theme` as
`std.zon.stringify` writes it, a complete theme with no inheritance.
@@ -117,7 +117,7 @@ take `null`, so older files stay valid:
[`search_bg`, `search_fg`], [search matches, apart from the selection. Absent: `sel_bg`, `sel_fg`],
[`diagnostic_error`, `diagnostic_warning`, `diagnostic_info`, `diagnostic_hint`], [diagnostic text. Absent: `fg`, or `tag_fg` for an inherited foreground],
[`tag_sel_bg`], [a tag's selection ground. Absent: `sel_bg`],
- [`sweep_bg`, `sweep_fg`], [three triples each: the select, execute and look sweeps. Absent: `sel_bg` tinted toward `kw`, `str` and `num`, in `sel_fg`],
+ [`sweep_bg`, `sweep_fg`], [three triples each: the select, #word("Exec") and #word("Look") sweeps. Absent: `sel_bg` tinted toward `kw`, `str` and `num`, in `sel_fg`],
[`tag_rule`], [the one-pixel rule between a pane's tag and its body. Absent: halfway between `tag_bg` and the page],
[`rule_px`], [pixel shells: the width of the rules between columns and panes and under the column and workspace tags, in logical pixels. Absent: 2],
[`box_border`, `box_dirty`], [the grip as acme's button: a ring of `box_border` when unfocused, filled with `box_dirty` while unsaved. Absent: `box_dim`; `diagnostic_warning`, then `num`],