Noted is a shadcn/ui theme built around a light teal primary color (#b9e9e5) with light yellow accents (#e9e5b9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#b9e9e5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040c0bblack | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #040c0bblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #040c0bblack | #ffffffwhite |
| Primary | #b9e9e5powderblue | #b9e9e5powderblue |
| Primary foreground | #1a5651darkslategray | #1a5651darkslategray |
| Secondary | #e5b9e9thistle | #e5b9e9thistle |
| Secondary foreground | #511a56indigo | #511a56indigo |
| Muted | #e0d5e1gainsboro | #291e2adarkslategray |
| Muted foreground | #656165dimgray | #9d9a9edarkgray |
| Accent | #e9e5b9wheat | #e9e5b9wheat |
| Accent foreground | #56511adarkolivegreen | #56511adarkolivegreen |
| Destructive | #ac0202darkred | #fd0d0dred |
| Destructive foreground | #ffe1e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9e9e5powderblue | #b9e9e5powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 4.29:1 | AA Large |
| Accent | 6.34:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 6.34:1 | AA |
| Destructive | 4.02: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.143 0.015 190.07);
--muted: oklch(0.886 0.02 323.24);
--muted-foreground: oklch(0.499 0.008 323.205);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.015 190.07);
--card: oklch(1 0 180);
--card-foreground: oklch(0.143 0.015 190.07);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.9 0.05 190.003);
--primary-foreground: oklch(0.413 0.061 187.283);
--secondary: oklch(0.84 0.082 323.566);
--secondary-foreground: oklch(0.331 0.115 324.305);
--accent: oklch(0.915 0.058 103.175);
--accent-foreground: oklch(0.427 0.074 104.12);
--destructive: oklch(0.467 0.191 29.129);
--destructive-foreground: oklch(0.933 0.033 17.761);
--ring: oklch(0.9 0.05 190.003);
--chart-1: oklch(0.9 0.05 190.003);
--chart-2: oklch(0.84 0.082 323.566);
--chart-3: oklch(0.915 0.058 103.175);
--chart-4: oklch(0.866 0.068 323.485);
--chart-5: oklch(0.903 0.053 189.939);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.252 0.028 323.614);
--muted-foreground: oklch(0.689 0.007 323.182);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.9 0.05 190.003);
--primary-foreground: oklch(0.413 0.061 187.283);
--secondary: oklch(0.84 0.082 323.566);
--secondary-foreground: oklch(0.331 0.115 324.305);
--accent: oklch(0.915 0.058 103.175);
--accent-foreground: oklch(0.427 0.074 104.12);
--destructive: oklch(0.626 0.253 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.05 190.003);
--chart-1: oklch(0.9 0.05 190.003);
--chart-2: oklch(0.84 0.082 323.566);
--chart-3: oklch(0.915 0.058 103.175);
--chart-4: oklch(0.866 0.068 323.485);
--chart-5: oklch(0.903 0.053 189.939);
}