Separate is a shadcn/ui theme built around a teal primary color (#7bc1a3) with teal accents (#7bbcc1). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the teal primary (#7bc1a3) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfamintcream | #020303black |
| Foreground | #03170eblack | #fbfdfdwhite |
| Card | #f2fdf8mintcream | #030705black |
| Card foreground | #02120bblack | #ffffffwhite |
| Popover | #f2fdf8mintcream | #030705black |
| Popover foreground | #02120bblack | #ffffffwhite |
| Primary | #7bc1a3mediumaquamarine | #7bc1a3mediumaquamarine |
| Primary foreground | #030705black | #030705black |
| Secondary | #7bc180darkseagreen | #7bc180darkseagreen |
| Secondary foreground | #030704black | #030704black |
| Muted | #d5ddd5gainsboro | #222a23darkslategray |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #7bbcc1mediumaquamarine | #7bbcc1mediumaquamarine |
| Accent foreground | #030707black | #030707black |
| Destructive | #df2e07orangered | #f84820orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7bc1a3mediumaquamarine | #7bc1a3mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.02:1 | AAA |
| Text on card | 18.40:1 | AAA |
| Primary button | 9.64:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 6.36:1 | AA |
| Accent | 9.48:1 | AAA |
| Destructive | 4.63:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 9.64:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 7.18:1 | AAA |
| Accent | 9.48:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Separate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 168.498);
--foreground: oklch(0.183 0.034 163.782);
--muted: oklch(0.888 0.013 147.404);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.984 0.012 168.376);
--popover-foreground: oklch(0.165 0.03 165.574);
--card: oklch(0.984 0.012 168.376);
--card-foreground: oklch(0.165 0.03 165.574);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.756 0.083 165.107);
--primary-foreground: oklch(0.121 0.01 168.898);
--secondary: oklch(0.748 0.116 145.84);
--secondary-foreground: oklch(0.12 0.015 146.658);
--accent: oklch(0.754 0.067 201.57);
--accent-foreground: oklch(0.121 0.009 200.61);
--destructive: oklch(0.586 0.215 32.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.756 0.083 165.107);
--chart-1: oklch(0.756 0.083 165.107);
--chart-2: oklch(0.748 0.116 145.84);
--chart-3: oklch(0.754 0.067 201.57);
--chart-4: oklch(0.767 0.107 146.033);
--chart-5: oklch(0.761 0.09 164.807);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 168.894);
--foreground: oklch(0.994 0.002 168.665);
--muted: oklch(0.275 0.017 146.918);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.121 0.01 168.894);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.01 168.894);
--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.756 0.083 165.107);
--primary-foreground: oklch(0.121 0.01 168.898);
--secondary: oklch(0.748 0.116 145.84);
--secondary-foreground: oklch(0.12 0.015 146.658);
--accent: oklch(0.754 0.067 201.57);
--accent-foreground: oklch(0.121 0.009 200.61);
--destructive: oklch(0.652 0.218 33.669);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.756 0.083 165.107);
--chart-1: oklch(0.756 0.083 165.107);
--chart-2: oklch(0.748 0.116 145.84);
--chart-3: oklch(0.754 0.067 201.57);
--chart-4: oklch(0.767 0.107 146.033);
--chart-5: oklch(0.761 0.09 164.807);
}