Short-term is a shadcn/ui theme built around a muted orange primary color (#7a7162) with muted blue accents (#626a7a). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the muted orange primary (#7a7162) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #080602black |
| Foreground | #000000black | #fafaf9snow |
| Card | #fcfbf8snow | #080602black |
| Card foreground | #000000black | #fafaf9snow |
| Popover | #fcfbf8snow | #080602black |
| Popover foreground | #000000black | #fafaf9snow |
| Primary | #7a7162dimgray | #7a7162dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #626a7adimgray | #626a7adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d2daeagainsboro | #151e2dblack |
| Muted foreground | #505a6ddimgray | #929cafdarkgray |
| Accent | #626a7adimgray | #626a7adimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #711a04maroon | #f63c0eorangered |
| Destructive foreground | #fcbbablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a7162dimgray | #7a7162dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 4.80:1 | AA |
| Secondary button | 5.44:1 | AA |
| Muted text | 4.95:1 | AA |
| Accent | 5.44:1 | AA |
| Destructive | 6.92:1 | AA |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 4.80:1 | AA |
| Secondary button | 5.44:1 | AA |
| Muted text | 6.06:1 | AA |
| Accent | 5.44:1 | AA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Short-term in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 83.059);
--foreground: oklch(0 0 0);
--muted: oklch(0.887 0.023 262.989);
--muted-foreground: oklch(0.466 0.032 262.79);
--popover: oklch(0.987 0.004 83.059);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 83.059);
--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.553 0.026 83.007);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.523 0.027 262.885);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.523 0.027 262.885);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.364 0.125 34.342);
--destructive-foreground: oklch(0.849 0.078 34.488);
--ring: oklch(0.553 0.026 83.007);
--chart-1: oklch(0.553 0.026 83.007);
--chart-2: oklch(0.523 0.027 262.885);
--chart-3: oklch(0.523 0.027 262.885);
--chart-4: oklch(0.548 0.028 262.883);
--chart-5: oklch(0.557 0.032 82.95);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 89.173);
--foreground: oklch(0.985 0.001 83.055);
--muted: oklch(0.233 0.033 262.343);
--muted-foreground: oklch(0.692 0.029 262.925);
--popover: oklch(0.123 0.014 89.173);
--popover-foreground: oklch(0.985 0.001 83.055);
--card: oklch(0.123 0.014 89.173);
--card-foreground: oklch(0.985 0.001 83.055);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.553 0.026 83.007);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.523 0.027 262.885);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.523 0.027 262.885);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.638 0.227 33.492);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.553 0.026 83.007);
--chart-1: oklch(0.553 0.026 83.007);
--chart-2: oklch(0.523 0.027 262.885);
--chart-3: oklch(0.523 0.027 262.885);
--chart-4: oklch(0.548 0.028 262.883);
--chart-5: oklch(0.557 0.032 82.95);
}