Skip to content

madebysan/theme-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theme Editor

Tune a React and Tailwind v4 theme while the app is running.
Change color, type, radius, and shadows in a floating visual editor.

React TypeScript Tailwind Claude API

Install

Theme Editor cycling through presets on a dashboard

I prefer making design-token changes visually: pick colors, swap fonts, and see how the pieces fit together. Theme Editor packages that workflow as a Claude Code skill that adds a temporary editor to the app already running on your machine.

Theme Editor UI with Colors, Type, and Style tabs

What it does

Type /theme-editor in Claude Code and it adds a floating popover to your running dev server. The editor reads the project's real CSS variables, applies changes in the browser, and stays out of production builds.

Fourteen color presets, ten font pairings, and six style combinations provide starting points without locking the project to a theme. You can shuffle one category, undo changes, import or export JSON, and export the final values as CSS.

How it works

The skill has three phases:

Command What happens
/theme-editor Audits the CSS tokens, copies the editor into the project, and wires it into the root layout
"apply this theme" + JSON Writes the exported values into the project's CSS file
"remove theme editor" Deletes the injected files and imports while keeping the CSS changes

Requirements

  • Claude Code CLI
  • A React project with Tailwind CSS v4+
  • CSS file using @theme inline {} or @theme {} with CSS variables

Install

In Claude Code, run:

/plugin add madebysan/theme-editor

Or install manually:

git clone https://github.com/madebysan/theme-editor.git
cp -r theme-editor/skill ~/.claude/skills/theme-editor

Usage

  1. Open a React + Tailwind v4 project in Claude Code
  2. Type /theme-editor
  3. Refresh your browser. A paintbrush icon appears in the bottom-left corner.
  4. Click to open the editor popover
  5. Tweak colors, fonts, and style tokens
  6. When happy, export as JSON and say "apply this theme" to make it permanent
  7. Say "remove theme editor" to clean up the injected files

License

MIT

Made by santiagoalonso.com

About

Tune a React and Tailwind v4 theme live with a floating visual editor.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors