AI Design System Copilot
Connect your brand color scheme directly to Bolt.new, v0.dev, or Cursor. Generate fully complete Tailwind configurations, comprehensive Shadcn HSL stylesheets, and custom instructions for AI builders to prevent gray slop.
Color Palette Inputs
Integration Guide & FAQ
🤖 How does the AI Design System Copilot help me?
Most AI coding models (like Claude, Cursor, Bolt, and v0) have no inherent visual taste and default to generic charcoal grey backgrounds and blue buttons (known as "gray slop"). This tool acts as an translator, allowing you to feed your brand colors directly into AIs with fully optimized light and dark mode configurations.
⚡ How do I use the generated Tailwind or CSS output?
Depending on your stack:
- v0.dev / Shadcn UI: Go to the Theme Code Blocks tab, select v0.dev, copy the CSS block, and paste it into your
app/globals.cssstylesheet. - Claude Artifacts: Select the AI Prompt Instructions tab, copy the Claude template, and paste it into your conversation to feed Claude the layout colors.
- Cursor: Paste the generated instructions into your project's
.cursorrulesfile to enforce your branding guidelines globally.
👁️ What is the "Normalize Text Color" logic?
Sometimes, design systems generate palettes where the fourth slot (text color) is too bright or matches the background luminance, resulting in invisible or eye-straining typography. Clicking Normalize Text calculates your background's relative luminance and automatically resets the text to a WCAG-compliant off-black (on light canvasses) or off-white (on dark canvasses) to guarantee readability.
🌌 What are "Brand-Tinted Midnight" dark themes?
Rather than using plain charcoal gray for dark mode, premium layouts tint their dark background canvas using a low-saturation, low-lightness version of the primary brand color (e.g. 5% saturation). This creates a custom-molded, highly cohesive feel that reflects your brand even in dark mode.
What it generates, and what it does not
What it does
Takes four palette colours and writes a ready-to-paste instruction block for one specific AI builder — v0.dev (Shadcn HSL variables), Claude Artifacts (Tailwind hex tokens), Cursor (.cursorrules token table), Bolt.new (tailwind.config snippet) or Figma (variable mapping) — together with dark-mode values derived from your primary. It does not call an AI model, and it does not design anything: it produces the text you paste into a tool that does.
When you would use it
You are prompting an AI builder and want the output to use your palette instead of default slate and zinc. It is also useful as a token generator: the same four colours become role-named light and dark values you can hand to a developer without an AI in the loop.
How to use it
- Set the four slots: background, primary, surface, text. The defaults are #FFFFFF, #635BFF, #F8FAFC and #0F172A, or press Randomize.
- If slot 4 looks too bright against the canvas, press Normalize Text — it reads the background luminance and resets the text to a compliant off-black or off-white.
- Choose the target builder and a mockup vibe. The prompt text changes per builder; the mockup preview does not affect the output.
- Adjust the dark-mode controls — base style, accent desaturation and lightness boost — then copy the prompt.
Worked example — the default palette, as a v0 instruction
With the default slots and the v0.dev target, the light-theme block of the generated prompt contains, among others, these lines. Two details are worth noticing: #635BFF converts to the Shadcn channel form 243 100% 68%, and the primary-foreground is set to dark ink rather than white, because the luminance test (0.2126 R + 0.7152 G + 0.0722 B, threshold 0.35) puts that indigo above the threshold. On the dark side, the brand-tinted base derives its canvas from the primary hue — hsl(243, 15%, 6%), which is #0D0D12, not black — and the accent keeps its hue while losing 15 points of saturation and gaining 5 of lightness.
Light Theme variables:
- --background: 0 0% 100%
- --foreground: 222 47% 11%
- --card: 210 40% 98%
- --primary: 243 100% 68%
- --primary-foreground: 240 5.9% 10%
- --border: 214 32% 91% How the calculation works
Hex values are converted to HSL by the standard max/min formula and rounded to whole degrees and percentages, because Shadcn variables take channel form (243 100% 68%) rather than hex. Dark values are computed, not hand-picked: the brand-tinted base sets canvas, surface, border and text from the primary hue at 15%, 12%, 10% and 15% saturation with lightness 6%, 11%, 18% and 96%. The accent and secondary keep their hue, have the desaturation value subtracted from saturation and the boost added to lightness, clamped to 10–100% and 30–85%. Four fixed bases — midnight blue, obsidian, charcoal and neutral — are also offered when you do not want the brand tint.
Limitations
- No AI is called and nothing is generated by a model. The output is a formatted string built in your browser; the “AI” is whichever tool you paste it into.
- Your palette never leaves the page — there is no network request in this tool. The only data stored is what you copy out.
- It produces prompt text and token values, not components, CSS files or a working theme. You still apply them.
- The primary-foreground choice uses a luminance threshold, not a contrast ratio, so it can pick a foreground that fails 4.5:1 on a mid-tone primary.
- Dark derivation is rule-based and applied to two colours only (primary and secondary). It does not audit the dark palette for contrast.
- The mockup previews are illustrative layouts, not exports, and the four vibe options do not change the generated tokens.