Weekly is a shadcn/ui theme built around a muted deep teal primary color (#16221e) with muted deep cyan accents (#162022). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#16221e) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030706black |
| Foreground | #03120dblack | #fcfdfdwhite |
| Card | #fcfcfcsnow | #040b09black |
| Card foreground | #020d0ablack | #ffffffwhite |
| Popover | #ffffffwhite | #030706black |
| Popover foreground | #03120dblack | #fcfdfdwhite |
| Primary | #16221eblack | #16221eblack |
| Primary foreground | #a6c5bbsilver | #a6c5bbsilver |
| Secondary | #162219black | #162219black |
| Secondary foreground | #a6c5acdarkgray | #a6c5acdarkgray |
| Muted | #d6dbd7gainsboro | #242925darkslategray |
| Muted foreground | #5c6a5fdimgray | #95a397darkseagreen |
| Accent | #162022black | #162022black |
| Accent foreground | #a6bec5silver | #a6bec5silver |
| Destructive | #6e1e08maroon | #ef481aorangered |
| Destructive foreground | #f9beaelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #16221eblack | #16221eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 8.83:1 | AAA |
| Secondary button | 8.77:1 | AAA |
| Muted text | 4.07:1 | AA Large |
| Accent | 8.56:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 8.83:1 | AAA |
| Secondary button | 8.77:1 | AAA |
| Muted text | 5.63:1 | AA |
| Accent | 8.56:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Weekly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.164 0.025 173.556);
--muted: oklch(0.887 0.007 151.887);
--muted-foreground: oklch(0.51 0.024 151.271);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.164 0.025 173.556);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.146 0.021 175.803);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.239 0.018 174.249);
--primary-foreground: oklch(0.796 0.036 175.277);
--secondary: oklch(0.237 0.024 150.328);
--secondary-foreground: oklch(0.792 0.048 151.052);
--accent: oklch(0.234 0.014 214.721);
--accent-foreground: oklch(0.786 0.028 214.482);
--destructive: oklch(0.361 0.117 35.301);
--destructive-foreground: oklch(0.852 0.072 36.009);
--ring: oklch(0.239 0.018 174.249);
--chart-1: oklch(0.239 0.018 174.249);
--chart-2: oklch(0.237 0.024 150.328);
--chart-3: oklch(0.234 0.014 214.721);
--chart-4: oklch(0.272 0.03 150.2);
--chart-5: oklch(0.241 0.02 173.911);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.012 176.811);
--foreground: oklch(0.993 0.002 176.608);
--muted: oklch(0.273 0.009 151.481);
--muted-foreground: oklch(0.7 0.022 151.515);
--popover: oklch(0.123 0.012 176.811);
--popover-foreground: oklch(0.993 0.002 176.608);
--card: oklch(0.141 0.014 176.594);
--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.239 0.018 174.249);
--primary-foreground: oklch(0.796 0.036 175.277);
--secondary: oklch(0.237 0.024 150.328);
--secondary-foreground: oklch(0.792 0.048 151.052);
--accent: oklch(0.234 0.014 214.721);
--accent-foreground: oklch(0.786 0.028 214.482);
--destructive: oklch(0.637 0.21 35.025);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.239 0.018 174.249);
--chart-1: oklch(0.239 0.018 174.249);
--chart-2: oklch(0.237 0.024 150.328);
--chart-3: oklch(0.234 0.014 214.721);
--chart-4: oklch(0.272 0.03 150.2);
--chart-5: oklch(0.241 0.02 173.911);
}