Noted is a shadcn/ui theme built around a vivid light green primary color (#c4f8ce) with vivid light red accents (#f8cec4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#c4f8ce) on a green-tinted background (#050f07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050f07black |
| Foreground | #031707black | #ffffffwhite |
| Card | #ffffffwhite | #050f07black |
| Card foreground | #031707black | #ffffffwhite |
| Popover | #ffffffwhite | #050f07black |
| Popover foreground | #031707black | #ffffffwhite |
| Primary | #c4f8cepowderblue | #c4f8cepowderblue |
| Primary foreground | #042009black | #042009black |
| Secondary | #cec4f8thistle | #cec4f8thistle |
| Secondary foreground | #250f7bmidnightblue | #250f7bmidnightblue |
| Muted | #d9d7dfgainsboro | #212028black |
| Muted foreground | #4a455edarkslategray | #a6a1badarkgray |
| Accent | #f8cec4pink | #f8cec4pink |
| Accent foreground | #7b250fsaddlebrown | #7b250fsaddlebrown |
| Destructive | #841506maroon | #f54932tomato |
| Destructive foreground | #fcc7c0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c4f8cepowderblue | #c4f8cepowderblue |
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 | 14.50:1 | AAA |
| Secondary button | 8.98:1 | AAA |
| Muted text | 6.41:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 6.75:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 14.50:1 | AAA |
| Secondary button | 8.98:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Noted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.181 0.044 149.075);
--muted: oklch(0.884 0.011 295.354);
--muted-foreground: oklch(0.407 0.041 293.666);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.181 0.044 149.075);
--card: oklch(1 0 180);
--card-foreground: oklch(0.181 0.044 149.075);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.932 0.077 150.692);
--primary-foreground: oklch(0.214 0.054 147.811);
--secondary: oklch(0.846 0.072 293.972);
--secondary-foreground: oklch(0.297 0.163 278.97);
--accent: oklch(0.885 0.049 34.348);
--accent-foreground: oklch(0.394 0.123 34.775);
--destructive: oklch(0.395 0.147 31.072);
--destructive-foreground: oklch(0.874 0.062 27.075);
--ring: oklch(0.932 0.077 150.692);
--chart-1: oklch(0.932 0.077 150.692);
--chart-2: oklch(0.846 0.072 293.972);
--chart-3: oklch(0.885 0.049 34.348);
--chart-4: oklch(0.882 0.055 294.416);
--chart-5: oklch(0.933 0.08 150.641);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.024 150.635);
--foreground: oklch(1 0 180);
--muted: oklch(0.248 0.015 294.457);
--muted-foreground: oklch(0.722 0.035 294.664);
--popover: oklch(0.156 0.024 150.635);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.024 150.635);
--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.932 0.077 150.692);
--primary-foreground: oklch(0.214 0.054 147.811);
--secondary: oklch(0.846 0.072 293.972);
--secondary-foreground: oklch(0.297 0.163 278.97);
--accent: oklch(0.885 0.049 34.348);
--accent-foreground: oklch(0.394 0.123 34.775);
--destructive: oklch(0.65 0.212 30.863);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.932 0.077 150.692);
--chart-1: oklch(0.932 0.077 150.692);
--chart-2: oklch(0.846 0.072 293.972);
--chart-3: oklch(0.885 0.049 34.348);
--chart-4: oklch(0.882 0.055 294.416);
--chart-5: oklch(0.933 0.08 150.641);
}