Separate is a shadcn/ui theme built around a vivid green primary color (#8bf038) with muted light green accents (#c6ccc2). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#8bf038) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #020401black |
| Foreground | #000000black | #fafbf8snow |
| Card | #fcfdfcwhite | #020401black |
| Card foreground | #000000black | #fafbf8snow |
| Popover | #fcfdfcwhite | #020401black |
| Popover foreground | #000000black | #fafbf8snow |
| Primary | #8bf038greenyellow | #8bf038greenyellow |
| Primary foreground | #2a5506darkgreen | #2a5506darkgreen |
| Secondary | #d6d7d6lightgrey | #232a1dblack |
| Secondary foreground | #3d3e3ddarkslategray | #bbc9b0silver |
| Muted | #e2ecdagainsboro | #1b2513black |
| Muted foreground | #5c5e5adimgray | #a3a5a1darkgray |
| Accent | #c6ccc2silver | #374729darkslategray |
| Accent foreground | #2d322adarkslategray | #d0ddc5lightgrey |
| Destructive | #6d1608maroon | #f04c33tomato |
| Destructive foreground | #f9b8aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8bf038greenyellow | #8bf038greenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 6.08:1 | AA |
| Secondary button | 7.42:1 | AAA |
| Muted text | 5.38:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.08:1 | AA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 7.06:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Separate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 130.46);
--foreground: oklch(0 0 0);
--muted: oklch(0.931 0.026 130.704);
--muted-foreground: oklch(0.478 0.006 130.562);
--popover: oklch(0.994 0.002 130.46);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.002 130.46);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.86 0.23 134.68);
--primary-foreground: oklch(0.404 0.114 135.381);
--secondary: oklch(0.877 0.001 130.451);
--secondary-foreground: oklch(0.362 0.002 130.496);
--accent: oklch(0.838 0.015 130.608);
--accent-foreground: oklch(0.31 0.016 130.927);
--destructive: oklch(0.352 0.123 31.668);
--destructive-foreground: oklch(0.84 0.077 28.677);
--ring: oklch(0.86 0.23 134.68);
--chart-1: oklch(0.86 0.23 134.68);
--chart-2: oklch(0.877 0.001 130.451);
--chart-3: oklch(0.838 0.015 130.608);
--chart-4: oklch(0.901 0.001 130.448);
--chart-5: oklch(0.868 0.235 134.842);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.013 129.326);
--foreground: oklch(0.987 0.004 130.478);
--muted: oklch(0.249 0.035 131.941);
--muted-foreground: oklch(0.719 0.006 130.512);
--popover: oklch(0.099 0.013 129.326);
--popover-foreground: oklch(0.987 0.004 130.478);
--card: oklch(0.099 0.013 129.326);
--card-foreground: oklch(0.987 0.004 130.478);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.86 0.23 134.68);
--primary-foreground: oklch(0.404 0.114 135.381);
--secondary: oklch(0.275 0.026 131.399);
--secondary-foreground: oklch(0.819 0.038 130.879);
--accent: oklch(0.376 0.053 131.96);
--accent-foreground: oklch(0.882 0.036 130.833);
--destructive: oklch(0.644 0.204 31.573);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.86 0.23 134.68);
--chart-1: oklch(0.86 0.23 134.68);
--chart-2: oklch(0.275 0.026 131.399);
--chart-3: oklch(0.376 0.053 131.96);
--chart-4: oklch(0.31 0.031 131.449);
--chart-5: oklch(0.868 0.235 134.842);
}