Some is a shadcn/ui theme built around a vivid blue primary color (#1064b2) with vivid indigo accents (#1012b2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1064b2) on a blue-tinted background (#04080c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04080cblack |
| Foreground | #010304black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #050a0fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #050a0fblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1064b2darkcyan | #1064b2darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #10b2b0lightseagreen | #10b2b0lightseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #e6f4f4whitesmoke | #0b1919black |
| Muted foreground | #5b6b6bdimgray | #94a4a3darkgray |
| Accent | #1012b2mediumblue | #1012b2mediumblue |
| Accent foreground | #f6f6feghostwhite | #f6f6feghostwhite |
| Destructive | #641f02maroon | #fa4f05orangered |
| Destructive foreground | #fdb89bburlywood | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1064b2darkcyan | #1064b2darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 11.13:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.62:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 11.13:1 | AAA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Some in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.089 0.012 236.621);
--muted: oklch(0.957 0.015 195.7);
--muted-foreground: oklch(0.516 0.019 195.337);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.5 0.145 252.706);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.692 0.117 192.842);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.36 0.229 266.389);
--accent-foreground: oklch(0.975 0.011 285.41);
--destructive: oklch(0.345 0.106 40.082);
--destructive-foreground: oklch(0.84 0.089 44.169);
--ring: oklch(0.5 0.145 252.706);
--chart-1: oklch(0.5 0.145 252.706);
--chart-2: oklch(0.692 0.117 192.842);
--chart-3: oklch(0.36 0.229 266.389);
--chart-4: oklch(0.732 0.124 192.832);
--chart-5: oklch(0.502 0.149 253.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.013 239.274);
--foreground: oklch(0.992 0.001 245.977);
--muted: oklch(0.2 0.02 194.317);
--muted-foreground: oklch(0.705 0.018 195.534);
--popover: oklch(0.143 0.015 242.724);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.143 0.015 242.724);
--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.5 0.145 252.706);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.692 0.117 192.842);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.36 0.229 266.389);
--accent-foreground: oklch(0.975 0.011 285.41);
--destructive: oklch(0.661 0.217 37.426);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.5 0.145 252.706);
--chart-1: oklch(0.5 0.145 252.706);
--chart-2: oklch(0.692 0.117 192.842);
--chart-3: oklch(0.36 0.229 266.389);
--chart-4: oklch(0.732 0.124 192.832);
--chart-5: oklch(0.502 0.149 253.102);
}