Ultimatum is a shadcn/ui theme built around a vivid deep orange primary color (#633309) with neutral gray accents (#e7e5e4). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the vivid deep orange primary (#633309) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfaf8snow | #040201black |
| Foreground | #0c0703black | #f9f7f6whitesmoke |
| Card | #faf7f5whitesmoke | #080502black |
| Card foreground | #080502black | #fbfaf9snow |
| Popover | #faf7f5whitesmoke | #080502black |
| Popover foreground | #080502black | #fbfaf9snow |
| Primary | #633309saddlebrown | #633309saddlebrown |
| Primary foreground | #f7cca6navajowhite | #f7cca6navajowhite |
| Secondary | #e7e5e4gainsboro | #242424darkslategray |
| Secondary foreground | #514c48darkslategray | #bdbdbdsilver |
| Muted | #e7d8cbgainsboro | #341818black |
| Muted foreground | #444241darkslategray | #bebbbbsilver |
| Accent | #e7e5e4gainsboro | #242424darkslategray |
| Accent foreground | #514c48darkslategray | #bdbdbdsilver |
| Destructive | #e31102red | #fc1303red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #633309saddlebrown | #633309saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.21:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 7.16:1 | AAA |
| Accent | 6.76:1 | AA |
| Destructive | 4.82:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Ultimatum in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 64.055);
--foreground: oklch(0.135 0.015 71.833);
--muted: oklch(0.89 0.024 63.742);
--muted-foreground: oklch(0.381 0.003 63.995);
--popover: oklch(0.978 0.004 64.038);
--popover-foreground: oklch(0.118 0.013 72.429);
--card: oklch(0.978 0.004 64.038);
--card-foreground: oklch(0.118 0.013 72.429);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.375 0.086 55.412);
--primary-foreground: oklch(0.873 0.07 62.889);
--secondary: oklch(0.924 0.003 64.054);
--secondary-foreground: oklch(0.421 0.01 63.796);
--accent: oklch(0.924 0.003 64.054);
--accent-foreground: oklch(0.421 0.01 63.796);
--destructive: oklch(0.579 0.232 29.818);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.375 0.086 55.412);
--chart-1: oklch(0.375 0.086 55.412);
--chart-2: oklch(0.924 0.003 64.054);
--chart-3: oklch(0.924 0.003 64.054);
--chart-4: oklch(0.947 0.002 64.065);
--chart-5: oklch(0.377 0.088 54.906);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.01 72.276);
--foreground: oklch(0.978 0.002 64.061);
--muted: oklch(0.25 0.044 20.687);
--muted-foreground: oklch(0.795 0.003 17.22);
--popover: oklch(0.118 0.013 72.276);
--popover-foreground: oklch(0.985 0.001 64.071);
--card: oklch(0.118 0.013 72.276);
--card-foreground: oklch(0.985 0.001 64.071);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.375 0.086 55.412);
--primary-foreground: oklch(0.873 0.07 62.889);
--secondary: oklch(0.259 0 167.471);
--secondary-foreground: oklch(0.797 0 180);
--accent: oklch(0.259 0 167.471);
--accent-foreground: oklch(0.797 0 180);
--destructive: oklch(0.627 0.252 29.77);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.375 0.086 55.412);
--chart-1: oklch(0.375 0.086 55.412);
--chart-2: oklch(0.259 0 167.471);
--chart-3: oklch(0.259 0 167.471);
--chart-4: oklch(0.29 0 180);
--chart-5: oklch(0.377 0.088 54.906);
}