Someone is a shadcn/ui theme built around a deep indigo primary color (#07060f) with deep green accents (#0d0f06). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#07060f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080613black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #080613black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080613black | #ffffffwhite |
| Primary | #07060fblack | #07060fblack |
| Primary foreground | #c9c4e9thistle | #c9c4e9thistle |
| Secondary | #0d0f06black | #0d0f06black |
| Secondary foreground | #94a33eyellowgreen | #94a33eyellowgreen |
| Muted | #eeefe6linen | #181910black |
| Muted foreground | #484941darkslategray | #bdbeb6silver |
| Accent | #0d0f06black | #0d0f06black |
| Accent foreground | #94a33eyellowgreen | #94a33eyellowgreen |
| Destructive | #a3210afirebrick | #f14627orangered |
| Destructive foreground | #fde6e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07060fblack | #07060fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.08:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 12.07:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 7.86:1 | AAA |
| Accent | 6.95:1 | AA |
| Destructive | 6.32:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 12.07:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 9.46:1 | AAA |
| Accent | 6.95:1 | AA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Someone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.029 290.035);
--muted: oklch(0.949 0.012 113.542);
--muted-foreground: oklch(0.401 0.014 113.936);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.029 290.035);
--card: oklch(1 0 180);
--card-foreground: oklch(0.136 0.029 290.035);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.128 0.022 291.323);
--primary-foreground: oklch(0.836 0.051 292.135);
--secondary: oklch(0.162 0.019 115.048);
--secondary-foreground: oklch(0.682 0.127 117.098);
--accent: oklch(0.162 0.019 115.048);
--accent-foreground: oklch(0.682 0.127 117.098);
--destructive: oklch(0.466 0.168 32.028);
--destructive-foreground: oklch(0.943 0.026 29.584);
--ring: oklch(0.128 0.022 291.323);
--chart-1: oklch(0.128 0.022 291.323);
--chart-2: oklch(0.162 0.019 115.048);
--chart-3: oklch(0.162 0.019 115.048);
--chart-4: oklch(0.21 0.029 115.961);
--chart-5: oklch(0.126 0.024 291.14);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.017 114.831);
--muted-foreground: oklch(0.799 0.012 113.575);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.128 0.022 291.323);
--primary-foreground: oklch(0.836 0.051 292.135);
--secondary: oklch(0.162 0.019 115.048);
--secondary-foreground: oklch(0.682 0.127 117.098);
--accent: oklch(0.162 0.019 115.048);
--accent-foreground: oklch(0.682 0.127 117.098);
--destructive: oklch(0.639 0.213 32.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.128 0.022 291.323);
--chart-1: oklch(0.128 0.022 291.323);
--chart-2: oklch(0.162 0.019 115.048);
--chart-3: oklch(0.162 0.019 115.048);
--chart-4: oklch(0.21 0.029 115.961);
--chart-5: oklch(0.126 0.024 291.14);
}