Bran is a shadcn/ui theme built around a muted light green primary color (#b8d5c3) with muted light pink accents (#d5b8ca). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#b8d5c3) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030705black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #030705black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #030705black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #b8d5c3silver | #b8d5c3silver |
| Primary foreground | #223a2bdarkslategray | #223a2bdarkslategray |
| Secondary | #d5b8cathistle | #d5b8cathistle |
| Secondary foreground | #3a2231darkslategray | #3a2231darkslategray |
| Muted | #eee2e9linen | #1d1118black |
| Muted foreground | #493642darkslategray | #c9b6c1silver |
| Accent | #d5b8cathistle | #d5b8cathistle |
| Accent foreground | #3a2231darkslategray | #3a2231darkslategray |
| Destructive | #8a3105saddlebrown | #ec5409orangered |
| Destructive foreground | #fdd7c4peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b8d5c3silver | #b8d5c3silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 9.55:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Bran in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.017 339.867);
--muted-foreground: oklch(0.359 0.033 341.393);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.848 0.04 158.379);
--primary-foreground: oklch(0.323 0.04 156.295);
--secondary: oklch(0.814 0.041 340.547);
--secondary-foreground: oklch(0.288 0.043 342.562);
--accent: oklch(0.814 0.041 340.547);
--accent-foreground: oklch(0.288 0.043 342.562);
--destructive: oklch(0.437 0.13 41.29);
--destructive-foreground: oklch(0.906 0.05 48.15);
--ring: oklch(0.848 0.04 158.379);
--chart-1: oklch(0.848 0.04 158.379);
--chart-2: oklch(0.814 0.041 340.547);
--chart-3: oklch(0.814 0.041 340.547);
--chart-4: oklch(0.84 0.035 340.369);
--chart-5: oklch(0.85 0.044 158.253);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.012 159.351);
--foreground: oklch(1 0 180);
--muted: oklch(0.197 0.025 342.08);
--muted-foreground: oklch(0.795 0.027 340.203);
--popover: oklch(0.121 0.012 159.351);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.012 159.351);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.848 0.04 158.379);
--primary-foreground: oklch(0.323 0.04 156.295);
--secondary: oklch(0.814 0.041 340.547);
--secondary-foreground: oklch(0.288 0.043 342.562);
--accent: oklch(0.814 0.041 340.547);
--accent-foreground: oklch(0.288 0.043 342.562);
--destructive: oklch(0.645 0.2 40.011);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.04 158.379);
--chart-1: oklch(0.848 0.04 158.379);
--chart-2: oklch(0.814 0.041 340.547);
--chart-3: oklch(0.814 0.041 340.547);
--chart-4: oklch(0.84 0.035 340.369);
--chart-5: oklch(0.85 0.044 158.253);
}