Tired is a shadcn/ui theme built around a deep indigo primary color (#050316) with deep violet accents (#0f0316). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the deep indigo primary (#050316) on an indigo-tinted background (#07060e).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #07060eblack |
| Foreground | #060410black | #fcfcfdwhite |
| Card | #fcfbfewhite | #07060eblack |
| Card foreground | #060410black | #fcfcfdwhite |
| Popover | #fcfbfewhite | #07060eblack |
| Popover foreground | #060410black | #fcfcfdwhite |
| Primary | #050316black | #050316black |
| Primary foreground | #c2bcf5lightsteelblue | #c2bcf5lightsteelblue |
| Secondary | #030b16black | #030b16black |
| Secondary foreground | #6499e8cornflowerblue | #6499e8cornflowerblue |
| Muted | #e2e3e4gainsboro | #1b1c1dblack |
| Muted foreground | #474f5cdarkslategray | #a3abb8darkgray |
| Accent | #0f0316black | #0f0316black |
| Accent foreground | #debcf5thistle | #debcf5thistle |
| Destructive | #691502maroon | #fb532dtomato |
| Destructive foreground | #fdb1a0lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #050316black | #050316black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 11.43:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 6.41:1 | AA |
| Accent | 12.06:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 11.43:1 | AAA |
| Secondary button | 6.83:1 | AA |
| Muted text | 7.39:1 | AAA |
| Accent | 12.06:1 | AAA |
| Destructive | 6.36:1 | AA |
Paste this into your globals.css to use Tired in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 290.96);
--foreground: oklch(0.122 0.028 287.594);
--muted: oklch(0.914 0.003 258.32);
--muted-foreground: oklch(0.427 0.024 258.371);
--popover: oklch(0.99 0.003 290.96);
--popover-foreground: oklch(0.122 0.028 287.594);
--card: oklch(0.99 0.003 290.96);
--card-foreground: oklch(0.122 0.028 287.594);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.122 0.045 284.418);
--primary-foreground: oklch(0.821 0.079 289.11);
--secondary: oklch(0.147 0.029 253.472);
--secondary-foreground: oklch(0.679 0.131 258.28);
--accent: oklch(0.137 0.046 311.339);
--accent-foreground: oklch(0.844 0.085 311.606);
--destructive: oklch(0.342 0.12 33.897);
--destructive-foreground: oklch(0.829 0.093 33.115);
--ring: oklch(0.122 0.045 284.418);
--chart-1: oklch(0.122 0.045 284.418);
--chart-2: oklch(0.147 0.029 253.472);
--chart-3: oklch(0.137 0.046 311.339);
--chart-4: oklch(0.179 0.042 257.17);
--chart-5: oklch(0.12 0.047 283.916);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.019 288.91);
--foreground: oklch(0.992 0.001 290.997);
--muted: oklch(0.225 0.004 258.349);
--muted-foreground: oklch(0.739 0.021 258.364);
--popover: oklch(0.129 0.019 288.91);
--popover-foreground: oklch(0.992 0.001 290.997);
--card: oklch(0.129 0.019 288.91);
--card-foreground: oklch(0.992 0.001 290.997);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.122 0.045 284.418);
--primary-foreground: oklch(0.821 0.079 289.11);
--secondary: oklch(0.147 0.029 253.472);
--secondary-foreground: oklch(0.679 0.131 258.28);
--accent: oklch(0.137 0.046 311.339);
--accent-foreground: oklch(0.844 0.085 311.606);
--destructive: oklch(0.668 0.21 33.974);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.122 0.045 284.418);
--chart-1: oklch(0.122 0.045 284.418);
--chart-2: oklch(0.147 0.029 253.472);
--chart-3: oklch(0.137 0.046 311.339);
--chart-4: oklch(0.179 0.042 257.17);
--chart-5: oklch(0.12 0.047 283.916);
}