Stitch theme
Extract design theme from a Stitch-generated HTML file. Use when user asks to extract Tailwind config, fonts, icons, or design tokens from a generated design.From its SKILL.md
npx -y skills add kyzdes/claude-stitch-design --skill stitch-themeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, as published. Nobody here has run it
Extract Stitch Theme
Overview
Parse a Stitch-generated HTML file to extract reusable design artifacts: Tailwind CSS configuration, Google Fonts links, and Material Symbols icon names. These can be integrated directly into your project.
Prerequisites
- A downloaded Stitch HTML file (from a previous generation)
- Node.js 20+ (for the parser script)
Workflow
Step 1: Identify the HTML File
Determine which design to extract from:
- If the user just generated a screen → use that HTML file
- If unclear → check
./stitch-design/context-map.mdfor recent screens - Ask the user which screen to extract from if multiple exist
Step 2: Run Theme Extractor
node ${CLAUDE_PLUGIN_ROOT}/scripts/extract-theme.mjs "./stitch-output/<project>/<screenId>/index.html" --output-dir "./stitch-output/themes"
This produces:
tailwind.config.extract.js— Tailwind CSS theme configuration (colors, fonts, spacing)fonts.css— Google Fonts import statementsicons-manifest.json— list of Material Symbols used in the design
Step 3: Present Results
Show the user what was extracted:
- Key colors from the Tailwind config
- Font families
- Icon names
Step 4: Integration Guidance
Suggest how to use the extracted theme in their project:
- "Copy
tailwind.config.extract.jsvalues into your existingtailwind.config.js" - "Add the Google Fonts links from
fonts.cssto your HTML head or CSS imports" - "Install the Material Symbols icons listed in
icons-manifest.json"
Output Files
| File | Contents |
|---|---|
tailwind.config.extract.js | Tailwind theme with colors, fontFamily, extend values |
fonts.css | @import statements for Google Fonts |
icons-manifest.json | Array of Material Symbols icon names used |