Improvement is a shadcn/ui theme built around a blue primary color (#4d8ae6) with orange accents (#e6a84d). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#4d8ae6) on a neutral background (#020408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020408black |
| Foreground | #010409black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #03070cblack |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #fcfcfcsnow | #03070cblack |
| Popover foreground | #010204black | #ffffffwhite |
| Primary | #4d8ae6cornflowerblue | #4d8ae6cornflowerblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #e6a84dsandybrown | #e6a84dsandybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2e1dfgainsboro | #201f1dblack |
| Muted foreground | #6a655cdimgray | #a39d95darkgray |
| Accent | #e6a84dsandybrown | #e6a84dsandybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #d33e03orangered | #e74404orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d8ae6cornflowerblue | #4d8ae6cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 4.42:1 | AA Large |
| Accent | 10.07:1 | AAA |
| Destructive | 4.70:1 | AA |
| Text on background | 19.96:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 10.07:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Improvement in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.018 246.742);
--muted: oklch(0.91 0.003 78.301);
--muted-foreground: oklch(0.509 0.015 78.19);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.084 0.014 246.742);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.084 0.014 246.742);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.635 0.152 258.366);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.773 0.129 74.666);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.773 0.129 74.666);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.579 0.194 36.714);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.635 0.152 258.366);
--chart-1: oklch(0.635 0.152 258.366);
--chart-2: oklch(0.773 0.129 74.666);
--chart-3: oklch(0.773 0.129 74.666);
--chart-4: oklch(0.789 0.122 75.467);
--chart-5: oklch(0.635 0.158 258.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.014 249.485);
--foreground: oklch(0.992 0.002 258.317);
--muted: oklch(0.24 0.005 78.239);
--muted-foreground: oklch(0.698 0.014 78.239);
--popover: oklch(0.124 0.016 250.026);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.016 250.026);
--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.635 0.152 258.366);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.773 0.129 74.666);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.773 0.129 74.666);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.619 0.208 36.538);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.635 0.152 258.366);
--chart-1: oklch(0.635 0.152 258.366);
--chart-2: oklch(0.773 0.129 74.666);
--chart-3: oklch(0.773 0.129 74.666);
--chart-4: oklch(0.789 0.122 75.467);
--chart-5: oklch(0.635 0.158 258.399);
}