Customizable colors for different syntax elements Flexible syntax mapping system Export and import themes as JSON it's best to use with my nvim dotfiles (I still need to extract the theming plugin to a repo sry for that the folder can be plugin can be found in the same repo under .nvim/plugs/firelfy-theme)
# Clone the repository
git clone https://github.com/yourusername/CodeColor.git
cd CodeColor
# Install dependencies
npm install
# Build for production
npm run build
# Start the development server
npm run dev- Adjust colors in the color picker panel
- See changes immediately in the code preview
- Switch between programming languages to check how your theme looks
- Map syntax elements to specific colors
- Export your theme as JSON when finished
You can Import previously saved themes to continue editing.
Themes are exported as JSON with this structure:
{
"colors": {
"color0": "#1c1a1c",
"color1": "#A64B3A",
"bg0": "#282828",
"fg0": "#ebdbb2",
...
},
"mappings": {
"comment": "color8",
"keyword": "color5",
"string": "color2",
"number": "color1",
"variable": "color4",
"fn": "color3",
...
},
"diagnostics": {
"error": "color9",
"warning": "color17",
"info": "color4",
"hint": "color6",
"ok": "color2"
},
"statusline": {
"normal": "color5",
"insert": "color3",
"visual": "color4",
"replace": "color1",
"command": "color6",
"terminal": "color2"
}
}Available Scripts:
npm run build # Build project
npm run dev # Start development server
npm run preview # Preview the production build
npm run check # Type-check the codebase