Preline Theme Generator
Generates Preline theme CSS through a bundled local generator, with preview, save, and validation modes.
- CCM score
- 56 of 100
- skills.sh installs
- 1.4K
- GitHub stars
- 6.5K
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers the full theme flow: request normalization, target directory discovery, CSS generation, file creation, and token validation
- Includes workflow, palette guidance, token reference, validation checklist, and output style docs for light and dark theme CSS
- Enforces a single execution path via
scripts/run-theme-generator.js, with nonpx, raw shell interpolation, or writes outside the confirmed theme directory - Designed for creating brand-matched or mood-based Preline themes without touching unrelated project CSS
Install
$ npx -y skills add htmlstreamofficial/preline --skill preline-theme-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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:
- Identify whether the task is preview, write, or validate.
- Normalize the request into explicit generator inputs.
- Resolve the target directory with
scripts/find-themes-dir.js. - Generate CSS only through
scripts/run-theme-generator.js. - Create or edit only the new theme file.
- Validate with
docs/validation-checklist.md. - Return the result in the mode-appropriate format.
Security Constraints
Details
- Repository
- github.com/htmlstreamofficial/preline
- Categories
- Frontend & UI Code, Design & UI/UX
- First seen
- May 16, 2026
More from htmlstreamofficial/preline
All 2Similar to Preline Theme Generator
More Frontend & UI Codepreline-theme-generatorSkillhtmlstreamofficial/preline6.5K starsGenerates validated Preline theme CSS from brand colors or moods, with safe preview and write modes.
theme-factorySkillanthropics/skills106.7K installsReusable theme set of 10 presets with colors and fonts, applied to slides, docs, and HTML pages.
shopify-liquid-themesSkillbenjaminsehl/liquid-skills4.2K installsShopify Liquid theme code generator with schema JSON, LiquidDoc headers, translation keys, and CSS/JS patterns.
slide-deckSkillcode-on-sunday/slide-deck-generator230 installsBrowser-based slide deck builder with mood-driven style presets, anti-generic design rules, and a React+Vite scaffold.
design-tokensSkilljulianoczkowski/designer-skills6.3K installsGenerates a philosophy-driven design tokens file with light and dark palettes, spacing, type, and motion scales.
StyleKitMCP serveranxforever916 starsOpen-source visual style library for AI-generated web pages, with MCP access to styles, tokens, and recipes.