Preline Theme Generator

Generates full light/dark Preline CSS theme files from a hue or brand hex via a bundled local Node script.

Tested · Works

Test report

Verdict
Tested · Works
Score
9.6/10
Tested
Jul 10, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Jul 18, 2026 · be4145a

Ran the actual bundled script with zero setup and no network calls, producing a 682-line CSS file with a full OKLCH scale and dark-mode chart tokens, versus a 16-property hand-written sheet with none.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 9/10
  • Docs & honesty 5/5

What Preline Theme Generator does

Wraps a self-contained, network-free Node.js generator that turns a brand color or hue into a complete Preline design-token theme (OKLCH color scale, gray scale, semantic surface/border/chart/map tokens, light+dark variants). Triggers on requests to create, preview, match, or validate a Preline theme, and explicitly excludes generic non-Preline CSS work or arbitrary command execution.

How to install Preline Theme Generator

git clone https://github.com/htmlstreamofficial/preline
cd preline
mkdir -p ~/.claude/skills
cp -r skills/theme-generator ~/.claude/skills/preline-theme-generator

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Preline Theme Generator

  • /preline-theme-generator Generates full light/dark Preline CSS theme files from a hue or brand hex via a bundled local Node script.

It also activates on plain-language prompts like these:

  • Generate a light and dark Preline theme from this brand hex color
  • Create an OKLCH color scale Preline theme matching our hue
  • Preview and validate this Preline design-token theme

Frequently asked questions

Is the Preline Theme Generator skill free?
Yes. The skill itself is free from htmlstreamofficial/preline. SkillProof publishes the install command and an independent test verdict at no cost.
Does Preline Theme Generator work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 10, 2026. Verdict: Tested · Works. Ran the actual bundled script with zero setup and no network calls, producing a 682-line CSS file with a full OKLCH scale and dark-mode chart tokens, versus a 16-property hand-written sheet with none.
What is the Preline Theme Generator SkillProof Score?
9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
How do I install Preline Theme Generator?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Preline Theme Generator with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.