Timely is a shadcn/ui theme built around a vivid deep green primary color (#073107) with vivid deep green accents (#07311b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#073107) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #073107black | #073107black |
| Primary foreground | #26e123limegreen | #26e123limegreen |
| Secondary | #1d3107black | #1d3107black |
| Secondary foreground | #85e123yellowgreen | #85e123yellowgreen |
| Muted | #edefecwhitesmoke | #121310black |
| Muted foreground | #4d5841darkolivegreen | #b3bea7darkgray |
| Accent | #07311bblack | #07311bblack |
| Accent foreground | #23e17fspringgreen | #23e17fspringgreen |
| Destructive | #c12b06firebrick | #f9572ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #073107black | #073107black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 8.26:1 | AAA |
| Destructive | 5.80:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 9.60:1 | AAA |
| Accent | 8.26:1 | AAA |
| Destructive | 6.43: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 0 0);
--muted: oklch(0.949 0.004 127.839);
--muted-foreground: oklch(0.444 0.039 128.87);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.276 0.083 142.696);
--primary-foreground: oklch(0.792 0.258 142.537);
--secondary: oklch(0.287 0.071 131.992);
--secondary-foreground: oklch(0.82 0.224 133.419);
--accent: oklch(0.279 0.061 155.81);
--accent-foreground: oklch(0.801 0.197 153.448);
--destructive: oklch(0.53 0.19 33.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.276 0.083 142.696);
--chart-1: oklch(0.276 0.083 142.696);
--chart-2: oklch(0.287 0.071 131.992);
--chart-3: oklch(0.279 0.061 155.81);
--chart-4: oklch(0.334 0.085 132.408);
--chart-5: oklch(0.278 0.085 142.637);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.003 145.082);
--muted: oklch(0.185 0.006 128.18);
--muted-foreground: oklch(0.786 0.034 128.306);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.003 145.082);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.003 145.082);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.276 0.083 142.696);
--primary-foreground: oklch(0.792 0.258 142.537);
--secondary: oklch(0.287 0.071 131.992);
--secondary-foreground: oklch(0.82 0.224 133.419);
--accent: oklch(0.279 0.061 155.81);
--accent-foreground: oklch(0.801 0.197 153.448);
--destructive: oklch(0.67 0.204 34.909);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.276 0.083 142.696);
--chart-1: oklch(0.276 0.083 142.696);
--chart-2: oklch(0.287 0.071 131.992);
--chart-3: oklch(0.279 0.061 155.81);
--chart-4: oklch(0.334 0.085 132.408);
--chart-5: oklch(0.278 0.085 142.637);
}