Weekly is a shadcn/ui theme built around a deep orange primary color (#59311d) with muted light orange accents (#e6dfdb). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#59311d) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080402black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfcfcsnow | #0c0604black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0c0604black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #59311dsaddlebrown | #59311dsaddlebrown |
| Primary foreground | #eaccbewheat | #eaccbewheat |
| Secondary | #e6dfdbgainsboro | #181311black |
| Secondary foreground | #54433bdarkolivegreen | #baa9a0darkgray |
| Muted | #dfdad7gainsboro | #282220black |
| Muted foreground | #49403cdarkslategray | #c3bab6silver |
| Accent | #e6dfdbgainsboro | #181311black |
| Accent foreground | #54433bdarkolivegreen | #baa9a0darkgray |
| Destructive | #a71106darkred | #f62213red |
| Destructive foreground | #fee3e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #59311dsaddlebrown | #59311dsaddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 7.08:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 20.40:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 4.06: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 0 0);
--muted: oklch(0.892 0.007 48.658);
--muted-foreground: oklch(0.379 0.014 48.323);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.358 0.066 46.447);
--primary-foreground: oklch(0.867 0.039 48.249);
--secondary: oklch(0.907 0.009 48.631);
--secondary-foreground: oklch(0.399 0.026 48.045);
--accent: oklch(0.907 0.009 48.631);
--accent-foreground: oklch(0.399 0.026 48.045);
--destructive: oklch(0.464 0.182 29.817);
--destructive-foreground: oklch(0.938 0.029 22.589);
--ring: oklch(0.358 0.066 46.447);
--chart-1: oklch(0.358 0.066 46.447);
--chart-2: oklch(0.907 0.009 48.631);
--chart-3: oklch(0.907 0.009 48.631);
--chart-4: oklch(0.931 0.007 48.663);
--chart-5: oklch(0.359 0.07 46.229);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.012 56.618);
--foreground: oklch(1 0 180);
--muted: oklch(0.259 0.009 48.34);
--muted-foreground: oklch(0.796 0.012 48.573);
--popover: oklch(0.131 0.014 56.239);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.014 56.239);
--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.358 0.066 46.447);
--primary-foreground: oklch(0.867 0.039 48.249);
--secondary: oklch(0.193 0.008 48.264);
--secondary-foreground: oklch(0.747 0.024 48.385);
--accent: oklch(0.193 0.008 48.264);
--accent-foreground: oklch(0.747 0.024 48.385);
--destructive: oklch(0.622 0.241 29.738);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.358 0.066 46.447);
--chart-1: oklch(0.358 0.066 46.447);
--chart-2: oklch(0.193 0.008 48.264);
--chart-3: oklch(0.193 0.008 48.264);
--chart-4: oklch(0.226 0.011 48.208);
--chart-5: oklch(0.359 0.07 46.229);
}