skills$openclaw/theme-gen
lxgicstudios1.2k

by lxgicstudios

theme-gen – OpenClaw Skill

theme-gen is an OpenClaw Skills integration for coding workflows. Generate a complete design system from brand colors using AI. Use when starting a new project or standardizing colors.

1.2k stars4.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nametheme-gen
descriptionGenerate a complete design system from brand colors using AI. Use when starting a new project or standardizing colors. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/theme-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/theme-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains theme-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
1.1 KB
index.ts
1.1 KB
_meta.json
282 B
package-lock.json
30.2 KB
package.json
672 B
README.md
663 B
SKILL.md
2.6 KB
tsconfig.json
251 B
SKILL.md

name: theme-gen description: Generate a complete design system from brand colors using AI. Use when starting a new project or standardizing colors.

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:

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.

README.md

ai-theme

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

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-theme --help ```

FAQ

How do I install theme-gen?

Run openclaw add @lxgicstudios/theme-gen in your terminal. This installs theme-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/theme-gen. Review commits and README documentation before installing.