Loading...
Loading...
> Professional theme creation tool with live preview, color science, and fine-tuning controls.
Create production-ready OKLCH themes with advanced color generation algorithms. Features live preview, color intensity controls, contrast adjustment, and instant export. All themes maintain WCAG AA accessibility standards.
Dark theme variant
Adjust color saturation and vibrancy
Fine-tune text contrast for accessibility
Adjust corner roundness (0 = sharp terminal style)
Control syntax highlighting color intensity
Preview how your theme looks on actual UI components
1/* Custom Theme Theme - Generated with Fabrk Theme Generator */2[data-theme='custom-theme'] {3 /* Base colors */4 --background: 5% 0.018854771784232366 239;5 --foreground: 85% 0.05892116182572615 239;67 /* Card */8 --card: 7% 0.018854771784232366 239;9 --card-foreground: 85% 0.05892116182572615 239;1011 /* Popover */12 --popover: 7% 0.018854771784232366 239;13 --popover-foreground: 85% 0.05892116182572615 239;1415 /* Primary */16 --primary: 35% 0.2356846473029046 239;17 --primary-foreground: 8% 0.03535269709543569 239;1819 /* Secondary */20 --secondary: 22% 0.09427385892116184 239;21 --secondary-foreground: 85% 0.05892116182572615 239;2223 /* Muted */24 --muted: 18% 0.03535269709543569 239;25 --muted-foreground: 55% 0.04242323651452282 239;2627 /* Accent */28 --accent: 22% 0.0824896265560166 239;29 --accent-foreground: 85% 0.05892116182572615 239;3031 /* Destructive */32 --destructive: 48% 0.22 12;33 --destructive-foreground: 8% 0.04 12;3435 /* Success */36 --success: 52% 0.18 145;37 --success-foreground: 8% 0.04 145;3839 /* Warning */40 --warning: 58% 0.18 75;41 --warning-foreground: 8% 0.04 75;4243 /* Border */44 --border: 23% 0.02828215767634855 239;45 --input: 23% 0.02828215767634855 239;46 --ring: 35% 0.2356846473029046 239;4748 /* Chart colors (derived from primary) */49 --chart-1: 35% 0.2356846473029046 239;50 --chart-2: 22% 0.09427385892116184 239;51 --chart-3: 22% 0.0824896265560166 239;52 --chart-4: 52% 0.18 145;53 --chart-5: 58% 0.18 75;5455 /* Code syntax highlighting (wrapped in oklch for Prism compatibility) */56 --code-fg: oklch(85% 0.02828215767634855 59);57 --code-bg: oklch(16% 0.0047136929460580915 239);58 --code-comment: oklch(58% 0.018854771784232366 59);59 --code-keyword: oklch(72% 0.03299585062240665 209);60 --code-string: oklch(68% 0.03299585062240665 299);61 --code-function: oklch(75% 0.03535269709543569 269);62 --code-variable: oklch(70% 0.025925311203319503 239);63 --code-number: oklch(74% 0.030639004149377598 329);64 --code-operator: oklch(78% 0.02356846473029046 179);65 --code-punctuation: oklch(72% 0.02356846473029046 254);66 --code-selector: oklch(82% 0.02828215767634855 239);6768 /* Radius */69 --radius: 0rem;70}
Add the generated CSS to your globals.css file:
1/* src/app/globals.css */2/* Custom Theme Theme - Generated with Fabrk Theme Generator */3[data-theme='custom-theme'] {4 /* Base colors */5 --background: 5% 0.018854771784232366 239;6 --foreground: 85% 0.05892116182572615 239;78 /* Card */9 --card: 7% 0.018854771784232366 239;10 --card-foreground: 85% 0.05892116182572615 239;1112 /* Popover */13 --popover: 7% 0.018854771784232366 239;14 --popover-foreground: 85% 0.05892116182572615 239;1516 /* Primary */17 --primary: 35% 0.2356846473029046 239;18 --primary-foreground: 8% 0.03535269709543569 239;1920 /* Secondary */21 --secondary: 22% 0.09427385892116184 239;22 --secondary-foreground: 85% 0.05892116182572615 239;2324 /* Muted */25 --muted: 18% 0.03535269709543569 239;26 --muted-foreground: 55% 0.04242323651452282 239;2728 /* Accent */29 --accent: 22% 0.0824896265560166 239;30 --accent-foreground: 85% 0.05892116182572615 239;3132 /* Destructive */33 --destructive: 48% 0.22 12;34 --destructive-foreground: 8% 0.04 12;3536 /* Success */37 --success: 52% 0.18 145;38 --success-foreground: 8% 0.04 145;3940 /* Warning */41 --warning: 58% 0.18 75;42 --warning-foreground: 8% 0.04 75;4344 /* Border */45 --border: 23% 0.02828215767634855 239;46 --input: 23% 0.02828215767634855 239;47 --ring: 35% 0.2356846473029046 239;4849 /* Chart colors (derived from primary) */50 --chart-1: 35% 0.2356846473029046 239;51 --chart-2: 22% 0.09427385892116184 239;52 --chart-3: 22% 0.0824896265560166 239;53 --chart-4: 52% 0.18 145;54 --chart-5: 58% 0.18 75;5556 /* Code syntax highlighting (wrapped in oklch for Prism compatibility) */57 --code-fg: oklch(85% 0.02828215767634855 59);58 --code-bg: oklch(16% 0.0047136929460580915 239);59 --code-comment: oklch(58% 0.018854771784232366 59);60 --code-keyword: oklch(72% 0.03299585062240665 209);61 --code-string: oklch(68% 0.03299585062240665 299);62 --code-function: oklch(75% 0.03535269709543569 269);63 --code-variable: oklch(70% 0.025925311203319503 239);64 --code-number: oklch(74% 0.030639004149377598 329);65 --code-operator: oklch(78% 0.02356846473029046 179);66 --code-punctuation: oklch(72% 0.02356846473029046 254);67 --code-selector: oklch(82% 0.02828215767634855 239);6869 /* Radius */70 --radius: 0rem;71}