Timbale is a shadcn/ui theme built around a vivid violet primary color (#a07bef) with neutral gray accents (#e0dfe2). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid violet primary (#a07bef) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #0a0515black | #faf9fbghostwhite |
| Card | #f9f7fcghostwhite | #030303black |
| Card foreground | #080410black | #fcfcfdwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #0a0515black | #faf9fbghostwhite |
| Primary | #a07befmediumpurple | #a07befmediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #e0dfe2gainsboro | #2f293ddarkslategray |
| Secondary foreground | #46434cdarkslategray | #c8c2d6thistle |
| Muted | #ddd8e9gainsboro | #1b1627black |
| Muted foreground | #474153darkslategray | #b2acbedarkgray |
| Accent | #e0dfe2gainsboro | #2f293ddarkslategray |
| Accent foreground | #46434cdarkslategray | #c8c2d6thistle |
| Destructive | #b11010firebrick | #e01515crimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a07befmediumpurple | #a07befmediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 7.27:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 20.00:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.89:1 | AA |
Paste this into your globals.css to use Timbale in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 300.71);
--foreground: oklch(0.134 0.036 297.993);
--muted: oklch(0.891 0.024 300.325);
--muted-foreground: oklch(0.388 0.03 299.462);
--popover: oklch(0.99 0.003 300.71);
--popover-foreground: oklch(0.134 0.036 297.993);
--card: oklch(0.98 0.007 300.651);
--card-foreground: oklch(0.124 0.031 299.633);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.67 0.168 296.185);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.904 0.005 300.675);
--secondary-foreground: oklch(0.389 0.015 300.144);
--accent: oklch(0.904 0.005 300.675);
--accent-foreground: oklch(0.389 0.015 300.144);
--destructive: oklch(0.484 0.19 28.301);
--destructive-foreground: oklch(0.979 0.009 17.312);
--ring: oklch(0.67 0.168 296.185);
--chart-1: oklch(0.67 0.168 296.185);
--chart-2: oklch(0.904 0.005 300.675);
--chart-3: oklch(0.904 0.005 300.675);
--chart-4: oklch(0.928 0.004 300.7);
--chart-5: oklch(0.666 0.174 295.954);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 300.74);
--muted: oklch(0.216 0.034 298.075);
--muted-foreground: oklch(0.755 0.026 300.204);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.002 300.74);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 300.754);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.67 0.168 296.185);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.298 0.035 298.757);
--secondary-foreground: oklch(0.826 0.028 300.217);
--accent: oklch(0.298 0.035 298.757);
--accent-foreground: oklch(0.826 0.028 300.217);
--destructive: oklch(0.575 0.228 28.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.67 0.168 296.185);
--chart-1: oklch(0.67 0.168 296.185);
--chart-2: oklch(0.298 0.035 298.757);
--chart-3: oklch(0.298 0.035 298.757);
--chart-4: oklch(0.325 0.04 298.691);
--chart-5: oklch(0.666 0.174 295.954);
}