1 is a shadcn/ui theme built around a vivid light teal primary color (#8df7f7) with muted light teal accents (#c7d6d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#8df7f7) on a neutral background (#020808).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020808black |
| Foreground | #020909black | #fbfdfdwhite |
| Card | #ffffffwhite | #020808black |
| Card foreground | #020909black | #fbfdfdwhite |
| Popover | #ffffffwhite | #020808black |
| Popover foreground | #020909black | #fbfdfdwhite |
| Primary | #8df7f7paleturquoise | #8df7f7paleturquoise |
| Primary foreground | #054c4cdarkslategray | #054c4cdarkslategray |
| Secondary | #c7d6d6lightgrey | #101818black |
| Secondary foreground | #2d3e3edarkslategray | #9dbebedarkgray |
| Muted | #d9e8e8gainsboro | #172626black |
| Muted foreground | #4d5151darkslategray | #aeb2b2darkgray |
| Accent | #c7d6d6lightgrey | #101818black |
| Accent foreground | #2d3e3edarkslategray | #9dbebedarkgray |
| Destructive | #8d3302saddlebrown | #fb6413orangered |
| Destructive foreground | #fed7c3peachpuff | #000000black |
| Border | #edeeeewhitesmoke | #1b1d1dblack |
| Input | #edeeeewhitesmoke | #1b1d1dblack |
| Ring | #8df7f7paleturquoise | #8df7f7paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.08:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 9.00:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 9.00:1 | AAA |
| Destructive | 6.95:1 | AA |
Paste this into your globals.css to use 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.127 0.016 195.289);
--muted: oklch(0.92 0.016 196.874);
--muted-foreground: oklch(0.431 0.004 197.004);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.127 0.016 195.289);
--card: oklch(1 0 180);
--card-foreground: oklch(0.127 0.016 195.289);
--border: oklch(0.947 0.001 197.139);
--input: oklch(0.947 0.001 197.139);
--primary: oklch(0.912 0.099 195.556);
--primary-foreground: oklch(0.379 0.063 194.834);
--secondary: oklch(0.865 0.017 196.848);
--secondary-foreground: oklch(0.35 0.022 196.188);
--accent: oklch(0.865 0.017 196.848);
--accent-foreground: oklch(0.35 0.022 196.188);
--destructive: oklch(0.444 0.133 41.981);
--destructive-foreground: oklch(0.908 0.052 49.983);
--ring: oklch(0.912 0.099 195.556);
--chart-1: oklch(0.912 0.099 195.556);
--chart-2: oklch(0.865 0.017 196.848);
--chart-3: oklch(0.865 0.017 196.848);
--chart-4: oklch(0.887 0.014 196.903);
--chart-5: oklch(0.916 0.102 195.523);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.013 195.615);
--foreground: oklch(0.994 0.002 197.125);
--muted: oklch(0.256 0.021 195.935);
--muted-foreground: oklch(0.76 0.004 197.082);
--popover: oklch(0.125 0.013 195.615);
--popover-foreground: oklch(0.994 0.002 197.125);
--card: oklch(0.125 0.013 195.615);
--card-foreground: oklch(0.994 0.002 197.125);
--border: oklch(0.228 0.003 196.978);
--input: oklch(0.228 0.003 196.978);
--primary: oklch(0.912 0.099 195.556);
--primary-foreground: oklch(0.379 0.063 194.834);
--secondary: oklch(0.203 0.012 196.239);
--secondary-foreground: oklch(0.777 0.035 196.449);
--accent: oklch(0.203 0.012 196.239);
--accent-foreground: oklch(0.777 0.035 196.449);
--destructive: oklch(0.689 0.201 42.3);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.912 0.099 195.556);
--chart-1: oklch(0.912 0.099 195.556);
--chart-2: oklch(0.203 0.012 196.239);
--chart-3: oklch(0.203 0.012 196.239);
--chart-4: oklch(0.24 0.016 196.148);
--chart-5: oklch(0.916 0.102 195.523);
}