Daily is a shadcn/ui theme built around a vivid deep yellow primary color (#363307) with vivid deep green accents (#223607). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the vivid deep yellow primary (#363307) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #0a0a05black |
| Foreground | #100f05black | #ffffffwhite |
| Card | #fbfbf8snow | #0a0a05black |
| Card foreground | #100f05black | #ffffffwhite |
| Popover | #fbfbf8snow | #0a0a05black |
| Popover foreground | #100f05black | #ffffffwhite |
| Primary | #363307darkgreen | #363307darkgreen |
| Primary foreground | #e4d725gold | #e4d725gold |
| Secondary | #361b07black | #361b07black |
| Secondary foreground | #efb080burlywood | #efb080burlywood |
| Muted | #efe7e1linen | #1e1610black |
| Muted foreground | #534c46darkslategray | #b9b2acdarkgray |
| Accent | #223607darkgreen | #223607darkgreen |
| Accent foreground | #91e425yellowgreen | #91e425yellowgreen |
| Destructive | #9d2802saddlebrown | #fd6330tomato |
| Destructive foreground | #ffddd2blanchedalmond | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #363307darkgreen | #363307darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.59:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 8.55:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 8.55:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 7.00:1 | AAA |
Paste this into your globals.css to use Daily in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 103.173);
--foreground: oklch(0.165 0.021 105.243);
--muted: oklch(0.933 0.012 60.112);
--muted-foreground: oklch(0.42 0.013 59.866);
--popover: oklch(0.988 0.004 103.173);
--popover-foreground: oklch(0.165 0.021 105.243);
--card: oklch(0.988 0.004 103.173);
--card-foreground: oklch(0.165 0.021 105.243);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.316 0.061 105.216);
--primary-foreground: oklch(0.864 0.176 104.997);
--secondary: oklch(0.257 0.053 55.06);
--secondary-foreground: oklch(0.806 0.097 58.231);
--accent: oklch(0.306 0.075 130.533);
--accent-foreground: oklch(0.834 0.22 131.653);
--destructive: oklch(0.46 0.158 35.655);
--destructive-foreground: oklch(0.922 0.041 39.301);
--ring: oklch(0.316 0.061 105.216);
--chart-1: oklch(0.316 0.061 105.216);
--chart-2: oklch(0.257 0.053 55.06);
--chart-3: oklch(0.306 0.075 130.533);
--chart-4: oklch(0.294 0.063 54.084);
--chart-5: oklch(0.319 0.063 105.21);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.012 104.988);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.017 59.056);
--muted-foreground: oklch(0.767 0.011 60.088);
--popover: oklch(0.143 0.012 104.988);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.012 104.988);
--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.316 0.061 105.216);
--primary-foreground: oklch(0.864 0.176 104.997);
--secondary: oklch(0.257 0.053 55.06);
--secondary-foreground: oklch(0.806 0.097 58.231);
--accent: oklch(0.306 0.075 130.533);
--accent-foreground: oklch(0.834 0.22 131.653);
--destructive: oklch(0.691 0.198 37.871);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.316 0.061 105.216);
--chart-1: oklch(0.316 0.061 105.216);
--chart-2: oklch(0.257 0.053 55.06);
--chart-3: oklch(0.306 0.075 130.533);
--chart-4: oklch(0.294 0.063 54.084);
--chart-5: oklch(0.319 0.063 105.21);
}