Week is a shadcn/ui theme built around a deep teal primary color (#264a46) with muted light teal accents (#bfd9d6). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#264a46) on a teal-tinted background (#030c0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030c0bblack |
| Foreground | #010404black | #f8fcfbmintcream |
| Card | #f7fdfcmintcream | #04100fblack |
| Card foreground | #000000black | #fbfdfdwhite |
| Popover | #fbfefdwhite | #030c0bblack |
| Popover foreground | #010404black | #f8fcfbmintcream |
| Primary | #264a46darkslategray | #264a46darkslategray |
| Primary foreground | #c2e0dcpowderblue | #c2e0dcpowderblue |
| Secondary | #d3deddgainsboro | #1a1a1ablack |
| Secondary foreground | #364947darkslategray | #b3b3b3darkgray |
| Muted | #eef6f5whitesmoke | #110909black |
| Muted foreground | #465956darkslategray | #b9a6a6darkgray |
| Accent | #bfd9d6lightgrey | #2b2626darkslategray |
| Accent foreground | #26403ddarkslategray | #c5bebesilver |
| Destructive | #77280dsaddlebrown | #e75423chocolate |
| Destructive foreground | #f8cdbfpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #264a46darkslategray | #264a46darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.95:1 | AA |
| Muted text | 6.79:1 | AA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Week in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 188.841);
--foreground: oklch(0.101 0.014 188.14);
--muted: oklch(0.968 0.008 188.702);
--muted-foreground: oklch(0.446 0.024 187.61);
--popover: oklch(0.994 0.003 188.841);
--popover-foreground: oklch(0.101 0.014 188.14);
--card: oklch(0.989 0.006 188.771);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.381 0.042 185.906);
--primary-foreground: oklch(0.884 0.031 188.051);
--secondary: oklch(0.893 0.012 188.577);
--secondary-foreground: oklch(0.39 0.024 187.362);
--accent: oklch(0.865 0.027 188.144);
--accent-foreground: oklch(0.349 0.032 186.54);
--destructive: oklch(0.393 0.117 37.51);
--destructive-foreground: oklch(0.881 0.053 39.264);
--ring: oklch(0.381 0.042 185.906);
--chart-1: oklch(0.381 0.042 185.906);
--chart-2: oklch(0.893 0.012 188.577);
--chart-3: oklch(0.865 0.027 188.144);
--chart-4: oklch(0.915 0.01 188.651);
--chart-5: oklch(0.385 0.045 185.661);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.017 187.662);
--foreground: oklch(0.988 0.004 188.81);
--muted: oklch(0.15 0.014 18.881);
--muted-foreground: oklch(0.743 0.022 17.661);
--popover: oklch(0.144 0.017 187.662);
--popover-foreground: oklch(0.988 0.004 188.81);
--card: oklch(0.161 0.019 186.642);
--card-foreground: oklch(0.994 0.002 188.861);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.381 0.042 185.906);
--primary-foreground: oklch(0.884 0.031 188.051);
--secondary: oklch(0.216 0 180);
--secondary-foreground: oklch(0.765 0 172.405);
--accent: oklch(0.275 0.007 17.604);
--accent-foreground: oklch(0.808 0.008 17.328);
--destructive: oklch(0.636 0.191 37.432);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.381 0.042 185.906);
--chart-1: oklch(0.381 0.042 185.906);
--chart-2: oklch(0.216 0 180);
--chart-3: oklch(0.275 0.007 17.604);
--chart-4: oklch(0.248 0 173.29);
--chart-5: oklch(0.385 0.045 185.661);
}