Noted is a shadcn/ui theme built around a light blue primary color (#c3d6f4) with light indigo accents (#c8c3f4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#c3d6f4) on a blue-tinted background (#03070c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03070cblack |
| Foreground | #030911black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #040910black |
| Card foreground | #03070dblack | #ffffffwhite |
| Popover | #fcfcfcsnow | #040910black |
| Popover foreground | #03070dblack | #ffffffwhite |
| Primary | #c3d6f4powderblue | #c3d6f4powderblue |
| Primary foreground | #15396fmidnightblue | #15396fmidnightblue |
| Secondary | #c3eff4paleturquoise | #c3eff4paleturquoise |
| Secondary foreground | #05181ablack | #05181ablack |
| Muted | #dcdfe0gainsboro | #1f2323black |
| Muted foreground | #455759darkslategray | #a6b8badarkgray |
| Accent | #c8c3f4thistle | #c8c3f4thistle |
| Accent foreground | #1e156fmidnightblue | #1e156fmidnightblue |
| Destructive | #bd0600firebrick | #f00800red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3d6f4powderblue | #c3d6f4powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 14.70:1 | AAA |
| Muted text | 5.69:1 | AA |
| Accent | 9.02:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 14.70:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 9.02:1 | AAA |
| Destructive | 4.44: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.136 0.022 251.662);
--muted: oklch(0.902 0.004 204.956);
--muted-foreground: oklch(0.443 0.023 204.707);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.123 0.018 249.05);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.123 0.018 249.05);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.872 0.046 258.372);
--primary-foreground: oklch(0.352 0.102 258.634);
--secondary: oklch(0.922 0.045 204.714);
--secondary-foreground: oklch(0.192 0.026 204.726);
--accent: oklch(0.837 0.068 289.436);
--accent-foreground: oklch(0.286 0.145 276.41);
--destructive: oklch(0.502 0.204 29.612);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.872 0.046 258.372);
--chart-1: oklch(0.872 0.046 258.372);
--chart-2: oklch(0.922 0.045 204.714);
--chart-3: oklch(0.837 0.068 289.436);
--chart-4: oklch(0.938 0.036 204.753);
--chart-5: oklch(0.871 0.048 258.372);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.016 250.163);
--foreground: oklch(0.992 0.001 258.314);
--muted: oklch(0.252 0.005 204.842);
--muted-foreground: oklch(0.77 0.021 204.809);
--popover: oklch(0.137 0.019 252.684);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.019 252.684);
--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.872 0.046 258.372);
--primary-foreground: oklch(0.352 0.102 258.634);
--secondary: oklch(0.922 0.045 204.714);
--secondary-foreground: oklch(0.192 0.026 204.726);
--accent: oklch(0.837 0.068 289.436);
--accent-foreground: oklch(0.286 0.145 276.41);
--destructive: oklch(0.601 0.244 29.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.872 0.046 258.372);
--chart-1: oklch(0.872 0.046 258.372);
--chart-2: oklch(0.922 0.045 204.714);
--chart-3: oklch(0.837 0.068 289.436);
--chart-4: oklch(0.938 0.036 204.753);
--chart-5: oklch(0.871 0.048 258.372);
}