Delicious is a shadcn/ui theme built around a green primary color (#bac379) with green accents (#96c379). The light mode uses a neutral background (#fefefb). Dark mode keeps the green primary (#bac379) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #030302black |
| Foreground | #040401black | #fdfdfcwhite |
| Card | #fcfdf7snow | #060703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefefbwhite | #030302black |
| Popover foreground | #040401black | #fdfdfcwhite |
| Primary | #bac379darkkhaki | #bac379darkkhaki |
| Primary foreground | #070703black | #070703black |
| Secondary | #c3a779darkkhaki | #c3a779darkkhaki |
| Secondary foreground | #070603black | #070603black |
| Muted | #ebe5dbantiquewhite | #241e14black |
| Muted foreground | #51504ddarkslategray | #b2b1aedarkgray |
| Accent | #96c379darkseagreen | #96c379darkseagreen |
| Accent foreground | #050703black | #050703black |
| Destructive | #921e07darkred | #f54f2etomato |
| Destructive foreground | #fdd6cebisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bac379darkkhaki | #bac379darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 10.73:1 | AAA |
| Secondary button | 8.78:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 9.98:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 10.73:1 | AAA |
| Secondary button | 8.78:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 9.98:1 | AAA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Delicious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 111.858);
--foreground: oklch(0.103 0.015 113.006);
--muted: oklch(0.923 0.015 79.9);
--muted-foreground: oklch(0.431 0.005 79.909);
--popover: oklch(0.996 0.004 111.858);
--popover-foreground: oklch(0.103 0.015 113.006);
--card: oklch(0.992 0.008 111.937);
--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.793 0.097 114.058);
--primary-foreground: oklch(0.126 0.012 112.663);
--secondary: oklch(0.741 0.069 79.213);
--secondary-foreground: oklch(0.12 0.009 84.564);
--accent: oklch(0.767 0.111 134.152);
--accent-foreground: oklch(0.123 0.014 131.951);
--destructive: oklch(0.431 0.155 32.602);
--destructive-foreground: oklch(0.907 0.045 31.22);
--ring: oklch(0.793 0.097 114.058);
--chart-1: oklch(0.793 0.097 114.058);
--chart-2: oklch(0.741 0.069 79.213);
--chart-3: oklch(0.767 0.111 134.152);
--chart-4: oklch(0.762 0.064 79.368);
--chart-5: oklch(0.801 0.103 114.199);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.008 112.543);
--foreground: oklch(0.993 0.001 111.797);
--muted: oklch(0.238 0.02 79.379);
--muted-foreground: oklch(0.759 0.005 79.923);
--popover: oklch(0.099 0.008 112.543);
--popover-foreground: oklch(0.993 0.001 111.797);
--card: oklch(0.124 0.011 112.543);
--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.793 0.097 114.058);
--primary-foreground: oklch(0.126 0.012 112.663);
--secondary: oklch(0.741 0.069 79.213);
--secondary-foreground: oklch(0.12 0.009 84.564);
--accent: oklch(0.767 0.111 134.152);
--accent-foreground: oklch(0.123 0.014 131.951);
--destructive: oklch(0.655 0.208 33.17);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.793 0.097 114.058);
--chart-1: oklch(0.793 0.097 114.058);
--chart-2: oklch(0.741 0.069 79.213);
--chart-3: oklch(0.767 0.111 134.152);
--chart-4: oklch(0.762 0.064 79.368);
--chart-5: oklch(0.801 0.103 114.199);
}