Exciting is a shadcn/ui theme built around a neutral gray primary color (#595959) with near-white accents (#e9e7e7). The light mode uses a neutral background (#fefbfb). Dark mode keeps the neutral gray primary (#595959) on a red-tinted background (#0b0404).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0b0404black |
| Foreground | #0d0303black | #fdfcfcsnow |
| Card | #fefbfbsnow | #0b0404black |
| Card foreground | #0d0303black | #fdfcfcsnow |
| Popover | #fefbfbsnow | #0b0404black |
| Popover foreground | #0d0303black | #fdfcfcsnow |
| Primary | #595959dimgray | #595959dimgray |
| Primary foreground | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Secondary | #e9e7e7linen | #332e2edarkslategray |
| Secondary foreground | #514d4ddarkslategray | #cdc6c6silver |
| Muted | #f3ececlinen | #130c0cblack |
| Muted foreground | #4b4848darkslategray | #b7b4b4silver |
| Accent | #e9e7e7linen | #332e2edarkslategray |
| Accent foreground | #514d4ddarkslategray | #cdc6c6silver |
| Destructive | #a83a0bsaddlebrown | #f3753ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #595959dimgray | #595959dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.78:1 | AA |
| Muted text | 7.78:1 | AAA |
| Accent | 6.78:1 | AA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 9.40:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 7.42:1 | AAA |
Paste this into your globals.css to use Exciting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 17.212);
--foreground: oklch(0.117 0.024 21.496);
--muted: oklch(0.949 0.008 17.291);
--muted-foreground: oklch(0.406 0.004 17.319);
--popover: oklch(0.99 0.003 17.212);
--popover-foreground: oklch(0.117 0.024 21.496);
--card: oklch(0.99 0.003 17.212);
--card-foreground: oklch(0.117 0.024 21.496);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.465 0 180);
--primary-foreground: oklch(0.962 0 180);
--secondary: oklch(0.93 0.001 17.185);
--secondary-foreground: oklch(0.424 0.006 17.405);
--accent: oklch(0.93 0.001 17.185);
--accent-foreground: oklch(0.424 0.006 17.405);
--destructive: oklch(0.5 0.153 39.233);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.465 0 180);
--chart-1: oklch(0.465 0 180);
--chart-2: oklch(0.93 0.001 17.185);
--chart-3: oklch(0.93 0.001 17.185);
--chart-4: oklch(0.954 0.001 17.175);
--chart-5: oklch(0.46 0.007 17.41);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.017 19.8);
--foreground: oklch(0.992 0.001 17.175);
--muted: oklch(0.163 0.012 18.495);
--muted-foreground: oklch(0.771 0.003 17.23);
--popover: oklch(0.121 0.017 19.8);
--popover-foreground: oklch(0.992 0.001 17.175);
--card: oklch(0.121 0.017 19.8);
--card-foreground: oklch(0.992 0.001 17.175);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.465 0 180);
--primary-foreground: oklch(0.962 0 180);
--secondary: oklch(0.306 0.008 17.624);
--secondary-foreground: oklch(0.832 0.007 17.301);
--accent: oklch(0.306 0.008 17.624);
--accent-foreground: oklch(0.832 0.007 17.301);
--destructive: oklch(0.702 0.169 42.317);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.465 0 180);
--chart-1: oklch(0.465 0 180);
--chart-2: oklch(0.306 0.008 17.624);
--chart-3: oklch(0.306 0.008 17.624);
--chart-4: oklch(0.335 0.01 17.64);
--chart-5: oklch(0.46 0.007 17.41);
}