theme-gen
БесплатноЗапускает вложенные скриптыНе проверенGenerate a complete design system from brand colors using AI. Use when starting a new project or standardizing colors.
от sundial-org★ 676 звёзд на GitHubОб этом скилле
Theme Generator
Give it your brand colors. Get back a complete design system with semantic tokens, shade scales, and ready-to-use CSS variables or Tailwind config. Stop manually picking 9 shades of blue.
One command. Zero config. Just works.
Quick Start
npx ai-theme --primary "#3B82F6" --secondary "#10B981"
What It Does
- Generates full color shade scales from your base colors (50 through 950)
- Creates semantic tokens like success, warning, error, info
- Outputs CSS custom properties, Tailwind config, or both
- Ensures accessible contrast ratios between foreground and background
- Builds consistent spacing and typography scales
Usage Examples
# Generate from primary color only
npx ai-theme --primary "#6366F1"
# Full brand palette
npx ai-theme --primary "#3B82F6" --secondary "#10B981" --accent "#F59E0B"
# Output Tailwind config
npx ai-theme --primary "#8B5CF6" --format tailwind
# Include dark mode variants
npx ai-theme --primary "#EC4899" --dark-mode
# Export to file
npx ai-theme --primary "#14B8A6" -o ./theme.css
Best Practices
- Start with your hero color - The primary color sets the tone. Get that right first
- Don't fight the generated scales - They're mathematically balanced. Trust the output
- Test in context - Paste the variables into your project and see how they look on real UI
- Customize after generating - Use this as a starting point, then tweak individual shades
When to Use This
- Starting a new project and need a color system fast
- Client gave you one brand color and expects a full palette
- Converting a messy codebase to consistent design tokens
- Exploring color options during early design phases
Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgic.dev
Requirements
No install needed. Just run with npx. Node.js 18+ recommended.
npx ai-theme --help
How It Works
The tool takes your base colors and uses color theory principles to generate harmonious shade scales. It calculates luminance values to ensure each step in the scale has proper contrast, then maps these to semantic purposes like backgrounds, text, and interactive states.
License
MIT. Free forever. Use it however you want.
Установить theme-gen в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл theme-gen?
Generate a complete design system from brand colors using AI. Use when starting a new project or standardizing colors.
Как установить скилл theme-gen?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл theme-gen запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic