Release is a shadcn/ui theme built around a muted deep yellow primary color (#0c0b08) with muted deep purple accents (#0b080c). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted deep yellow primary (#0c0b08) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #040401black | #faf9f4whitesmoke |
| Card | #fdfcf7snow | #030303black |
| Card foreground | #000000black | #fcfbf8snow |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #040401black | #faf9f4whitesmoke |
| Primary | #0c0b08black | #0c0b08black |
| Primary foreground | #b4ad93darkgray | #b4ad93darkgray |
| Secondary | #080c0bblack | #080c0bblack |
| Secondary foreground | #93b4addarkgray | #93b4addarkgray |
| Muted | #ecf4f2whitesmoke | #0b1312black |
| Muted foreground | #464e4cdarkslategray | #b1b9b7silver |
| Accent | #0b080cblack | #0b080cblack |
| Accent foreground | #ad93b4darkgray | #ad93b4darkgray |
| Destructive | #971107darkred | #f64437tomato |
| Destructive foreground | #fdd6d3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c0b08black | #0c0b08black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 8.74:1 | AAA |
| Secondary button | 8.77:1 | AAA |
| Muted text | 7.63:1 | AAA |
| Accent | 7.20:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 8.74:1 | AAA |
| Secondary button | 8.77:1 | AAA |
| Muted text | 9.38:1 | AAA |
| Accent | 7.20:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Release in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 93.898);
--foreground: oklch(0.102 0.016 99.438);
--muted: oklch(0.96 0.009 181.813);
--muted-foreground: oklch(0.415 0.01 181.392);
--popover: oklch(0.995 0.003 93.898);
--popover-foreground: oklch(0.102 0.016 99.438);
--card: oklch(0.989 0.006 93.931);
--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.15 0.006 94.622);
--primary-foreground: oklch(0.745 0.037 94.316);
--secondary: oklch(0.15 0.006 181.171);
--secondary-foreground: oklch(0.742 0.037 180.594);
--accent: oklch(0.142 0.009 319.042);
--accent-foreground: oklch(0.696 0.056 318.859);
--destructive: oklch(0.432 0.167 29.775);
--destructive-foreground: oklch(0.908 0.044 22.817);
--ring: oklch(0.15 0.006 94.622);
--chart-1: oklch(0.15 0.006 94.622);
--chart-2: oklch(0.15 0.006 181.171);
--chart-3: oklch(0.142 0.009 319.042);
--chart-4: oklch(0.189 0.01 180.478);
--chart-5: oklch(0.151 0.007 94.757);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.006 93.933);
--muted: oklch(0.179 0.013 179.948);
--muted-foreground: oklch(0.779 0.009 181.76);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.006 93.933);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.988 0.004 93.91);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.15 0.006 94.622);
--primary-foreground: oklch(0.745 0.037 94.316);
--secondary: oklch(0.15 0.006 181.171);
--secondary-foreground: oklch(0.742 0.037 180.594);
--accent: oklch(0.142 0.009 319.042);
--accent-foreground: oklch(0.696 0.056 318.859);
--destructive: oklch(0.646 0.216 28.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.15 0.006 94.622);
--chart-1: oklch(0.15 0.006 94.622);
--chart-2: oklch(0.15 0.006 181.171);
--chart-3: oklch(0.142 0.009 319.042);
--chart-4: oklch(0.189 0.01 180.478);
--chart-5: oklch(0.151 0.007 94.757);
}