Exciting is a shadcn/ui theme built around a muted light red primary color (#e1d1d1) with muted light indigo accents (#d1d1e1). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted light red primary (#e1d1d1) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #030202black |
| Foreground | #100505black | #faf5f5whitesmoke |
| Card | #fdf7f7snow | #070303black |
| Card foreground | #0c0303black | #fbf8f8snow |
| Popover | #fefbfbsnow | #030202black |
| Popover foreground | #100505black | #faf5f5whitesmoke |
| Primary | #e1d1d1lightgrey | #e1d1d1lightgrey |
| Primary foreground | #4d3232darkslategray | #4d3232darkslategray |
| Secondary | #d1e1d1lightgrey | #d1e1d1lightgrey |
| Secondary foreground | #324d32darkslategray | #324d32darkslategray |
| Muted | #eff5efwhitesmoke | #0a100ablack |
| Muted foreground | #577057dimgray | #8fa88fdarkseagreen |
| Accent | #d1d1e1lightgrey | #d1d1e1lightgrey |
| Accent foreground | #32324ddarkslategray | #32324ddarkslategray |
| Destructive | #d14200orangered | #f04c00orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1d1d1lightgrey | #e1d1d1lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 6.85:1 | AA |
| Muted text | 4.92:1 | AA |
| Accent | 8.16:1 | AAA |
| Destructive | 4.66:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 6.85:1 | AA |
| Muted text | 7.50:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Exciting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 17.217);
--foreground: oklch(0.132 0.023 20.699);
--muted: oklch(0.965 0.009 145.502);
--muted-foreground: oklch(0.518 0.05 144.805);
--popover: oklch(0.99 0.004 17.217);
--popover-foreground: oklch(0.132 0.023 20.699);
--card: oklch(0.98 0.007 17.278);
--card-foreground: oklch(0.119 0.02 20.52);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.873 0.018 17.501);
--primary-foreground: oklch(0.35 0.039 19.219);
--secondary: oklch(0.893 0.028 145.339);
--secondary-foreground: oklch(0.391 0.055 144.43);
--accent: oklch(0.865 0.022 285.93);
--accent-foreground: oklch(0.331 0.047 283.536);
--destructive: oklch(0.58 0.189 38.261);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.873 0.018 17.501);
--chart-1: oklch(0.873 0.018 17.501);
--chart-2: oklch(0.893 0.028 145.339);
--chart-3: oklch(0.865 0.022 285.93);
--chart-4: oklch(0.914 0.022 145.392);
--chart-5: oklch(0.871 0.02 17.553);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.009 19.049);
--foreground: oklch(0.974 0.005 17.239);
--muted: oklch(0.163 0.015 144.866);
--muted-foreground: oklch(0.706 0.047 145.057);
--popover: oklch(0.086 0.009 19.049);
--popover-foreground: oklch(0.974 0.005 17.239);
--card: oklch(0.108 0.011 19.049);
--card-foreground: oklch(0.983 0.003 17.211);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.873 0.018 17.501);
--primary-foreground: oklch(0.35 0.039 19.219);
--secondary: oklch(0.893 0.028 145.339);
--secondary-foreground: oklch(0.391 0.055 144.43);
--accent: oklch(0.865 0.022 285.93);
--accent-foreground: oklch(0.331 0.047 283.536);
--destructive: oklch(0.641 0.21 37.939);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.873 0.018 17.501);
--chart-1: oklch(0.873 0.018 17.501);
--chart-2: oklch(0.893 0.028 145.339);
--chart-3: oklch(0.865 0.022 285.93);
--chart-4: oklch(0.914 0.022 145.392);
--chart-5: oklch(0.871 0.02 17.553);
}