Impressionable is a shadcn/ui theme built around a neutral gray primary color (#d3ced4) with neutral gray accents (#d4ced2). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the neutral gray primary (#d3ced4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #000000black |
| Foreground | #000000black | #fbf8fcghostwhite |
| Card | #faf4fbghostwhite | #030303black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #faf4fbghostwhite | #030303black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #d3ced4lightgrey | #d3ced4lightgrey |
| Primary foreground | #3a353bdarkslategray | #3a353bdarkslategray |
| Secondary | #d0ced4lightgrey | #d0ced4lightgrey |
| Secondary foreground | #37353bdarkslategray | #37353bdarkslategray |
| Muted | #e7e4eclavender | #16131bblack |
| Muted foreground | #3d3748darkslategray | #bcb7c8silver |
| Accent | #d4ced2lightgrey | #d4ced2lightgrey |
| Accent foreground | #3b3539darkslategray | #3b3539darkslategray |
| Destructive | #c34409chocolate | #f45810orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d3ced4lightgrey | #d3ced4lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 9.10:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 9.39:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 3.35:1 | AA Large |
Paste this into your globals.css to use Impressionable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 320.542);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.01 301.316);
--muted-foreground: oklch(0.351 0.029 300.139);
--popover: oklch(0.973 0.01 320.548);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.01 320.548);
--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.858 0.009 320.548);
--primary-foreground: oklch(0.336 0.014 320.595);
--secondary: oklch(0.856 0.008 301.347);
--secondary-foreground: oklch(0.333 0.012 300.909);
--accent: oklch(0.858 0.008 337.449);
--accent-foreground: oklch(0.337 0.012 337.976);
--destructive: oklch(0.558 0.172 39.594);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.009 320.548);
--chart-1: oklch(0.858 0.009 320.548);
--chart-2: oklch(0.856 0.008 301.347);
--chart-3: oklch(0.858 0.008 337.449);
--chart-4: oklch(0.88 0.006 301.375);
--chart-5: oklch(0.856 0.014 320.556);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.005 320.54);
--muted: oklch(0.194 0.015 300.238);
--muted-foreground: oklch(0.789 0.024 301.005);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.003 320.536);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.003 320.536);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.858 0.009 320.548);
--primary-foreground: oklch(0.336 0.014 320.595);
--secondary: oklch(0.856 0.008 301.347);
--secondary-foreground: oklch(0.333 0.012 300.909);
--accent: oklch(0.858 0.008 337.449);
--accent-foreground: oklch(0.337 0.012 337.976);
--destructive: oklch(0.662 0.203 39.794);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.009 320.548);
--chart-1: oklch(0.858 0.009 320.548);
--chart-2: oklch(0.856 0.008 301.347);
--chart-3: oklch(0.858 0.008 337.449);
--chart-4: oklch(0.88 0.006 301.375);
--chart-5: oklch(0.856 0.014 320.556);
}