preline-theme-generator
Installation
Summary
Generates complete Preline Theme CSS files from natural language descriptions.
- Interprets user requests to determine theme configuration (hue, style, palette mood) and automatically creates a JSON config file
- Runs the theme generator script silently and outputs a ready-to-use CSS file with coherent light and dark modes
- Generates comprehensive token coverage including surfaces, borders, primary/secondary/destructive color ramps, and component-specific tokens (navbar, sidebar, card, dropdown, etc.)
- Theme activation requires only a CSS import and
data-themeattribute on the HTML element; no HTML utility class changes needed - Supports custom color palettes, typography tokens, and optional behavior overrides, all scoped to prevent affecting non-theme pages
SKILL.md
Preline Theme Generator
Use the bundled local scripts. Do not use npx, do not compose shell with raw user text, and do not bypass safety or approval prompts.
Read Order
- Read
docs/workflow.md. - Read
docs/palette-guidance.md. - Read
docs/final-output-style.mdbefore writing a final theme file. - Read
docs/validation-checklist.mdbefore closing the task. - Read
examples.mdonly if the user wants stylistic guidance or sample outputs. - Read
docs/token-reference.mdonly if you need to inspect token coverage in detail.
Workflow
Follow docs/workflow.md for the full operating path.
Key requirements: