Timeout is a shadcn/ui theme built around a muted yellow primary color (#a7a38b) with neutral gray accents (#e6e6e5). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the muted yellow primary (#a7a38b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #000000black |
| Foreground | #000000black | #fafaf9snow |
| Card | #fbfaf4floralwhite | #030303black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fcfcf8snow | #000000black |
| Popover foreground | #000000black | #fafaf9snow |
| Primary | #a7a38brosybrown | #a7a38brosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #e6e6e5gainsboro | #383629darkslategray |
| Secondary foreground | #4e4e4bdarkslategray | #d1cfc1lightgrey |
| Muted | #eceadfbeige | #201e13black |
| Muted foreground | #615e4cdimgray | #b3b09edarkgray |
| Accent | #e6e6e5gainsboro | #383629darkslategray |
| Accent foreground | #4e4e4bdarkslategray | #d1cfc1lightgrey |
| Destructive | #5d2209maroon | #ea591achocolate |
| Destructive foreground | #f6bba2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a7a38brosybrown | #a7a38brosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 6.67:1 | AA |
| Muted text | 5.41:1 | AA |
| Accent | 6.67:1 | AA |
| Destructive | 7.37:1 | AAA |
| Text on background | 20.10:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 8.29:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.78:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Timeout in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 99.423);
--foreground: oklch(0 0 0);
--muted: oklch(0.935 0.014 99.562);
--muted-foreground: oklch(0.48 0.028 100.114);
--popover: oklch(0.989 0.006 99.423);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.008 99.464);
--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.713 0.035 100.006);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.924 0.001 99.36);
--secondary-foreground: oklch(0.422 0.004 99.492);
--accent: oklch(0.924 0.001 99.36);
--accent-foreground: oklch(0.422 0.004 99.492);
--destructive: oklch(0.337 0.094 40.96);
--destructive-foreground: oklch(0.84 0.077 44.265);
--ring: oklch(0.713 0.035 100.006);
--chart-1: oklch(0.713 0.035 100.006);
--chart-2: oklch(0.924 0.001 99.36);
--chart-3: oklch(0.924 0.001 99.36);
--chart-4: oklch(0.947 0.001 99.354);
--chart-5: oklch(0.72 0.042 100.117);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.001 99.359);
--muted: oklch(0.233 0.019 100.373);
--muted-foreground: oklch(0.754 0.025 99.812);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.001 99.359);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 99.35);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.713 0.035 100.006);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.33 0.021 100.187);
--secondary-foreground: oklch(0.853 0.019 99.661);
--accent: oklch(0.33 0.021 100.187);
--accent-foreground: oklch(0.853 0.019 99.661);
--destructive: oklch(0.647 0.192 39.902);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.713 0.035 100.006);
--chart-1: oklch(0.713 0.035 100.006);
--chart-2: oklch(0.33 0.021 100.187);
--chart-3: oklch(0.33 0.021 100.187);
--chart-4: oklch(0.363 0.024 100.207);
--chart-5: oklch(0.72 0.042 100.117);
}