Theme Factory Skill
This skill generates structured theme configurations in JSON format, suitable for modern UI frameworks (Tailwind, Material UI, Shadcn) or custom styling systems.
Core Capabilities
- Generate Themes: Create comprehensive theme objects with colors, fonts, and spacing.
- Color Palettes: Generate accessible color schemes (primary, secondary, accent, neutral).
- Typography Scales: Define font families, sizes, and line heights.
- Format Adaptation: Output for Tailwind (
tailwind.config.js), CSS variables (:root), or generic JSON.
Workflow Examples
1. Generate JSON Theme
Prompt: "Create a dark mode theme for a developer dashboard."
Output:
{
"name": "dark-dev-dashboard",
"colors": {
"background": "#0f172a",
"foreground": "#f8fafc",
"primary": {
"DEFAULT": "#3b82f6",
"hover": "#2563eb",
"active": "#1d4ed8"
},
"secondary": "#64748b",
"accent": "#10b981",
"error": "#ef4444",
"warning": "#f59e0b",
"success": "#22c55e"
},
"fonts": {
"heading": "Inter, system-ui, sans-serif",
"body": "Roboto Mono, monospace"
},
"spacing": {
"sm": "0.5rem",
"md": "1rem",
"lg": "1.5rem",
"xl": "2rem"
},
"borderRadius": {
"default": "0.375rem",
"card": "0.5rem"
}
}
2. Generate Tailwind Config Fragment
Prompt: "Give me a tailwind color config for a 'sunset' theme."
Output:
module.exports = {
theme: {
extend: {
colors: {
sunset: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#f97316',
600: '#ea580c',
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
},
}
}
}
}
Best Practices
- Accessibility: Ensure contrast ratios meet WCAG AA standards.
- Consistency: Use standard naming conventions (primary, secondary, success, error).
- Scalability: Include shades (50-900) for versatile usage.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: theme-factory-83description: Generate structured JSON theme configurations for UI components, presentations, or documents. Supports color palettes, typography, and spacing. Use when this capability is needed.4---56# Theme Factory Skill78This skill generates structured theme configurations in JSON format, suitable for modern UI frameworks (Tailwind, Material UI, Shadcn) or custom styling systems.910## Core Capabilities11121. **Generate Themes**: Create comprehensive theme objects with colors, fonts, and spacing.132. **Color Palettes**: Generate accessible color schemes (primary, secondary, accent, neutral).143. **Typography Scales**: Define font families, sizes, and line heights.154. **Format Adaptation**: Output for Tailwind (`tailwind.config.js`), CSS variables (`:root`), or generic JSON.1617## Workflow Examples1819### 1. Generate JSON Theme2021**Prompt**: "Create a dark mode theme for a developer dashboard."2223**Output**:2425```json26{27 "name": "dark-dev-dashboard",28 "colors": {29 "background": "#0f172a",30 "foreground": "#f8fafc",31 "primary": {32 "DEFAULT": "#3b82f6",33 "hover": "#2563eb",34 "active": "#1d4ed8"35 },36 "secondary": "#64748b",37 "accent": "#10b981",38 "error": "#ef4444",39 "warning": "#f59e0b",40 "success": "#22c55e"41 },42 "fonts": {43 "heading": "Inter, system-ui, sans-serif",44 "body": "Roboto Mono, monospace"45 },46 "spacing": {47 "sm": "0.5rem",48 "md": "1rem",49 "lg": "1.5rem",50 "xl": "2rem"51 },52 "borderRadius": {53 "default": "0.375rem",54 "card": "0.5rem"55 }56}57```5859### 2. Generate Tailwind Config Fragment6061**Prompt**: "Give me a tailwind color config for a 'sunset' theme."6263**Output**:6465```javascript66module.exports = {67 theme: {68 extend: {69 colors: {70 sunset: {71 50: '#fff7ed',72 100: '#ffedd5',73 200: '#fed7aa',74 300: '#fdba74',75 400: '#fb923c',76 500: '#f97316',77 600: '#ea580c',78 700: '#c2410c',79 800: '#9a3412',80 900: '#7c2d12',81 },82 }83 }84 }85}86```8788## Best Practices8990* **Accessibility**: Ensure contrast ratios meet WCAG AA standards.91* **Consistency**: Use standard naming conventions (primary, secondary, success, error).92* **Scalability**: Include shades (50-900) for versatile usage.9394---95> Converted and distributed by [TomeVault](https://tomevault.io/claim/anycowork) — claim your Tome and manage your conversions.96<!-- tomevault:4.0:skill_md:2026-04-13 -->