Equinox is a shadcn/ui theme built around a green primary color (#afb86b) with muted light green accents (#d2d2cb). The light mode uses a neutral background (#fcfdf7). Dark mode keeps the green primary (#afb86b) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf7snow | #070703black |
| Foreground | #080901black | #f8f8f7whitesmoke |
| Card | #fcfdf7snow | #070703black |
| Card foreground | #080901black | #f8f8f7whitesmoke |
| Popover | #fcfdf7snow | #070703black |
| Popover foreground | #080901black | #f8f8f7whitesmoke |
| Primary | #afb86bdarkkhaki | #afb86bdarkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #d2d2cblightgrey | #282a1edarkslategray |
| Secondary foreground | #393a31darkslategray | #c5c8b1silver |
| Muted | #eaedd9beige | #242612black |
| Muted foreground | #545643darkolivegreen | #babca9silver |
| Accent | #d2d2cblightgrey | #282a1edarkslategray |
| Accent foreground | #393a31darkslategray | #c5c8b1silver |
| Destructive | #9d260cfirebrick | #da3510orangered |
| Destructive foreground | #fde3demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #afb86bdarkkhaki | #afb86bdarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 9.86:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 9.86:1 | AAA |
| Secondary button | 8.53:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 8.53:1 | AAA |
| Destructive | 4.65:1 | AA |
Paste this into your globals.css to use Equinox in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.008 111.937);
--foreground: oklch(0.135 0.025 113.335);
--muted: oklch(0.938 0.026 112.299);
--muted-foreground: oklch(0.444 0.029 112.989);
--popover: oklch(0.992 0.008 111.937);
--popover-foreground: oklch(0.135 0.025 113.335);
--card: oklch(0.992 0.008 111.937);
--card-foreground: oklch(0.135 0.025 113.335);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.757 0.101 114.281);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.862 0.011 112.009);
--secondary-foreground: oklch(0.344 0.015 112.567);
--accent: oklch(0.862 0.011 112.009);
--accent-foreground: oklch(0.344 0.015 112.567);
--destructive: oklch(0.459 0.158 33.421);
--destructive-foreground: oklch(0.936 0.029 32.696);
--ring: oklch(0.757 0.101 114.281);
--chart-1: oklch(0.757 0.101 114.281);
--chart-2: oklch(0.862 0.011 112.009);
--chart-3: oklch(0.862 0.011 112.009);
--chart-4: oklch(0.884 0.009 111.967);
--chart-5: oklch(0.766 0.108 114.445);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.015 112.795);
--foreground: oklch(0.979 0.002 111.818);
--muted: oklch(0.26 0.034 114.22);
--muted-foreground: oklch(0.787 0.025 112.382);
--popover: oklch(0.128 0.015 112.795);
--popover-foreground: oklch(0.979 0.002 111.818);
--card: oklch(0.128 0.015 112.795);
--card-foreground: oklch(0.979 0.002 111.818);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.757 0.101 114.281);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.279 0.021 113.204);
--secondary-foreground: oklch(0.824 0.031 112.476);
--accent: oklch(0.279 0.021 113.204);
--accent-foreground: oklch(0.824 0.031 112.476);
--destructive: oklch(0.584 0.206 33.187);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.757 0.101 114.281);
--chart-1: oklch(0.757 0.101 114.281);
--chart-2: oklch(0.279 0.021 113.204);
--chart-3: oklch(0.279 0.021 113.204);
--chart-4: oklch(0.314 0.025 113.269);
--chart-5: oklch(0.766 0.108 114.445);
}