Tense is a shadcn/ui theme built around a deep orange primary color (#723a22) with deep yellow accents (#726222). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#723a22) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0705black |
| Foreground | #0c0603black | #fdfcfcsnow |
| Card | #fefcfbsnow | #0a0705black |
| Card foreground | #0c0603black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #0a0705black |
| Popover foreground | #0c0603black | #fdfcfcsnow |
| Primary | #723a22saddlebrown | #723a22saddlebrown |
| Primary foreground | #f2ddd4antiquewhite | #f2ddd4antiquewhite |
| Secondary | #722232brown | #722232brown |
| Secondary foreground | #f2d4damistyrose | #f2d4damistyrose |
| Muted | #ede3e5linen | #1c1214black |
| Muted foreground | #644f53dimgray | #b09b9fdarkgray |
| Accent | #726222darkolivegreen | #726222darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d13c0afirebrick | #e5410borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #723a22saddlebrown | #723a22saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.86:1 | AA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 6.03:1 | AA |
| Destructive | 4.80:1 | AA |
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 6.86:1 | AA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 6.03:1 | AA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Tense in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 44.951);
--foreground: oklch(0.13 0.016 53.17);
--muted: oklch(0.924 0.012 3.529);
--muted-foreground: oklch(0.449 0.029 4.913);
--popover: oklch(0.992 0.003 44.951);
--popover-foreground: oklch(0.13 0.016 53.17);
--card: oklch(0.992 0.003 44.951);
--card-foreground: oklch(0.13 0.016 53.17);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.415 0.087 43.054);
--primary-foreground: oklch(0.912 0.027 44.708);
--secondary: oklch(0.381 0.112 12.405);
--secondary-foreground: oklch(0.896 0.035 4.212);
--accent: oklch(0.498 0.085 95.008);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.574 0.193 35.701);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.415 0.087 43.054);
--chart-1: oklch(0.415 0.087 43.054);
--chart-2: oklch(0.381 0.112 12.405);
--chart-3: oklch(0.498 0.085 95.008);
--chart-4: oklch(0.408 0.121 12.58);
--chart-5: oklch(0.416 0.091 42.855);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.009 49.426);
--foreground: oklch(0.992 0.001 44.975);
--muted: oklch(0.196 0.018 5.612);
--muted-foreground: oklch(0.71 0.026 4.157);
--popover: oklch(0.131 0.009 49.426);
--popover-foreground: oklch(0.992 0.001 44.975);
--card: oklch(0.131 0.009 49.426);
--card-foreground: oklch(0.992 0.001 44.975);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.415 0.087 43.054);
--primary-foreground: oklch(0.912 0.027 44.708);
--secondary: oklch(0.381 0.112 12.405);
--secondary-foreground: oklch(0.896 0.035 4.212);
--accent: oklch(0.498 0.085 95.008);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.207 35.59);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.415 0.087 43.054);
--chart-1: oklch(0.415 0.087 43.054);
--chart-2: oklch(0.381 0.112 12.405);
--chart-3: oklch(0.498 0.085 95.008);
--chart-4: oklch(0.408 0.121 12.58);
--chart-5: oklch(0.416 0.091 42.855);
}