Timbale is a shadcn/ui theme built around a neutral gray primary color (#adaeae) with neutral gray accents (#aeadad). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the neutral gray primary (#adaeae) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010304black |
| Foreground | #04090cblack | #f7f8f8whitesmoke |
| Card | #f7fbfdghostwhite | #020608black |
| Card foreground | #020608black | #f9fafaghostwhite |
| Popover | #fbfdfewhite | #010304black |
| Popover foreground | #04090cblack | #f7f8f8whitesmoke |
| Primary | #adaeaedarkgray | #adaeaedarkgray |
| Primary foreground | #141415black | #141415black |
| Secondary | #aeadaddarkgray | #aeadaddarkgray |
| Secondary foreground | #151414black | #151414black |
| Muted | #dfdad8gainsboro | #272320black |
| Muted foreground | #666360dimgray | #9f9b99darkgray |
| Accent | #aeadaddarkgray | #aeadaddarkgray |
| Accent foreground | #151414black | #151414black |
| Destructive | #d54f07chocolate | #f85f0dorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #adaeaedarkgray | #adaeaedarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 8.24:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 4.31:1 | AA Large |
| Accent | 8.22:1 | AAA |
| Destructive | 4.25:1 | AA Large |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.24:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 6.60:1 | AA |
Paste this into your globals.css to use Timbale in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 232.616);
--foreground: oklch(0.133 0.013 226.886);
--muted: oklch(0.892 0.006 52.496);
--muted-foreground: oklch(0.501 0.006 52.421);
--popover: oklch(0.992 0.003 232.616);
--popover-foreground: oklch(0.133 0.013 226.886);
--card: oklch(0.985 0.005 232.654);
--card-foreground: oklch(0.116 0.011 226.227);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.749 0.001 232.607);
--primary-foreground: oklch(0.193 0.001 232.617);
--secondary: oklch(0.749 0.001 52.553);
--secondary-foreground: oklch(0.193 0.001 52.544);
--accent: oklch(0.749 0.001 52.553);
--accent-foreground: oklch(0.193 0.001 52.544);
--destructive: oklch(0.601 0.182 41.189);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.001 232.607);
--chart-1: oklch(0.749 0.001 232.607);
--chart-2: oklch(0.749 0.001 52.553);
--chart-3: oklch(0.749 0.001 52.553);
--chart-4: oklch(0.773 0.001 52.557);
--chart-5: oklch(0.749 0.006 232.689);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.009 226.44);
--foreground: oklch(0.977 0.001 232.598);
--muted: oklch(0.259 0.008 52.199);
--muted-foreground: oklch(0.691 0.005 52.473);
--popover: oklch(0.092 0.009 226.44);
--popover-foreground: oklch(0.977 0.001 232.598);
--card: oklch(0.116 0.011 226.44);
--card-foreground: oklch(0.985 0.001 232.592);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.749 0.001 232.607);
--primary-foreground: oklch(0.193 0.001 232.617);
--secondary: oklch(0.749 0.001 52.553);
--secondary-foreground: oklch(0.193 0.001 52.544);
--accent: oklch(0.749 0.001 52.553);
--accent-foreground: oklch(0.193 0.001 52.544);
--destructive: oklch(0.676 0.202 41.548);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.749 0.001 232.607);
--chart-1: oklch(0.749 0.001 232.607);
--chart-2: oklch(0.749 0.001 52.553);
--chart-3: oklch(0.749 0.001 52.553);
--chart-4: oklch(0.773 0.001 52.557);
--chart-5: oklch(0.749 0.006 232.689);
}