Alive is a shadcn/ui theme built around a muted orange primary color (#bca88a) with muted blue accents (#8a9ebc). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted orange primary (#bca88a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #140e05black | #fdfdfcwhite |
| Card | #fefdfbsnow | #000000black |
| Card foreground | #140e05black | #fdfdfcwhite |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #140e05black | #fdfdfcwhite |
| Primary | #bca88atan | #bca88atan |
| Primary foreground | #0d0b07black | #0d0b07black |
| Secondary | #8a9ebcdarkgray | #8a9ebcdarkgray |
| Secondary foreground | #070a0dblack | #070a0dblack |
| Muted | #d5dae2gainsboro | #1d222adarkslategray |
| Muted foreground | #3b434fdarkslategray | #b0b8c4silver |
| Accent | #8a9ebcdarkgray | #8a9ebcdarkgray |
| Accent foreground | #070a0dblack | #070a0dblack |
| Destructive | #cb4810chocolate | #ee692ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bca88atan | #bca88atan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 8.53:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 7.29:1 | AAA |
| Destructive | 4.68:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 8.53:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 7.95:1 | AAA |
| Accent | 7.29:1 | AAA |
| Destructive | 6.68:1 | AA |
Paste this into your globals.css to use Alive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 78.304);
--foreground: oklch(0.17 0.022 79.201);
--muted: oklch(0.887 0.012 258.344);
--muted-foreground: oklch(0.379 0.024 258.369);
--popover: oklch(0.994 0.003 78.304);
--popover-foreground: oklch(0.17 0.022 79.201);
--card: oklch(0.994 0.003 78.304);
--card-foreground: oklch(0.17 0.022 79.201);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.741 0.047 77.903);
--primary-foreground: oklch(0.15 0.008 79.571);
--secondary: oklch(0.695 0.049 258.364);
--secondary-foreground: oklch(0.142 0.008 256.2);
--accent: oklch(0.695 0.049 258.364);
--accent-foreground: oklch(0.142 0.008 256.2);
--destructive: oklch(0.577 0.176 39.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.741 0.047 77.903);
--chart-1: oklch(0.741 0.047 77.903);
--chart-2: oklch(0.695 0.049 258.364);
--chart-3: oklch(0.695 0.049 258.364);
--chart-4: oklch(0.721 0.045 258.369);
--chart-5: oklch(0.745 0.052 77.826);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 78.308);
--muted: oklch(0.252 0.016 258.367);
--muted-foreground: oklch(0.78 0.02 258.361);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 78.308);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 78.308);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.741 0.047 77.903);
--primary-foreground: oklch(0.15 0.008 79.571);
--secondary: oklch(0.695 0.049 258.364);
--secondary-foreground: oklch(0.142 0.008 256.2);
--accent: oklch(0.695 0.049 258.364);
--accent-foreground: oklch(0.142 0.008 256.2);
--destructive: oklch(0.676 0.179 41.509);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.741 0.047 77.903);
--chart-1: oklch(0.741 0.047 77.903);
--chart-2: oklch(0.695 0.049 258.364);
--chart-3: oklch(0.695 0.049 258.364);
--chart-4: oklch(0.721 0.045 258.369);
--chart-5: oklch(0.745 0.052 77.826);
}