diff options
Diffstat (limited to 'docs/typ/themes.typ')
| -rw-r--r-- | docs/typ/themes.typ | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/typ/themes.typ b/docs/typ/themes.typ index 9212a27b..918c2ea5 100644 --- a/docs/typ/themes.typ +++ b/docs/typ/themes.typ @@ -91,10 +91,12 @@ An imported theme whose name a port now holds is kept with `_helix` added change its `.name`, and run `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 changes -nothing: #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 does. The format is `pardes.Theme` as +`Theme <name>` stops the watch. A `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 +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. The required roles: nullable `bg` and `fg`, `sel_bg`, `sel_fg`, `tag_bg`, |
