Several is a shadcn/ui theme built around a neutral gray primary color (#949890) with neutral gray accents (#909890). The light mode uses a neutral background (#fafdf7). Dark mode keeps the neutral gray primary (#949890) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #030401black |
| Foreground | #030401black | #f7faf5whitesmoke |
| Card | #f7fcf2whitesmoke | #050703black |
| Card foreground | #000000black | #fafcf8snow |
| Popover | #f7fcf2whitesmoke | #050703black |
| Popover foreground | #000000black | #fafcf8snow |
| Primary | #949890lightslategray | #949890lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #989890darkgray | #989890darkgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e5e5d1gainsboro | #2e2e1adarkslategray |
| Muted foreground | #5d5d51dimgray | #aeaea2darkgray |
| Accent | #909890lightslategray | #909890lightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #811d09maroon | #f15232tomato |
| Destructive foreground | #fbcbc1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #949890lightslategray | #949890lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Several in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 128.566);
--foreground: oklch(0.102 0.019 127.1);
--muted: oklch(0.917 0.027 106.913);
--muted-foreground: oklch(0.474 0.019 107.102);
--popover: oklch(0.986 0.014 128.62);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.014 128.62);
--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.674 0.013 128.682);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.012 106.724);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.671 0.016 145.396);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.397 0.138 32.834);
--destructive-foreground: oklch(0.88 0.057 31.309);
--ring: oklch(0.674 0.013 128.682);
--chart-1: oklch(0.674 0.013 128.682);
--chart-2: oklch(0.678 0.012 106.724);
--chart-3: oklch(0.671 0.016 145.396);
--chart-4: oklch(0.702 0.011 106.689);
--chart-5: oklch(0.68 0.023 128.846);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.013 127.51);
--foreground: oklch(0.982 0.008 128.549);
--muted: oklch(0.294 0.033 108.291);
--muted-foreground: oklch(0.749 0.017 106.804);
--popover: oklch(0.125 0.016 127.51);
--popover-foreground: oklch(0.988 0.005 128.519);
--card: oklch(0.125 0.016 127.51);
--card-foreground: oklch(0.988 0.005 128.519);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.674 0.013 128.682);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.012 106.724);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.671 0.016 145.396);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.652 0.201 33.204);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.674 0.013 128.682);
--chart-1: oklch(0.674 0.013 128.682);
--chart-2: oklch(0.678 0.012 106.724);
--chart-3: oklch(0.671 0.016 145.396);
--chart-4: oklch(0.702 0.011 106.689);
--chart-5: oklch(0.68 0.023 128.846);
}