Several is a shadcn/ui theme built around a cyan primary color (#2192a6) with green accents (#92a621). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#2192a6) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010304black |
| Foreground | #020708black | #f5f9faghostwhite |
| Card | #f8fbfcghostwhite | #030707black |
| Card foreground | #010404black | #f8fbfcghostwhite |
| Popover | #f8fbfcghostwhite | #030707black |
| Popover foreground | #010404black | #f8fbfcghostwhite |
| Primary | #2192a6lightseagreen | #2192a6lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a62192mediumvioletred | #a62192mediumvioletred |
| Secondary foreground | #fefbfewhite | #fefbfewhite |
| Muted | #f2e3f0lavender | #1c0d1ablack |
| Muted foreground | #473945darkslategray | #c6b8c4silver |
| Accent | #92a621yellowgreen | #92a621yellowgreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #ac170cfirebrick | #ef281aorangered |
| Destructive foreground | #feedeclinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2192a6lightseagreen | #2192a6lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 3.66:1 | AA Large |
| Secondary button | 6.28:1 | AA |
| Muted text | 8.78:1 | AAA |
| Accent | 7.70:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 3.66:1 | AA Large |
| Secondary button | 6.28:1 | AA |
| Muted text | 9.86:1 | AAA |
| Accent | 7.70:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Several in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 209.463);
--foreground: oklch(0.122 0.014 205.87);
--muted: oklch(0.932 0.024 330.569);
--muted-foreground: oklch(0.363 0.028 331.193);
--popover: oklch(0.987 0.004 209.457);
--popover-foreground: oklch(0.097 0.011 205.87);
--card: oklch(0.987 0.004 209.457);
--card-foreground: oklch(0.097 0.011 205.87);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.609 0.099 212.846);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.51 0.203 335.317);
--secondary-foreground: oklch(0.991 0.005 330.315);
--accent: oklch(0.687 0.15 118.325);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.476 0.183 29.704);
--destructive-foreground: oklch(0.959 0.018 22.433);
--ring: oklch(0.609 0.099 212.846);
--chart-1: oklch(0.609 0.099 212.846);
--chart-2: oklch(0.51 0.203 335.317);
--chart-3: oklch(0.687 0.15 118.325);
--chart-4: oklch(0.538 0.215 335.351);
--chart-5: oklch(0.615 0.101 213.144);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 206.733);
--foreground: oklch(0.98 0.005 209.455);
--muted: oklch(0.186 0.035 332.461);
--muted-foreground: oklch(0.799 0.023 330.609);
--popover: oklch(0.12 0.01 206.733);
--popover-foreground: oklch(0.986 0.003 209.459);
--card: oklch(0.12 0.01 206.733);
--card-foreground: oklch(0.986 0.003 209.459);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.609 0.099 212.846);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.51 0.203 335.317);
--secondary-foreground: oklch(0.991 0.005 330.315);
--accent: oklch(0.687 0.15 118.325);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.612 0.232 29.631);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.609 0.099 212.846);
--chart-1: oklch(0.609 0.099 212.846);
--chart-2: oklch(0.51 0.203 335.317);
--chart-3: oklch(0.687 0.15 118.325);
--chart-4: oklch(0.538 0.215 335.351);
--chart-5: oklch(0.615 0.101 213.144);
}