A modern, AI-powered color engineering suite for developers, designers, and creators. MirrorLake brings together advanced color tools, intelligent agents, and seamless VSCode integration.
Visit MirrorLake Color Agent
Visit MirrorLake Color Highlighter
MirrorLake is a turborepo containing:
- MirrorLake Color Agent: An AI-augmented color picker and theme agent web app (apps/agent), offering color analysis, advice, and theme management with LLM and Python-powered reasoning.
- MirrorLake Color Highlighter: A powerful VSCode extension (apps/mirrorlake-color-highlighter) for intelligent color highlighting, conversion, and instant color info in your code.
- Interactive color picker with AI-powered color advice
- Theme creation and management
- Deep color analysis (client, server, and Python-powered)
- Reasoning Engine integration (DeepSeek, AI SDK, or your own provider)
- Multi-layered architecture: Next.js (client/server), Python (Edge/Server), and LLM
- Highlights all major color formats: HEX, RGB(A), HSL(A), CSS4, named colors
- Hover for instant color info, conversions, and color names
- Click to replace color codes in your code
- Visual color swatches and advanced color picker integration
- Highly configurable: file types, languages, experimental features
Try the Color Agent at mirrorlake.ldwid.com.
- Node.js (v22+ recommended)
- pnpm (see
packageManagerin root) - Python 3.12+ (for advanced color analysis)
-
Clone this repository
-
Install dependencies
pnpm install
-
Set up Python environment
python3 -m venv venv # On Mac/Linux: source venv/bin/activate # On Windows: venv\Scripts\activate
-
Run the development server
pnpm dev
-
Open http://localhost:3000 in your browser
-
(Optional) Set up DeepSeek API key for AI features Create
.env.localin the root orapps/agent:DEEPSEEK_API_KEY=your_deepseek_api_key
- Open VSCode in the repo root.
- Go to
apps/mirrorlake-color-highlighter. - Run
pnpm installif needed. - Press
F5to launch the extension in a new Extension Development Host window.
mirrorlake/
├── apps/
│ ├── agent/ # MirrorLake Color Agent (Next.js + Python)
│ └── mirrorlake-color-highlighter/ # VSCode extension
├── packages/
│ └── color-tools/ # Shared color utilities
├── ...
- See apps/agent/readme.md for full usage, deployment, and architecture details.
- See apps/mirrorlake-color-highlighter/README.md for features, settings, and troubleshooting.
{
"mirrorlake-color-highlighter.supportedFileGlobs": [
"*.css",
"*.scss",
"*.sass",
"*.less",
"*.styl",
"*.pcss",
"*.html",
"*.htm",
"*.vue",
"*.jsx",
"*.tsx",
"*.js",
"*.ts"
],
"mirrorlake-color-highlighter.enableNamedColors": false,
"mirrorlake-color-highlighter.enableRgb4Colors": false
}MirrorLake uses a multi-layered approach:
- Client Side (Next.js): Fast, interactive color tools and agent UI
- Server Side (Next.js & Python): Color analysis, theme logic, and heavy computation
- Reasoning Engine (LLM/DeepSeek): AI-powered advice, theme suggestions, and user queries
- VSCode Extension: Real-time color highlighting and conversion in your editor
- colord for color analysis
- color-names for color naming
- nextjs-fastapi for project structure inspiration
- All open-source dependencies and contributors
MIT License and All Rights Reserved.
Enjoy beautiful, intelligent color workflows with MirrorLake!
