Timely is a shadcn/ui theme built around a vivid red primary color (#ef2015) with muted light red accents (#e1d6d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#ef2015) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040101black | #fcf8f8snow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #ef2015red | #ef2015red |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e1d6d6gainsboro | #2d2525darkslategray |
| Secondary foreground | #4c3938darkslategray | #c8bcbcsilver |
| Muted | #f1e0dfmistyrose | #200f0eblack |
| Muted foreground | #585555dimgray | #aaa7a7darkgray |
| Accent | #e1d6d6gainsboro | #2d2525darkslategray |
| Accent foreground | #4c3938darkslategray | #c8bcbcsilver |
| Destructive | #9b1e08darkred | #da2a0bfirebrick |
| Destructive foreground | #fdded8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ef2015red | #ef2015red |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 4.30:1 | AA Large |
| Secondary button | 7.60:1 | AAA |
| Muted text | 5.78:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 4.30:1 | AA Large |
| Secondary button | 8.10:1 | AAA |
| Muted text | 7.75:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.85:1 | AA |
Paste this into your globals.css to use Timely in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.017 26.846);
--muted: oklch(0.92 0.019 21.162);
--muted-foreground: oklch(0.453 0.004 21.01);
--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.607 0.236 29.358);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.886 0.011 21.052);
--secondary-foreground: oklch(0.366 0.027 21.949);
--accent: oklch(0.886 0.011 21.052);
--accent-foreground: oklch(0.366 0.027 21.949);
--destructive: oklch(0.449 0.163 31.99);
--destructive-foreground: oklch(0.924 0.036 29.65);
--ring: oklch(0.607 0.236 29.358);
--chart-1: oklch(0.607 0.236 29.358);
--chart-2: oklch(0.886 0.011 21.052);
--chart-3: oklch(0.886 0.011 21.052);
--chart-4: oklch(0.91 0.009 21.012);
--chart-5: oklch(0.612 0.24 29.431);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.004 20.939);
--muted: oklch(0.192 0.03 23.453);
--muted-foreground: oklch(0.73 0.004 20.955);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.002 20.914);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 20.914);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.607 0.236 29.358);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.274 0.012 21.472);
--secondary-foreground: oklch(0.806 0.013 21.101);
--accent: oklch(0.274 0.012 21.472);
--accent-foreground: oklch(0.806 0.013 21.101);
--destructive: oklch(0.575 0.213 31.778);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.607 0.236 29.358);
--chart-1: oklch(0.607 0.236 29.358);
--chart-2: oklch(0.274 0.012 21.472);
--chart-3: oklch(0.274 0.012 21.472);
--chart-4: oklch(0.303 0.014 21.501);
--chart-5: oklch(0.612 0.24 29.431);
}