Evening is a shadcn/ui theme built around a muted light indigo primary color (#bbbaca) with muted light green accents (#bacabb). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted light indigo primary (#bbbaca) on an indigo-tinted background (#06060f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #06060fblack |
| Foreground | #030312black | #f8f8fcghostwhite |
| Card | #fbfbfeghostwhite | #06060fblack |
| Card foreground | #030312black | #f8f8fcghostwhite |
| Popover | #fbfbfeghostwhite | #06060fblack |
| Popover foreground | #030312black | #f8f8fcghostwhite |
| Primary | #bbbacasilver | #bbbacasilver |
| Primary foreground | #24232edarkslategray | #24232edarkslategray |
| Secondary | #cabbbasilver | #cabbbasilver |
| Secondary foreground | #2e2423darkslategray | #2e2423darkslategray |
| Muted | #f5f0f0whitesmoke | #0f0b0ablack |
| Muted foreground | #443c3bdarkslategray | #c4bbbbsilver |
| Accent | #bacabbsilver | #bacabbsilver |
| Accent foreground | #232e24darkslategray | #232e24darkslategray |
| Destructive | #c64d10chocolate | #ef7639tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bbbacasilver | #bbbacasilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 4.70:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 10.42:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 7.29:1 | AAA |
Paste this into your globals.css to use Evening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 288.632);
--foreground: oklch(0.11 0.04 281.396);
--muted: oklch(0.959 0.005 20.951);
--muted-foreground: oklch(0.364 0.012 21.325);
--popover: oklch(0.989 0.004 288.632);
--popover-foreground: oklch(0.11 0.04 281.396);
--card: oklch(0.989 0.004 288.632);
--card-foreground: oklch(0.11 0.04 281.396);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.794 0.022 288.179);
--primary-foreground: oklch(0.263 0.02 287.256);
--secondary: oklch(0.803 0.017 21.169);
--secondary-foreground: oklch(0.272 0.015 21.679);
--accent: oklch(0.822 0.027 146.727);
--accent-foreground: oklch(0.288 0.023 146.252);
--destructive: oklch(0.575 0.168 41.643);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.794 0.022 288.179);
--chart-1: oklch(0.794 0.022 288.179);
--chart-2: oklch(0.803 0.017 21.169);
--chart-3: oklch(0.822 0.027 146.727);
--chart-4: oklch(0.828 0.015 21.123);
--chart-5: oklch(0.79 0.028 288.048);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.021 285.776);
--foreground: oklch(0.98 0.005 288.609);
--muted: oklch(0.154 0.008 21.575);
--muted-foreground: oklch(0.8 0.01 21.043);
--popover: oklch(0.127 0.021 285.776);
--popover-foreground: oklch(0.98 0.005 288.609);
--card: oklch(0.127 0.021 285.776);
--card-foreground: oklch(0.98 0.005 288.609);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.794 0.022 288.179);
--primary-foreground: oklch(0.263 0.02 287.256);
--secondary: oklch(0.803 0.017 21.169);
--secondary-foreground: oklch(0.272 0.015 21.679);
--accent: oklch(0.822 0.027 146.727);
--accent-foreground: oklch(0.288 0.023 146.252);
--destructive: oklch(0.696 0.167 44.783);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.794 0.022 288.179);
--chart-1: oklch(0.794 0.022 288.179);
--chart-2: oklch(0.803 0.017 21.169);
--chart-3: oklch(0.822 0.027 146.727);
--chart-4: oklch(0.828 0.015 21.123);
--chart-5: oklch(0.79 0.028 288.048);
}