Timely is a shadcn/ui theme built around a teal primary color (#3c7c76) with red accents (#7c3c42). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#3c7c76) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030707black |
| Foreground | #031110black | #f9fbfamintcream |
| Card | #f7fdfcmintcream | #040b0ablack |
| Card foreground | #020d0cblack | #fcfdfdwhite |
| Popover | #f7fdfcmintcream | #040b0ablack |
| Popover foreground | #020d0cblack | #fcfdfdwhite |
| Primary | #3c7c76seagreen | #3c7c76seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7c3c42sienna | #7c3c42sienna |
| Secondary foreground | #f8f1f2whitesmoke | #f8f1f2whitesmoke |
| Muted | #eadcdegainsboro | #231517black |
| Muted foreground | #464444darkslategray | #bbb9basilver |
| Accent | #7c3c42sienna | #7c3c42sienna |
| Accent foreground | #f8f1f2whitesmoke | #f8f1f2whitesmoke |
| Destructive | #9d1010darkred | #e21818crimson |
| Destructive foreground | #fce3e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c7c76seagreen | #3c7c76seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.96:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 4.85:1 | AA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 4.85:1 | AA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 9.02:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 4.79:1 | AA |
Paste this into your globals.css to use Timely in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 190.002);
--foreground: oklch(0.165 0.023 187.525);
--muted: oklch(0.906 0.015 10.451);
--muted-foreground: oklch(0.389 0.002 10.187);
--popover: oklch(0.989 0.007 189.927);
--popover-foreground: oklch(0.147 0.02 188.424);
--card: oklch(0.989 0.007 189.927);
--card-foreground: oklch(0.147 0.02 188.424);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.542 0.067 186.812);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.44 0.089 15.202);
--secondary-foreground: oklch(0.965 0.008 10.26);
--accent: oklch(0.44 0.089 15.202);
--accent-foreground: oklch(0.965 0.008 10.26);
--destructive: oklch(0.444 0.172 28.037);
--destructive-foreground: oklch(0.937 0.027 17.649);
--ring: oklch(0.542 0.067 186.812);
--chart-1: oklch(0.542 0.067 186.812);
--chart-2: oklch(0.44 0.089 15.202);
--chart-3: oklch(0.44 0.089 15.202);
--chart-4: oklch(0.465 0.095 15.268);
--chart-5: oklch(0.549 0.071 186.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.011 189.474);
--foreground: oklch(0.986 0.001 190.047);
--muted: oklch(0.215 0.022 12.47);
--muted-foreground: oklch(0.788 0.002 10.122);
--popover: oklch(0.141 0.012 189.31);
--popover-foreground: oklch(0.993 0.001 190.062);
--card: oklch(0.141 0.012 189.31);
--card-foreground: oklch(0.993 0.001 190.062);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.542 0.067 186.812);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.44 0.089 15.202);
--secondary-foreground: oklch(0.965 0.008 10.26);
--accent: oklch(0.44 0.089 15.202);
--accent-foreground: oklch(0.965 0.008 10.26);
--destructive: oklch(0.58 0.228 28.328);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.542 0.067 186.812);
--chart-1: oklch(0.542 0.067 186.812);
--chart-2: oklch(0.44 0.089 15.202);
--chart-3: oklch(0.44 0.089 15.202);
--chart-4: oklch(0.465 0.095 15.268);
--chart-5: oklch(0.549 0.071 186.578);
}