Noon is a shadcn/ui theme built around a muted green primary color (#a5c5a5) with muted purple accents (#c5a5c5). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the muted green primary (#a5c5a5) on a green-tinted background (#050b05).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf7mintcream | #050b05black |
| Foreground | #031703black | #ffffffwhite |
| Card | #f7fdf7mintcream | #050b05black |
| Card foreground | #031703black | #ffffffwhite |
| Popover | #f7fdf7mintcream | #050b05black |
| Popover foreground | #031703black | #ffffffwhite |
| Primary | #a5c5a5darkgray | #a5c5a5darkgray |
| Primary foreground | #162216black | #162216black |
| Secondary | #c5a5c5silver | #c5a5c5silver |
| Secondary foreground | #221622black | #221622black |
| Muted | #f1eff1whitesmoke | #100e10black |
| Muted foreground | #5e555edimgray | #aaa1aadarkgray |
| Accent | #c5a5c5silver | #c5a5c5silver |
| Accent foreground | #221622black | #221622black |
| Destructive | #a8370bfirebrick | #f3723ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a5c5a5darkgray | #a5c5a5darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.04:1 | AAA |
| Text on card | 18.04:1 | AAA |
| Primary button | 8.75:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.23:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 8.75:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 7.28:1 | AAA |
Paste this into your globals.css to use Noon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.011 145.025);
--foreground: oklch(0.18 0.051 142.664);
--muted: oklch(0.953 0.003 325.123);
--muted-foreground: oklch(0.46 0.018 325.369);
--popover: oklch(0.988 0.011 145.025);
--popover-foreground: oklch(0.18 0.051 142.664);
--card: oklch(0.988 0.011 145.025);
--card-foreground: oklch(0.18 0.051 142.664);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.792 0.057 144.58);
--primary-foreground: oklch(0.237 0.029 144.2);
--secondary: oklch(0.76 0.058 325.613);
--secondary-foreground: oklch(0.221 0.03 325.978);
--accent: oklch(0.76 0.058 325.613);
--accent-foreground: oklch(0.221 0.03 325.978);
--destructive: oklch(0.497 0.156 38.206);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.792 0.057 144.58);
--chart-1: oklch(0.792 0.057 144.58);
--chart-2: oklch(0.76 0.058 325.613);
--chart-3: oklch(0.76 0.058 325.613);
--chart-4: oklch(0.785 0.052 325.544);
--chart-5: oklch(0.795 0.065 144.511);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.02 143.924);
--foreground: oklch(1 0 180);
--muted: oklch(0.169 0.005 325.295);
--muted-foreground: oklch(0.72 0.016 325.255);
--popover: oklch(0.138 0.02 143.924);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.02 143.924);
--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.792 0.057 144.58);
--primary-foreground: oklch(0.237 0.029 144.2);
--secondary: oklch(0.76 0.058 325.613);
--secondary-foreground: oklch(0.221 0.03 325.978);
--accent: oklch(0.76 0.058 325.613);
--accent-foreground: oklch(0.221 0.03 325.978);
--destructive: oklch(0.697 0.171 40.999);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.792 0.057 144.58);
--chart-1: oklch(0.792 0.057 144.58);
--chart-2: oklch(0.76 0.058 325.613);
--chart-3: oklch(0.76 0.058 325.613);
--chart-4: oklch(0.785 0.052 325.544);
--chart-5: oklch(0.795 0.065 144.511);
}