Impression is a shadcn/ui theme built around a vivid light teal primary color (#d6faf9) with vivid light yellow accents (#faf9d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#d6faf9) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010404black |
| Foreground | #010404black | #ffffffwhite |
| Card | #ffffffwhite | #010404black |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #ffffffwhite | #010404black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #d6faf9lightcyan | #d6faf9lightcyan |
| Primary foreground | #063231darkslategray | #063231darkslategray |
| Secondary | #f9d6falavender | #f9d6falavender |
| Secondary foreground | #89118ddarkmagenta | #89118ddarkmagenta |
| Muted | #f5eff6whitesmoke | #100910black |
| Muted foreground | #574c57dimgray | #b3a8b3darkgray |
| Accent | #faf9d6lightgoldenrodyellow | #faf9d6lightgoldenrodyellow |
| Accent foreground | #323106black | #323106black |
| Destructive | #9b1c0dfirebrick | #ee4c3atomato |
| Destructive foreground | #fce1demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6faf9lightcyan | #d6faf9lightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 12.54:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 7.20:1 | AAA |
| Accent | 12.41:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 12.54:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 8.56:1 | AAA |
| Accent | 12.41:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Impression in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.101 0.014 193.23);
--muted: oklch(0.959 0.011 324.692);
--muted-foreground: oklch(0.431 0.023 324.956);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.101 0.014 193.23);
--card: oklch(1 0 180);
--card-foreground: oklch(0.101 0.014 193.23);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.96 0.037 194.071);
--primary-foreground: oklch(0.289 0.046 191.553);
--secondary: oklch(0.916 0.061 325.033);
--secondary-foreground: oklch(0.452 0.198 326.645);
--accent: oklch(0.974 0.046 105.595);
--accent-foreground: oklch(0.304 0.06 107.467);
--destructive: oklch(0.447 0.164 30.516);
--destructive-foreground: oklch(0.931 0.03 25.285);
--ring: oklch(0.96 0.037 194.071);
--chart-1: oklch(0.96 0.037 194.071);
--chart-2: oklch(0.916 0.061 325.033);
--chart-3: oklch(0.974 0.046 105.595);
--chart-4: oklch(0.944 0.041 324.888);
--chart-5: oklch(0.961 0.039 194.046);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.009 193.691);
--foreground: oklch(1 0 180);
--muted: oklch(0.154 0.017 325.304);
--muted-foreground: oklch(0.743 0.02 324.792);
--popover: oklch(0.098 0.009 193.691);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.098 0.009 193.691);
--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.96 0.037 194.071);
--primary-foreground: oklch(0.289 0.046 191.553);
--secondary: oklch(0.916 0.061 325.033);
--secondary-foreground: oklch(0.452 0.198 326.645);
--accent: oklch(0.974 0.046 105.595);
--accent-foreground: oklch(0.304 0.06 107.467);
--destructive: oklch(0.642 0.201 29.883);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.96 0.037 194.071);
--chart-1: oklch(0.96 0.037 194.071);
--chart-2: oklch(0.916 0.061 325.033);
--chart-3: oklch(0.974 0.046 105.595);
--chart-4: oklch(0.944 0.041 324.888);
--chart-5: oklch(0.961 0.039 194.046);
}