Entirety is a shadcn/ui theme built around a teal primary color (#317759) with pink accents (#77314f). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#317759) on a neutral background (#020806).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020806black |
| Foreground | #06130eblack | #ffffffwhite |
| Card | #fcfcfcsnow | #030c08black |
| Card foreground | #05100bblack | #ffffffwhite |
| Popover | #fcfcfcsnow | #030c08black |
| Popover foreground | #05100bblack | #ffffffwhite |
| Primary | #317759seagreen | #317759seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #77314fbrown | #77314fbrown |
| Secondary foreground | #f5e6eclinen | #f5e6eclinen |
| Muted | #e1d6dbgainsboro | #291e23black |
| Muted foreground | #604853dimgray | #b79fa9darkgray |
| Accent | #77314fbrown | #77314fbrown |
| Accent foreground | #f5e6eclinen | #f5e6eclinen |
| Destructive | #812104maroon | #f8430dorangered |
| Destructive foreground | #fdc9bapeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #317759seagreen | #317759seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.96:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 5.33:1 | AA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 5.33:1 | AA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Entirety in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.174 0.023 165.062);
--muted: oklch(0.885 0.014 349.173);
--muted-foreground: oklch(0.432 0.036 350.9);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.158 0.02 166.601);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.158 0.02 166.601);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.517 0.087 162.335);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.42 0.105 355.457);
--secondary-foreground: oklch(0.938 0.018 349.27);
--accent: oklch(0.42 0.105 355.457);
--accent-foreground: oklch(0.938 0.018 349.27);
--destructive: oklch(0.401 0.135 35.544);
--destructive-foreground: oklch(0.878 0.063 37.593);
--ring: oklch(0.517 0.087 162.335);
--chart-1: oklch(0.517 0.087 162.335);
--chart-2: oklch(0.42 0.105 355.457);
--chart-3: oklch(0.42 0.105 355.457);
--chart-4: oklch(0.446 0.113 355.545);
--chart-5: oklch(0.523 0.092 161.89);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.017 168.992);
--foreground: oklch(1 0 180);
--muted: oklch(0.251 0.02 350.807);
--muted-foreground: oklch(0.726 0.031 349.88);
--popover: oklch(0.143 0.019 168.504);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.019 168.504);
--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.517 0.087 162.335);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.42 0.105 355.457);
--secondary-foreground: oklch(0.938 0.018 349.27);
--accent: oklch(0.42 0.105 355.457);
--accent-foreground: oklch(0.938 0.018 349.27);
--destructive: oklch(0.646 0.223 34.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.517 0.087 162.335);
--chart-1: oklch(0.517 0.087 162.335);
--chart-2: oklch(0.42 0.105 355.457);
--chart-3: oklch(0.42 0.105 355.457);
--chart-4: oklch(0.446 0.113 355.545);
--chart-5: oklch(0.523 0.092 161.89);
}