Overshoot is a shadcn/ui theme built around a neutral gray primary color (#53555a) with neutral gray accents (#555a53). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the neutral gray primary (#53555a) on a blue-tinted background (#05060a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #05060ablack |
| Foreground | #020308black | #ffffffwhite |
| Card | #fbfcfewhite | #05060ablack |
| Card foreground | #020308black | #ffffffwhite |
| Popover | #fbfcfewhite | #05060ablack |
| Popover foreground | #020308black | #ffffffwhite |
| Primary | #53555adimgray | #53555adimgray |
| Primary foreground | #efeff0whitesmoke | #efeff0whitesmoke |
| Secondary | #5a5355dimgray | #5a5355dimgray |
| Secondary foreground | #f0efefwhitesmoke | #f0efefwhitesmoke |
| Muted | #e9e2e4gainsboro | #1d1618black |
| Muted foreground | #403f3fdarkslategray | #c0bfbfsilver |
| Accent | #555a53dimgray | #555a53dimgray |
| Accent foreground | #eff0efwhitesmoke | #eff0efwhitesmoke |
| Destructive | #a1310csaddlebrown | #f16d41tomato |
| Destructive foreground | #fde9e3mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #53555adimgray | #53555adimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.17:1 | AA |
| Destructive | 6.03:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 9.70:1 | AAA |
| Accent | 6.17:1 | AA |
| Destructive | 7.00:1 | AAA |
Paste this into your globals.css to use Overshoot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 272.623);
--foreground: oklch(0.101 0.019 263.537);
--muted: oklch(0.919 0.008 1.205);
--muted-foreground: oklch(0.369 0.002 1.097);
--popover: oklch(0.99 0.003 272.623);
--popover-foreground: oklch(0.101 0.019 263.537);
--card: oklch(0.99 0.003 272.623);
--card-foreground: oklch(0.101 0.019 263.537);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.449 0.009 272.445);
--primary-foreground: oklch(0.953 0.001 272.643);
--secondary: oklch(0.45 0.009 1.539);
--secondary-foreground: oklch(0.953 0.001 1.001);
--accent: oklch(0.461 0.013 138.36);
--accent-foreground: oklch(0.955 0.002 138.332);
--destructive: oklch(0.479 0.154 36.591);
--destructive-foreground: oklch(0.948 0.023 39.371);
--ring: oklch(0.449 0.009 272.445);
--chart-1: oklch(0.449 0.009 272.445);
--chart-2: oklch(0.45 0.009 1.539);
--chart-3: oklch(0.461 0.013 138.36);
--chart-4: oklch(0.477 0.01 1.545);
--chart-5: oklch(0.445 0.016 272.263);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.011 268.573);
--foreground: oklch(1 0 180);
--muted: oklch(0.209 0.012 2.509);
--muted-foreground: oklch(0.805 0.001 1.012);
--popover: oklch(0.124 0.011 268.573);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.011 268.573);
--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.449 0.009 272.445);
--primary-foreground: oklch(0.953 0.001 272.643);
--secondary: oklch(0.45 0.009 1.539);
--secondary-foreground: oklch(0.953 0.001 1.001);
--accent: oklch(0.461 0.013 138.36);
--accent-foreground: oklch(0.955 0.002 138.332);
--destructive: oklch(0.688 0.173 38.588);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.449 0.009 272.445);
--chart-1: oklch(0.449 0.009 272.445);
--chart-2: oklch(0.45 0.009 1.539);
--chart-3: oklch(0.461 0.013 138.36);
--chart-4: oklch(0.477 0.01 1.545);
--chart-5: oklch(0.445 0.016 272.263);
}