Skip to content
htmlstreamofficial avatar

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
View on GitHub

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 no npx, 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 -y

Installs 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

  1. Read docs/workflow.md.
  2. Read docs/palette-guidance.md.
  3. Read docs/final-output-style.md before writing a final theme file.
  4. Read docs/validation-checklist.md before closing the task.
  5. Read examples.md only if the user wants stylistic guidance or sample outputs.
  6. Read docs/token-reference.md only if you need to inspect token coverage in detail.

Workflow

Follow docs/workflow.md for the full operating path.

Key requirements:

  1. Identify whether the task is preview, write, or validate.
  2. Normalize the request into explicit generator inputs.
  3. Resolve the target directory with scripts/find-themes-dir.js.
  4. Generate CSS only through scripts/run-theme-generator.js.
  5. Create or edit only the new theme file.
  6. Validate with docs/validation-checklist.md.
  7. 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 2

Similar to Preline Theme Generator

More Frontend & UI Code