diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 06:35:06 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 06:35:06 -0500 |
| commit | cd24eedbf4871dd5ecd91a228bcff586c6494f92 (patch) | |
| tree | 5629cf77ca9a6afc0955ba61b9e6e86a34cbe9f0 /scripts/theme-selector | |
| parent | 39fcd5112b29139f4cf41e5101dc474f89169ebd (diff) | |
| download | dotemacs-cd24eedbf4871dd5ecd91a228bcff586c6494f92.tar.gz dotemacs-cd24eedbf4871dd5ecd91a228bcff586c6494f92.zip | |
docs(theme-selector): document underline and strike in the theme.json contract
Record the two new face booleans in the README contract and the spec's state-and-export-policy block, including that the converter writes them as :underline t and :strike-through t.
Diffstat (limited to 'scripts/theme-selector')
| -rw-r--r-- | scripts/theme-selector/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/theme-selector/README.md b/scripts/theme-selector/README.md index b7e8f155..8f63383c 100644 --- a/scripts/theme-selector/README.md +++ b/scripts/theme-selector/README.md @@ -118,6 +118,7 @@ The export (and what a build step consumes): "packages": { "org-mode": { "org-level-1": {"fg": "#67809c", "bg": null, "bold": true, "italic": false, + "underline": false, "strike": false, "inherit": null, "height": 1.3, "source": "default"} } } @@ -127,9 +128,10 @@ The export (and what a build step consumes): - `assignments` maps syntax category keys to hexes; `bg` is the `default` face background, `p` the foreground. - `ui` and `packages` faces carry `fg`/`bg` (hex or `null`), `bold`, `italic`, - and for package faces `inherit` (a face name or `null`), `height` (a float, - omitted at 1.0), and `source` (`"default"` seeded, `"user"` edited, - `"cleared"`). + `underline`, `strike`, and for package faces `inherit` (a face name or + `null`), `height` (a float, omitted at 1.0), and `source` (`"default"` seeded, + `"user"` edited, `"cleared"`). The converter writes `underline` as + `:underline t` and `strike` as `:strike-through t`. - The theme name is both the `name` field and the download filename. Import a `theme.json` to start from a prior theme; a file with no `packages` key still loads. |
