Tired is a shadcn/ui theme built around a muted deep green primary color (#090c09) with muted deep red accents (#0c0909). The light mode uses a neutral background (#fbfefb). Dark mode keeps the muted deep green primary (#090c09) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020803black |
| Foreground | #000000black | #f8fcf9mintcream |
| Card | #fbfefbwhite | #020803black |
| Card foreground | #000000black | #f8fcf9mintcream |
| Popover | #fbfefbwhite | #020803black |
| Popover foreground | #000000black | #f8fcf9mintcream |
| Primary | #090c09black | #090c09black |
| Primary foreground | #95b199darkseagreen | #95b199darkseagreen |
| Secondary | #09090cblack | #09090cblack |
| Secondary foreground | #9995b1darkgray | #9995b1darkgray |
| Muted | #e6e5eblavender | #14141ablack |
| Muted foreground | #444257darkslategray | #aaa8bddarkgray |
| Accent | #0c0909black | #0c0909black |
| Accent foreground | #b19995rosybrown | #b19995rosybrown |
| Destructive | #862409saddlebrown | #f14b1eorangered |
| Destructive foreground | #fbd1c5peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090c09black | #090c09black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 7.74:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 7.90:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Tired in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 149.076);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.009 291.603);
--muted-foreground: oklch(0.39 0.036 289.96);
--popover: oklch(0.994 0.005 149.076);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.005 149.076);
--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.148 0.008 148.702);
--primary-foreground: oklch(0.733 0.046 148.365);
--secondary: oklch(0.14 0.007 291.155);
--secondary-foreground: oklch(0.683 0.04 290.642);
--accent: oklch(0.143 0.005 27.267);
--accent-foreground: oklch(0.702 0.029 26.774);
--destructive: oklch(0.415 0.138 34.948);
--destructive-foreground: oklch(0.894 0.05 35.954);
--ring: oklch(0.148 0.008 148.702);
--chart-1: oklch(0.148 0.008 148.702);
--chart-2: oklch(0.14 0.007 291.155);
--chart-3: oklch(0.143 0.005 27.267);
--chart-4: oklch(0.173 0.011 290.541);
--chart-5: oklch(0.149 0.009 148.618);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.021 147.959);
--foreground: oklch(0.986 0.005 149.072);
--muted: oklch(0.194 0.013 290.494);
--muted-foreground: oklch(0.74 0.031 290.987);
--popover: oklch(0.122 0.021 147.959);
--popover-foreground: oklch(0.986 0.005 149.072);
--card: oklch(0.122 0.021 147.959);
--card-foreground: oklch(0.986 0.005 149.072);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.148 0.008 148.702);
--primary-foreground: oklch(0.733 0.046 148.365);
--secondary: oklch(0.14 0.007 291.155);
--secondary-foreground: oklch(0.683 0.04 290.642);
--accent: oklch(0.143 0.005 27.267);
--accent-foreground: oklch(0.702 0.029 26.774);
--destructive: oklch(0.643 0.209 35.203);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.148 0.008 148.702);
--chart-1: oklch(0.148 0.008 148.702);
--chart-2: oklch(0.14 0.007 291.155);
--chart-3: oklch(0.143 0.005 27.267);
--chart-4: oklch(0.173 0.011 290.541);
--chart-5: oklch(0.149 0.009 148.618);
}