prototype
MAmattpocock/skills288k近 7 天新增 10,178 个 star
Author a Wisp custom theme CSS file that uses documented tokens and import constraints. Use when the user wants a custom look, hide the paragraph lead bar, restyle chat Markdown, override colors, or import a stylesheet under Settings → Appearance.
Wisp injects one user stylesheet after the built-in theme. Prefer CSS variables
on :root. Do not invent Settings toggles for one-off look changes.
.css file in the project, usually theme.css.configure with action=set and values.custom_css set to the
full stylesheet text. Empty string clears it.!important unless a built-in rule requires it.The host sanitizes CSS before inject. These are stripped:
@import and @namespaceurl(...)javascript:, expression(, behavior:, -moz-binding</style and <scriptDo not rely on remote fonts, images, or other stylesheets. Name an installed
font with configure ui_font_family / code_font_family instead.
Scope light/dark overrides with :root[data-theme="light"] and
:root[data-theme="dark"]. System theme follows the OS, so also cover
:root[data-theme="system"] when the user cares about both.
Override these on :root. Leave unused tokens alone.
| Token | Default role |
|---|---|
--bg-app, --bg-elev, --bg-sunken, --bg-input, --bg-panel | Surfaces |
--text, --text-muted, --text-faint | Ink |
--border, --border-strong | Hairlines |
--clay, --clay-strong, --clay-soft, --on-clay | Accent (teal) |
--ui-font-size, --code-font-size | Set by Appearance sliders; do not hard-code px on chat body |
--md-table-font-size | Markdown tables; default calc(var(--ui-font-size, 14px) - 1px) |
--md-lead-bar-width, --md-lead-bar-pad | Bold-at-start emphasis bar; 3px / 0.55em |
--font-user-ui, --font-user-mono | Optional family names; empty restores the stack |
--radius, --radius-sm, --radius-xs | Corners |
Palette attributes (data-light-palette, data-dark-palette) already map onto
the semantic tokens. Prefer --clay / --bg-app over palette internals
(--lp-*, --dp-*) unless the user asked to restyle one palette only.
Hide the lead bar (the vertical mark before a paragraph that starts with bold):
:root {
--md-lead-bar-width: 0;
--md-lead-bar-pad: 0;
}
Keep tables aligned with UI size, or pin a size:
:root { --md-table-font-size: calc(var(--ui-font-size, 14px) - 1px); }
:root { --md-table-font-size: 14px; }
Quiet chat chrome:
.msg.assistant .role { display: none; }
.msg.assistant .body.md { letter-spacing: 0; }
Do not restyle window controls, settings forms, or tool-approval cards unless the user asked. Keep contrast readable on both themes.
{
"action": "set",
"values": {
"custom_css": ":root { --md-lead-bar-width: 0; --md-lead-bar-pad: 0; }\n"
}
}
After writing theme.css, read it and pass the exact file contents. Do not
summarize or wrap the CSS in Markdown fences inside custom_css.
MAmattpocock/skills288k近 7 天新增 10,178 个 star
AFaffaan-m/ECC278k近 7 天新增 4,046 个 star
FIfirecrawl/firecrawl191k近 7 天新增 2,010 个 star
用 React、Tailwind 和 shadcn/ui 构建多组件页面。
ANanthropics/skills181k近 7 天新增 1,119 个 star