Tense is a shadcn/ui theme built around an orange primary color (#deb591) with muted light orange accents (#dbd3cd). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the orange primary (#deb591) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf6snow | #080502black |
| Foreground | #150c05black | #ffffffwhite |
| Card | #fdf7f2floralwhite | #0c0703black |
| Card foreground | #110a04black | #ffffffwhite |
| Popover | #fdf7f2floralwhite | #0c0703black |
| Popover foreground | #110a04black | #ffffffwhite |
| Primary | #deb591burlywood | #deb591burlywood |
| Primary foreground | #2f1d0eblack | #2f1d0eblack |
| Secondary | #dbd3cdlightgrey | #2e261fdarkslategray |
| Secondary foreground | #443a31darkslategray | #ccbeb3silver |
| Muted | #efedeblinen | #141210black |
| Muted foreground | #504c49darkslategray | #b6b2afdarkgray |
| Accent | #dbd3cdlightgrey | #2e261fdarkslategray |
| Accent foreground | #443a31darkslategray | #ccbeb3silver |
| Destructive | #b33305firebrick | #fa6c38tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #deb591burlywood | #deb591burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.55:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.18:1 | AA |
| Text on background | 20.33:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 8.54:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 7.25:1 | AAA |
Paste this into your globals.css to use Tense in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 64.013);
--foreground: oklch(0.164 0.022 65.499);
--muted: oklch(0.947 0.004 64.037);
--muted-foreground: oklch(0.42 0.006 63.895);
--popover: oklch(0.979 0.009 63.974);
--popover-foreground: oklch(0.151 0.019 68.945);
--card: oklch(0.979 0.009 63.974);
--card-foreground: oklch(0.151 0.019 68.945);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.801 0.068 62.804);
--primary-foreground: oklch(0.251 0.038 60.955);
--secondary: oklch(0.872 0.012 63.913);
--secondary-foreground: oklch(0.356 0.02 63.297);
--accent: oklch(0.872 0.012 63.913);
--accent-foreground: oklch(0.356 0.02 63.297);
--destructive: oklch(0.512 0.171 36.383);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.801 0.068 62.804);
--chart-1: oklch(0.801 0.068 62.804);
--chart-2: oklch(0.872 0.012 63.913);
--chart-3: oklch(0.872 0.012 63.913);
--chart-4: oklch(0.895 0.01 63.949);
--chart-5: oklch(0.802 0.072 62.714);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.013 72.123);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.006 63.663);
--muted-foreground: oklch(0.766 0.005 63.999);
--popover: oklch(0.135 0.014 71.596);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.014 71.596);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.801 0.068 62.804);
--primary-foreground: oklch(0.251 0.038 60.955);
--secondary: oklch(0.274 0.018 63.176);
--secondary-foreground: oklch(0.811 0.023 63.728);
--accent: oklch(0.274 0.018 63.176);
--accent-foreground: oklch(0.811 0.023 63.728);
--destructive: oklch(0.698 0.186 39.38);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.801 0.068 62.804);
--chart-1: oklch(0.801 0.068 62.804);
--chart-2: oklch(0.274 0.018 63.176);
--chart-3: oklch(0.274 0.018 63.176);
--chart-4: oklch(0.306 0.021 63.127);
--chart-5: oklch(0.802 0.072 62.714);
}