Impressive is a shadcn/ui theme built around an orange primary color (#805e28) with muted light orange accents (#e0d9cc). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the orange primary (#805e28) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #080602black |
| Foreground | #110c03black | #ffffffwhite |
| Card | #fcfaf8snow | #080602black |
| Card foreground | #110c03black | #ffffffwhite |
| Popover | #fcfaf8snow | #080602black |
| Popover foreground | #110c03black | #ffffffwhite |
| Primary | #805e28saddlebrown | #805e28saddlebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ece9e4linen | #1d1a16black |
| Secondary foreground | #5c5242darkolivegreen | #beb5a7darkgray |
| Muted | #f3eee7linen | #18130cblack |
| Muted foreground | #5a5449darkolivegreen | #b6afa5darkgray |
| Accent | #e0d9cclightgrey | #30281ddarkslategray |
| Accent foreground | #4d412edarkolivegreen | #cfc3afsilver |
| Destructive | #c51a11firebrick | #d81d13firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #805e28saddlebrown | #805e28saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 5.89:1 | AA |
| Secondary button | 6.32:1 | AA |
| Muted text | 6.52:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 5.94:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 5.89:1 | AA |
| Secondary button | 8.51:1 | AAA |
| Muted text | 8.49:1 | AAA |
| Accent | 8.31:1 | AAA |
| Destructive | 5.12:1 | AA |
Paste this into your globals.css to use Impressive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 79.928);
--foreground: oklch(0.157 0.022 83.487);
--muted: oklch(0.952 0.011 79.912);
--muted-foreground: oklch(0.447 0.018 79.794);
--popover: oklch(0.987 0.004 79.928);
--popover-foreground: oklch(0.157 0.022 83.487);
--card: oklch(0.987 0.004 79.928);
--card-foreground: oklch(0.157 0.022 83.487);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.507 0.083 76.717);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.935 0.007 79.921);
--secondary-foreground: oklch(0.443 0.028 79.625);
--accent: oklch(0.887 0.019 79.882);
--accent-foreground: oklch(0.381 0.034 79.28);
--destructive: oklch(0.527 0.203 29.316);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.507 0.083 76.717);
--chart-1: oklch(0.507 0.083 76.717);
--chart-2: oklch(0.935 0.007 79.921);
--chart-3: oklch(0.887 0.019 79.882);
--chart-4: oklch(0.957 0.005 79.926);
--chart-5: oklch(0.511 0.087 76.314);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 86.259);
--foreground: oklch(1 0 180);
--muted: oklch(0.19 0.015 79.42);
--muted-foreground: oklch(0.757 0.016 79.883);
--popover: oklch(0.122 0.013 86.259);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.013 86.259);
--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.507 0.083 76.717);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.221 0.01 79.762);
--secondary-foreground: oklch(0.777 0.022 79.854);
--accent: oklch(0.283 0.023 79.4);
--accent-foreground: oklch(0.822 0.03 79.814);
--destructive: oklch(0.563 0.218 29.343);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.507 0.083 76.717);
--chart-1: oklch(0.507 0.083 76.717);
--chart-2: oklch(0.221 0.01 79.762);
--chart-3: oklch(0.283 0.023 79.4);
--chart-4: oklch(0.255 0.013 79.736);
--chart-5: oklch(0.511 0.087 76.314);
}