Impressive is a shadcn/ui theme built around a vivid orange primary color (#b26410) with vivid violet accents (#6410b2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#b26410) on an orange-tinted background (#0e0a06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0a06black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0e0a06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0e0a06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #b26410darkgoldenrod | #b26410darkgoldenrod |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #10b264mediumseagreen | #10b264mediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eff5f2whitesmoke | #0a100dblack |
| Muted foreground | #5e6461dimgray | #9ba19edarkgray |
| Accent | #6410b2rebeccapurple | #6410b2rebeccapurple |
| Accent foreground | #faf6feghostwhite | #faf6feghostwhite |
| Destructive | #b54108firebrick | #f6702ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b26410darkgoldenrod | #b26410darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.45:1 | AA Large |
| Secondary button | 2.76:1 | Fail |
| Muted text | 5.49:1 | AA |
| Accent | 8.73:1 | AAA |
| Destructive | 5.61:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 4.45:1 | AA Large |
| Secondary button | 2.76:1 | Fail |
| Muted text | 7.31:1 | AAA |
| Accent | 8.73:1 | AAA |
| Destructive | 7.26:1 | AAA |
Paste this into your globals.css to use Impressive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.966 0.008 165.807);
--muted-foreground: oklch(0.497 0.008 165.555);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.58 0.132 59.07);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.672 0.167 153.89);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.426 0.219 298.794);
--accent-foreground: oklch(0.978 0.012 308.994);
--destructive: oklch(0.532 0.161 40.698);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.58 0.132 59.07);
--chart-1: oklch(0.58 0.132 59.07);
--chart-2: oklch(0.672 0.167 153.89);
--chart-3: oklch(0.426 0.219 298.794);
--chart-4: oklch(0.711 0.177 153.797);
--chart-5: oklch(0.584 0.135 58.369);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.15 0.012 71.993);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.011 164.002);
--muted-foreground: oklch(0.703 0.008 165.72);
--popover: oklch(0.15 0.012 71.993);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.15 0.012 71.993);
--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.58 0.132 59.07);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.672 0.167 153.89);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.426 0.219 298.794);
--accent-foreground: oklch(0.978 0.012 308.994);
--destructive: oklch(0.697 0.182 43.736);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.58 0.132 59.07);
--chart-1: oklch(0.58 0.132 59.07);
--chart-2: oklch(0.672 0.167 153.89);
--chart-3: oklch(0.426 0.219 298.794);
--chart-4: oklch(0.711 0.177 153.797);
--chart-5: oklch(0.584 0.135 58.369);
}