Several is a shadcn/ui theme built around a deep orange primary color (#3b190c) with deep violet accents (#190c3b). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#3b190c) on an orange-tinted background (#0e0806).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0806black |
| Foreground | #140a06black | #fbf9f9snow |
| Card | #ffffffwhite | #0e0806black |
| Card foreground | #140a06black | #fbf9f9snow |
| Popover | #ffffffwhite | #0e0806black |
| Popover foreground | #140a06black | #fbf9f9snow |
| Primary | #3b190cblack | #3b190cblack |
| Primary foreground | #e8a891burlywood | #e8a891burlywood |
| Secondary | #0c3b19darkgreen | #0c3b19darkgreen |
| Secondary foreground | #3cd766mediumseagreen | #3cd766mediumseagreen |
| Muted | #d5ecdbgainsboro | #132a19black |
| Muted foreground | #3f4641darkslategray | #b9c0bbsilver |
| Accent | #190c3bmidnightblue | #190c3bmidnightblue |
| Accent foreground | #a891e8mediumpurple | #a891e8mediumpurple |
| Destructive | #a6190cfirebrick | #e42311crimson |
| Destructive foreground | #fde9e7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3b190cblack | #3b190cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 6.68:1 | AA |
| Muted text | 7.77:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 6.68:1 | AA |
| Muted text | 8.24:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Several in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.156 0.02 43.824);
--muted: oklch(0.921 0.033 153.885);
--muted-foreground: oklch(0.385 0.012 153.97);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.156 0.02 43.824);
--card: oklch(1 0 180);
--card-foreground: oklch(0.156 0.02 43.824);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.26 0.059 40.141);
--primary-foreground: oklch(0.787 0.083 40.835);
--secondary: oklch(0.313 0.078 148.41);
--secondary-foreground: oklch(0.776 0.201 148.008);
--accent: oklch(0.208 0.085 289.021);
--accent-foreground: oklch(0.712 0.127 295.252);
--destructive: oklch(0.466 0.176 30.078);
--destructive-foreground: oklch(0.95 0.022 23.821);
--ring: oklch(0.26 0.059 40.141);
--chart-1: oklch(0.26 0.059 40.141);
--chart-2: oklch(0.313 0.078 148.41);
--chart-3: oklch(0.208 0.085 289.021);
--chart-4: oklch(0.354 0.091 148.134);
--chart-5: oklch(0.261 0.061 40.017);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.013 44.882);
--foreground: oklch(0.984 0.002 41.289);
--muted: oklch(0.26 0.043 151.108);
--muted-foreground: oklch(0.801 0.01 154.307);
--popover: oklch(0.143 0.013 44.882);
--popover-foreground: oklch(0.984 0.002 41.289);
--card: oklch(0.143 0.013 44.882);
--card-foreground: oklch(0.984 0.002 41.289);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.26 0.059 40.141);
--primary-foreground: oklch(0.787 0.083 40.835);
--secondary: oklch(0.313 0.078 148.41);
--secondary-foreground: oklch(0.776 0.201 148.008);
--accent: oklch(0.208 0.085 289.021);
--accent-foreground: oklch(0.712 0.127 295.252);
--destructive: oklch(0.588 0.225 30.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.26 0.059 40.141);
--chart-1: oklch(0.26 0.059 40.141);
--chart-2: oklch(0.313 0.078 148.41);
--chart-3: oklch(0.208 0.085 289.021);
--chart-4: oklch(0.354 0.091 148.134);
--chart-5: oklch(0.261 0.061 40.017);
}