Skip to content

Commit 354cc0e

Browse files
committed
docs(themes): scrub em-dashes from themes guide
1 parent 3acabe3 commit 354cc0e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/themes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ block. The override wins; the preset provides the rest.
7878
| `hop_bg` / `hop_fg` | Jump host badge |
7979

8080
All colour values are CSS colour strings (`"#003366"`, `"rgb(0,51,102)"`,
81-
`"hsl(210 100% 20%)"` anything CSS accepts).
81+
`"hsl(210 100% 20%)"`, anything CSS accepts).
8282

8383
### Example: corporate branding on top of a preset
8484

@@ -105,8 +105,8 @@ users; selectable as `preset = "<name>"` in `config.toml`.
105105
A theme file is a flat TOML table with one entry per colour. The filename
106106
(minus `.toml`) is the theme id. There is **no** `name` field inside the
107107
file. Every field listed in the table below is required (the field names
108-
match the per-field overrides above, but **without** the `_color` suffix
109-
e.g. `primary`, not `primary_color`); the sole exception is `bg_pattern`,
108+
match the per-field overrides above, but **without** the `_color` suffix
109+
(e.g. `primary`, not `primary_color`); the sole exception is `bg_pattern`,
110110
which defaults to `"none"` if omitted.
111111

112112
```toml
@@ -145,13 +145,13 @@ bg_pattern = "none"
145145
```
146146

147147
A complete example ships with rustguac at
148-
`static/themes/catppuccin-macchiato.toml` — copy it and tweak.
148+
`static/themes/catppuccin-macchiato.toml`. Copy it and tweak.
149149

150150
### Naming rules
151151

152152
Theme filenames (and therefore theme ids) must match
153-
`[a-zA-Z0-9_-]{1,64}`. Anything outside that set spaces, dots,
154-
non-ASCII, control characters is **rejected at load time with a log
153+
`[a-zA-Z0-9_-]{1,64}`. Anything outside that set (spaces, dots,
154+
non-ASCII, control characters) is **rejected at load time with a log
155155
warning** and the file is ignored. This keeps theme ids safe to render
156156
unescaped in the UI picker, safe in log lines, and free of any
157157
path-traversal or homoglyph mischief from crafted filenames.

0 commit comments

Comments
 (0)