Borrowing it
Nothing to install: this file belongs to saschb2b/okf-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/saschb2b/okf-studio/main/.agents/skills/theme-colors/SKILL.mdgit clone --depth 1 https://github.com/saschb2b/okf-studioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/saschb2b/okf-studio/theme-colors)<a href="https://agentmods.dev/skills/saschb2b/okf-studio/theme-colors"><img src="https://agentmods.dev/badge/skills/saschb2b/okf-studio/theme-colors/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/saschb2b/okf-studio/theme-colors"><img src="https://agentmods.dev/badge/skills/saschb2b/okf-studio/theme-colors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00146 | $0.01366 |
| Opus 5.5 | $0.00058 | $0.00546 |
| Sonnet 5.5 | $0.00029 | $0.00273 |
| Haiku 4.5 | $0.00015 | $0.00137 |
Grade A, and why
theme-colors scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Theme Colors
Rule
Every color comes from the theme. No hex literals, no rgba() strings, no scattered values.
A theme defines colors by role (primary, secondary, error, surface, text) once, in one place. Components reference the role, not the value. Brand changes update one file. Dark mode is the same theme with different values. Components derive their own hover, focus, and pressed transparencies from the role color via the alpha() helper.
The most common failure mode in LLM-generated UI is hex codes sprinkled through component files (color: "#3B82F6", bgcolor: "#1E293B", background: "rgba(255,255,255,0.5)"). Training corpora are dominated by tutorial code that hardcodes colors. The defaults skew wrong.
The vocabulary, 10 roles
| Role | Meaning | Used for |
|---|---|---|
primary |
Main brand color | Main buttons, active tabs, key highlights |
secondary |
Complementary accent | Switches, FABs, selection controls |
error |
Something wrong or destructive | Error messages, delete buttons |
warning |
Caution, not yet an error | Warning banners, risky-action confirmations |
info |
Neutral information, no urgency | Tooltips, info badges, help text |
success |
Positive outcome | Success notifications, completion |
background.default |
Page background ("the desk") | The app's base background |
background.paper |
Elevated surface ("paper on the desk") | Cards, dialogs, dropdowns, menus, drawers |
text.primary |
Main text, high emphasis | Headings, body text |
text.secondary |
De-emphasized text | Captions, timestamps, helper text |
Each role auto-derives .light, .dark, and .contrastText. Use the defaults; override only with a specific contrast or design reason.
Default behavior when writing UI
Do this:
<Box sx={{ color: "text.primary", bgcolor: "background.paper" }}>
<Button color="primary">Save</Button>
</Box>
Not this:
<Box sx={{ color: "#1E293B", bgcolor: "#FFFFFF" }}>
<Button sx={{ bgcolor: "#3B82F6" }}>Save</Button>
</Box>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 103 lines · 146 tokens per session scan A abd7bbdbb729
theme-colors is a skill published in the GitHub repository saschb2b/okf-studio (47 stars, last pushed yesterday), licensed MIT. It adds 146 tokens to every session and 1,366 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.
Other skills, from other repositories
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
popular-web-designs
54 production-quality design systems extracted from real websites. Load a template to generate HTML/CSS that matches the visual identity of sites like Stripe, Linear, Vercel, Notion, Airbnb, and more. Each template includes colors, typography, components, layout rules, and ready-to-use CSS values.
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
hallmark
Use when designing, building, redesigning, or auditing websites and web pages that refuse to look AI-generated. Enforces anti-AI-slop design rules, non-waivable floor constraints, tokenized design systems, 48 curated themes/materials, and automated sloplint verification.