Skip to content

The agent that grows with you

docs(skins): document the customCSS skin field and 32 KiB cap

David Metcalfe27263a276816
diff --git a/website/docs/user-guide/features/skins.md b/website/docs/user-guide/features/skins.md
index eb8ecf32e16..5fb780757b4 100644
--- a/website/docs/user-guide/features/skins.md
+++ b/website/docs/user-guide/features/skins.md
@@ -107,6 +107,7 @@ Text strings used throughout the CLI interface.
| `tool_emojis` | dict | Per-tool emoji overrides for spinners and progress (`{tool_name: emoji}`) | `{}` |
| `banner_logo` | string | Rich-markup ASCII art logo (replaces the default HERMES_AGENT banner) | `""` |
| `banner_hero` | string | Rich-markup hero art (replaces the default caduceus art) | `""` |
+| `customCSS` | string | Raw CSS injected into the desktop app and web dashboard while the skin is active (GUI surfaces only; ignored by the CLI/TUI). Capped at 32 KiB. | `""` |
## Custom skins
@@ -212,6 +213,24 @@ branding:
tool_prefix: "▏"
```
+### Raw `customCSS`
+
+For selector-level styling that colors can't express — font sizes, spacing, pseudo-elements, animations — drop raw CSS into `customCSS`. The desktop app and web dashboard inject it as a `<style>` tag while the skin is active and remove it when you switch to a skin without it.
+
+```yaml
+name: myskin
+
+colors:
+ background: "#1a1030"
+ ui_accent: "#ff5fd2"
+
+customCSS: |
+ .chat-input { font-size: 16px; }
+ .status-bar { background: rgba(0, 0, 0, 0.5); }
+```
+
+The field is capped at 32 KiB and applies to GUI surfaces only — the CLI and TUI ignore it. Because it lives in your skin YAML under `~/.hermes/skins/`, it survives app updates (no more hacking `app.asar`).
+
## Hermes Mod — Visual Skin Editor
[Hermes Mod](https://github.com/cocktailpeanut/hermes-mod) is a community-built web UI for creating and managing skins visually. Instead of writing YAML by hand, you get a point-and-click editor with live preview.