Exalted is a shadcn/ui theme built around a muted red primary color (#c6b3b4) with muted indigo accents (#b3b4c6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#c6b3b4) on a red-tinted background (#0e0707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0707black |
| Foreground | #110304black | #f8f6f6whitesmoke |
| Card | #fcfcfcsnow | #110809black |
| Card foreground | #0d0203black | #fbf9f9snow |
| Popover | #fcfcfcsnow | #110809black |
| Popover foreground | #0d0203black | #fbf9f9snow |
| Primary | #c6b3b4silver | #c6b3b4silver |
| Primary foreground | #291f1fblack | #291f1fblack |
| Secondary | #b4c6b3silver | #b4c6b3silver |
| Secondary foreground | #1f291fblack | #1f291fblack |
| Muted | #ecf4echoneydew | #0c130bblack |
| Muted foreground | #415440darkslategray | #acbfabdarkgray |
| Accent | #b3b4c6silver | #b3b4c6silver |
| Accent foreground | #1f1f29black | #1f1f29black |
| Destructive | #c50c02firebrick | #e80e02red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c6b3b4silver | #c6b3b4silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.13:1 | AA |
| Text on background | 18.57:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 9.67:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 4.66:1 | AA |
Paste this into your globals.css to use Exalted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.129 0.031 17.605);
--muted: oklch(0.958 0.013 144.049);
--muted-foreground: oklch(0.423 0.039 143.576);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.116 0.027 17.057);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.116 0.027 17.057);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.784 0.021 14.151);
--primary-foreground: oklch(0.25 0.016 14.876);
--secondary: oklch(0.808 0.032 143.895);
--secondary-foreground: oklch(0.267 0.023 143.619);
--accent: oklch(0.776 0.025 283.399);
--accent-foreground: oklch(0.244 0.018 282.603);
--destructive: oklch(0.52 0.209 29.684);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.784 0.021 14.151);
--chart-1: oklch(0.784 0.021 14.151);
--chart-2: oklch(0.808 0.032 143.895);
--chart-3: oklch(0.776 0.025 283.399);
--chart-4: oklch(0.83 0.028 143.929);
--chart-5: oklch(0.781 0.026 14.275);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 15.163);
--foreground: oklch(0.976 0.002 13.657);
--muted: oklch(0.177 0.02 143.45);
--muted-foreground: oklch(0.784 0.033 143.877);
--popover: oklch(0.149 0.017 15.669);
--popover-foreground: oklch(0.984 0.002 13.64);
--card: oklch(0.149 0.017 15.669);
--card-foreground: oklch(0.984 0.002 13.64);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.784 0.021 14.151);
--primary-foreground: oklch(0.25 0.016 14.876);
--secondary: oklch(0.808 0.032 143.895);
--secondary-foreground: oklch(0.267 0.023 143.619);
--accent: oklch(0.776 0.025 283.399);
--accent-foreground: oklch(0.244 0.018 282.603);
--destructive: oklch(0.588 0.237 29.612);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.784 0.021 14.151);
--chart-1: oklch(0.784 0.021 14.151);
--chart-2: oklch(0.808 0.032 143.895);
--chart-3: oklch(0.776 0.025 283.399);
--chart-4: oklch(0.83 0.028 143.929);
--chart-5: oklch(0.781 0.026 14.275);
}