Skip to content

Generate design tokens and color palettes with AI.

Notifications You must be signed in to change notification settings

lxgicstudios/ai-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-theme

npm version npm downloads License: MIT GitHub stars TypeScript

Generate a complete design system from your brand colors. Gets you a full color palette, typography scale, spacing, shadows, and more.

Install

npm install -g ai-theme

Usage

npx ai-theme "#FF4500" "#1A1A2E"
# Generates CSS custom properties

npx ai-theme "#FF4500" "#1A1A2E" -f tailwind
# Generates tailwind.config.js theme extension

npx ai-theme "#FF4500" "#1A1A2E" -f json -o tokens.json
# Saves design tokens as JSON

Setup

export OPENAI_API_KEY=sk-...

Options

  • -f, --format <type> - Output format: css, tailwind, json (default: css)
  • -o, --output <path> - Save to file

License

MIT

About

Generate design tokens and color palettes with AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published