Scimitar is a shadcn/ui theme built around a vivid deep orange primary color (#361602) with vivid deep blue accents (#022236). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#361602) on an orange-tinted background (#0b0704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0704black |
| Foreground | #090401black | #f8f7f6whitesmoke |
| Card | #ffffffwhite | #0b0704black |
| Card foreground | #090401black | #f8f7f6whitesmoke |
| Popover | #ffffffwhite | #0b0704black |
| Popover foreground | #090401black | #f8f7f6whitesmoke |
| Primary | #361602black | #361602black |
| Primary foreground | #fba570lightsalmon | #fba570lightsalmon |
| Secondary | #022236midnightblue | #022236midnightblue |
| Secondary foreground | #70c5fblightskyblue | #70c5fblightskyblue |
| Muted | #ebeef0whitesmoke | #0f1214black |
| Muted foreground | #404344darkslategray | #bbbdbfsilver |
| Accent | #022236midnightblue | #022236midnightblue |
| Accent foreground | #70c5fblightskyblue | #70c5fblightskyblue |
| Destructive | #7d1707maroon | #f23518orangered |
| Destructive foreground | #fbc4bclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #361602black | #361602black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 8.41:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 18.76:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 8.41:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 9.94:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Scimitar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.116 0.018 66.864);
--muted: oklch(0.947 0.004 234.57);
--muted-foreground: oklch(0.38 0.004 234.665);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.116 0.018 66.864);
--card: oklch(1 0 180);
--card-foreground: oklch(0.116 0.018 66.864);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.245 0.061 50.521);
--primary-foreground: oklch(0.795 0.123 52.012);
--secondary: oklch(0.242 0.054 240.686);
--secondary-foreground: oklch(0.791 0.113 237.774);
--accent: oklch(0.242 0.054 240.686);
--accent-foreground: oklch(0.791 0.113 237.774);
--destructive: oklch(0.385 0.139 31.605);
--destructive-foreground: oklch(0.867 0.065 28.498);
--ring: oklch(0.245 0.061 50.521);
--chart-1: oklch(0.245 0.061 50.521);
--chart-2: oklch(0.242 0.054 240.686);
--chart-3: oklch(0.242 0.054 240.686);
--chart-4: oklch(0.279 0.064 242.164);
--chart-5: oklch(0.246 0.063 50.58);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.012 61.308);
--foreground: oklch(0.977 0.002 54.479);
--muted: oklch(0.182 0.006 235.032);
--muted-foreground: oklch(0.797 0.003 234.569);
--popover: oklch(0.133 0.012 61.308);
--popover-foreground: oklch(0.977 0.002 54.479);
--card: oklch(0.133 0.012 61.308);
--card-foreground: oklch(0.977 0.002 54.479);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.245 0.061 50.521);
--primary-foreground: oklch(0.795 0.123 52.012);
--secondary: oklch(0.242 0.054 240.686);
--secondary-foreground: oklch(0.791 0.113 237.774);
--accent: oklch(0.242 0.054 240.686);
--accent-foreground: oklch(0.791 0.113 237.774);
--destructive: oklch(0.625 0.227 31.526);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.245 0.061 50.521);
--chart-1: oklch(0.245 0.061 50.521);
--chart-2: oklch(0.242 0.054 240.686);
--chart-3: oklch(0.242 0.054 240.686);
--chart-4: oklch(0.279 0.064 242.164);
--chart-5: oklch(0.246 0.063 50.58);
}