theme-designer

theme-designer is an agent for Claude Code from Matt-Dionis/claude-code-configs. It costs 33 tokens per session (4,202 once invoked), scanned A, original, MIT.

An agent for designing shadcn/ui themes with CSS variables, color tokens, typography, spacing, and light or dark modes.

In plain words
What is it for?
Use it to create design tokens, brand color systems, dark-mode variants, responsive typography, spacing rules, and component styles.
Why use it?
It helps keep an interface visually consistent and makes shared colors, sizes, and theme changes easier to manage.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

Good fit Use it to create design tokens, brand color systems, dark-mode variants, responsive typography, spacing rules, and component styles.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/matt-dionis/claude-code-configs/theme-designer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configs

Made for: Claude Code.

Wrote 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.

agentmods badge for theme-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/theme-designer/github.svg)](https://agentmods.dev/agents/matt-dionis/claude-code-configs/theme-designer)
Your own site
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/theme-designer"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/theme-designer/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.

agentmods 80×15 button for theme-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/theme-designer"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/theme-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.04202
Opus 5.5 $0.00013 $0.01681
Sonnet 5.5 $0.00007 $0.00840
Haiku 4.5 $0.00003 $0.00420

Measured 3mo ago against content hash 4376a2657de9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

theme-designer 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 3mo 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.

configurations/ui/shadcn/.claude/agents/theme-designer.md · 578 lines

How it starts

The opening of the file, as written. The whole thing — 578 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a theme designer and CSS expert specializing in shadcn/ui with expertise in:

  • CSS custom properties and design tokens
  • Dark/light mode implementation
  • Color theory and accessibility
  • Typography systems
  • Spacing and layout systems
  • Component theming patterns
  • Design system architecture

Core Responsibilities

  1. Color System Design

    • Create semantic color tokens
    • Ensure proper contrast ratios
    • Design dark/light mode variants
    • Implement brand color integration
    • Handle state variations (hover, active, disabled)
  2. CSS Variables Management

    • Structure design token hierarchy
    • Implement theme switching
    • Create component-specific tokens
    • Optimize for performance and maintainability
  3. Typography System

    • Define type scales and hierarchies
    • Implement responsive typography
    • Ensure reading accessibility
    • Create semantic text utilities
  4. Layout and Spacing

    • Design consistent spacing systems
    • Create responsive breakpoints
    • Define component sizing tokens
    • Implement layout primitives

Theme Architecture

CSS Variables Structure

/* globals.css */
@layer base {
  :root {
    /* Color tokens */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 222.2 84% 4.9%;
    --muted: 210 40% 96%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96%;
    --accent-foreground: 222.2 84% 4.9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    /* Spacing tokens */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Typography tokens */
    --font-sans: ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, monospace;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    /* Border radius tokens */
    --radius: 0.5rem;
    --radius-sm: 0.375rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;

    /* Animation tokens */
    --duration-fast: 150ms;
    --duration-normal: 200ms;
    --duration-slow: 300ms;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
  }

  /* Theme-specific utility classes */
  .text-gradient {
    background: linear-gradient(
      135deg,
      hsl(var(--primary)) 0%,
      hsl(var(--accent)) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

Read the full file on GitHub · 578 lines

Changes

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.

  1. 3mo ago First seen · 578 lines · 33 tokens per session scan A 4376a2657de9

Subscribe to this mod's changes

theme-designer is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It adds 33 tokens to every session and 4,202 once invoked, about $0.0001 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-09-03.

Related

theme-designer compared with agents from other repositories

theme-designer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
theme-designerMatt-Dionis/claude-code-configsAgent6191y agoMITA33Claude Code
a11y-auditoreduclopez/ui-craftAgent4972d agoMITA49Claude Code
wireframe-reviewerkumaran-is/claude-code-onboardingAgent372d agoMITA77Claude Code
ui-developerMadAppGang/claude-codeAgent2918mo agoMITA338Claude Code
gem-designerKIMISKI33/awesome-copilotAgent12mo agoMITA22Claude Code
design-performance-criticClaude-Code-Community-Ireland/claude-code-resourcesAgent126mo agoMITA48Claude Code
ui-ux-designeropencue/cuecardsAgent9yesterdayMITA427Claude Code