theme-normalizer
OfficialUnify deck colors by mapping HEX to theme vars.
Authorco-r-e
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Normalize hard-coded HEX colors in decks' MDX files to deck theme CSS variables derived from deck.config.ts theme.colors, enabling consistent theming and easier brand updates.
Core Features & Use Cases
- Automatically replace hard-coded color literals like #FF00AA with var(--slide-*) CSS variables based on the deck theme.
- Applies across decks/<deck>/*mdx and deck.config.ts to ensure consistent color usage and easier color management.
- Use Case: When a deck uses inconsistent colors across slides, this Skill standardizes them to the centralized theme definitions for maintainability.
Quick Start
Preview color normalization for the target deck, then apply changes with --write to update deck colors.
Dependency Matrix
Required Modules
jiti
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: theme-normalizer Download link: https://github.com/co-r-e/dexcode/archive/main.zip#theme-normalizer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.