Weekly is a shadcn/ui theme built around a vivid red primary color (#dd1d30) with muted red accents (#bcaeaf). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#dd1d30) on a red-tinted background (#100406).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #100406black |
| Foreground | #120304black | #f9f6f6whitesmoke |
| Card | #fefbfbsnow | #100406black |
| Card foreground | #120304black | #f9f6f6whitesmoke |
| Popover | #fefbfbsnow | #100406black |
| Popover foreground | #120304black | #f9f6f6whitesmoke |
| Primary | #dd1d30crimson | #dd1d30crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d0cdcdlightgrey | #1a1919black |
| Secondary foreground | #373434darkslategray | #b3b2b2darkgray |
| Muted | #f3ededlinen | #120c0dblack |
| Muted foreground | #4b4949darkslategray | #b6b4b4silver |
| Accent | #bcaeafdarkgray | #2e2829darkslategray |
| Accent foreground | #1f191ablack | #c8c0c1silver |
| Destructive | #981710darkred | #e83026crimson |
| Destructive foreground | #fce0dfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dd1d30crimson | #dd1d30crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.82:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 4.88:1 | AA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 9.37:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Weekly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 10.153);
--foreground: oklch(0.129 0.034 13.516);
--muted: oklch(0.95 0.007 10.237);
--muted-foreground: oklch(0.408 0.002 10.188);
--popover: oklch(0.99 0.003 10.153);
--popover-foreground: oklch(0.129 0.034 13.516);
--card: oklch(0.99 0.003 10.153);
--card-foreground: oklch(0.129 0.034 13.516);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.575 0.22 24.086);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.851 0.003 10.164);
--secondary-foreground: oklch(0.328 0.005 10.395);
--accent: oklch(0.763 0.017 10.589);
--accent-foreground: oklch(0.221 0.009 10.999);
--destructive: oklch(0.439 0.165 29.079);
--destructive-foreground: oklch(0.929 0.03 21.326);
--ring: oklch(0.575 0.22 24.086);
--chart-1: oklch(0.575 0.22 24.086);
--chart-2: oklch(0.851 0.003 10.164);
--chart-3: oklch(0.763 0.017 10.589);
--chart-4: oklch(0.875 0.003 10.148);
--chart-5: oklch(0.58 0.225 24.628);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.024 12.399);
--foreground: oklch(0.975 0.003 10.15);
--muted: oklch(0.164 0.011 11.565);
--muted-foreground: oklch(0.772 0.002 10.127);
--popover: oklch(0.133 0.024 12.399);
--popover-foreground: oklch(0.975 0.003 10.15);
--card: oklch(0.133 0.024 12.399);
--card-foreground: oklch(0.975 0.003 10.15);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.575 0.22 24.086);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.215 0.001 10.162);
--secondary-foreground: oklch(0.764 0.002 10.13);
--accent: oklch(0.285 0.009 10.8);
--accent-foreground: oklch(0.815 0.009 10.337);
--destructive: oklch(0.605 0.22 28.777);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.575 0.22 24.086);
--chart-1: oklch(0.575 0.22 24.086);
--chart-2: oklch(0.215 0.001 10.162);
--chart-3: oklch(0.285 0.009 10.8);
--chart-4: oklch(0.248 0.001 10.17);
--chart-5: oklch(0.58 0.225 24.628);
}