Excellent is a shadcn/ui theme built around a light red primary color (#edbabf) with light blue accents (#babfed). The light mode uses a neutral background (#fefbfb). Dark mode keeps the light red primary (#edbabf) on a red-tinted background (#0e0607).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0e0607black |
| Foreground | #0d0203black | #ffffffwhite |
| Card | #fefbfbsnow | #0e0607black |
| Card foreground | #0d0203black | #ffffffwhite |
| Popover | #fefbfbsnow | #0e0607black |
| Popover foreground | #0d0203black | #ffffffwhite |
| Primary | #edbabflightpink | #edbabflightpink |
| Primary foreground | #5d181fmaroon | #5d181fmaroon |
| Secondary | #bfedbalightgrey | #bfedbalightgrey |
| Secondary foreground | #1f5d18darkgreen | #1f5d18darkgreen |
| Muted | #edf3ecwhitesmoke | #0c130cblack |
| Muted foreground | #3e423ddarkslategray | #bdc2bdsilver |
| Accent | #babfedlightsteelblue | #babfedlightsteelblue |
| Accent foreground | #181f5dmidnightblue | #181f5dmidnightblue |
| Destructive | #be3d0efirebrick | #ef5e2achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #edbabflightpink | #edbabflightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 9.10:1 | AAA |
| Accent | 8.46:1 | AAA |
| Destructive | 5.44:1 | AA |
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 6.09:1 | AA |
| Muted text | 10.42:1 | AAA |
| Accent | 8.46:1 | AAA |
| Destructive | 6.30:1 | AA |
Paste this into your globals.css to use Excellent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 10.136);
--foreground: oklch(0.115 0.03 12.709);
--muted: oklch(0.958 0.012 142.576);
--muted-foreground: oklch(0.374 0.011 142.513);
--popover: oklch(0.991 0.003 10.136);
--popover-foreground: oklch(0.115 0.03 12.709);
--card: oklch(0.991 0.003 10.136);
--card-foreground: oklch(0.115 0.03 12.709);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.836 0.059 11.706);
--primary-foreground: oklch(0.326 0.1 19.128);
--secondary: oklch(0.901 0.084 142.245);
--secondary-foreground: oklch(0.424 0.12 141.681);
--accent: oklch(0.817 0.065 279.886);
--accent-foreground: oklch(0.278 0.11 272.151);
--destructive: oklch(0.542 0.173 37.303);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.059 11.706);
--chart-1: oklch(0.836 0.059 11.706);
--chart-2: oklch(0.901 0.084 142.245);
--chart-3: oklch(0.817 0.065 279.886);
--chart-4: oklch(0.918 0.069 142.319);
--chart-5: oklch(0.835 0.063 11.797);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.015 11.446);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.018 142.208);
--muted-foreground: oklch(0.808 0.009 142.583);
--popover: oklch(0.137 0.015 11.446);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.015 11.446);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.836 0.059 11.706);
--primary-foreground: oklch(0.326 0.1 19.128);
--secondary: oklch(0.901 0.084 142.245);
--secondary-foreground: oklch(0.424 0.12 141.681);
--accent: oklch(0.817 0.065 279.886);
--accent-foreground: oklch(0.278 0.11 272.151);
--destructive: oklch(0.663 0.19 38.786);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.836 0.059 11.706);
--chart-1: oklch(0.836 0.059 11.706);
--chart-2: oklch(0.901 0.084 142.245);
--chart-3: oklch(0.817 0.065 279.886);
--chart-4: oklch(0.918 0.069 142.319);
--chart-5: oklch(0.835 0.063 11.797);
}