Somebody is a shadcn/ui theme built around a neutral gray primary color (#252827) with neutral gray accents (#282725). The light mode uses a neutral background (#fbfefd). Dark mode keeps the neutral gray primary (#252827) on a neutral background (#030807).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030807black |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #fbfefdwhite | #030807black |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #fbfefdwhite | #030807black |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #252827darkslategray | #252827darkslategray |
| Primary foreground | #bdc2c1silver | #bdc2c1silver |
| Secondary | #272528darkslategray | #272528darkslategray |
| Secondary foreground | #c1bdc2silver | #c1bdc2silver |
| Muted | #efe5f0lavender | #180f1ablack |
| Muted foreground | #4a494bdarkslategray | #b6b4b6silver |
| Accent | #282725darkslategray | #282725darkslategray |
| Accent foreground | #c2c1bdsilver | #c2c1bdsilver |
| Destructive | #8e1b01darkred | #fe4820orangered |
| Destructive foreground | #ffcdc2peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #252827darkslategray | #252827darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.26:1 | AAA |
| Destructive | 6.40:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 9.08:1 | AAA |
| Accent | 8.26:1 | AAA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Somebody in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 186.532);
--foreground: oklch(0.099 0.011 186.162);
--muted: oklch(0.932 0.018 321.108);
--muted-foreground: oklch(0.408 0.003 321.081);
--popover: oklch(0.994 0.002 186.532);
--popover-foreground: oklch(0.099 0.011 186.162);
--card: oklch(0.994 0.002 186.532);
--card-foreground: oklch(0.099 0.011 186.162);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.273 0.004 186.173);
--primary-foreground: oklch(0.809 0.006 186.414);
--secondary: oklch(0.267 0.007 321.12);
--secondary-foreground: oklch(0.802 0.009 321.088);
--accent: oklch(0.274 0.005 98.557);
--accent-foreground: oklch(0.81 0.006 98.423);
--destructive: oklch(0.42 0.154 33.149);
--destructive-foreground: oklch(0.889 0.058 32.83);
--ring: oklch(0.273 0.004 186.173);
--chart-1: oklch(0.273 0.004 186.173);
--chart-2: oklch(0.267 0.007 321.12);
--chart-3: oklch(0.274 0.005 98.557);
--chart-4: oklch(0.298 0.008 321.122);
--chart-5: oklch(0.275 0.008 185.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.012 186.215);
--foreground: oklch(0.993 0.001 186.573);
--muted: oklch(0.186 0.027 321.347);
--muted-foreground: oklch(0.772 0.002 321.072);
--popover: oklch(0.124 0.012 186.215);
--popover-foreground: oklch(0.993 0.001 186.573);
--card: oklch(0.124 0.012 186.215);
--card-foreground: oklch(0.993 0.001 186.573);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.273 0.004 186.173);
--primary-foreground: oklch(0.809 0.006 186.414);
--secondary: oklch(0.267 0.007 321.12);
--secondary-foreground: oklch(0.802 0.009 321.088);
--accent: oklch(0.274 0.005 98.557);
--accent-foreground: oklch(0.81 0.006 98.423);
--destructive: oklch(0.662 0.223 33.613);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.273 0.004 186.173);
--chart-1: oklch(0.273 0.004 186.173);
--chart-2: oklch(0.267 0.007 321.12);
--chart-3: oklch(0.274 0.005 98.557);
--chart-4: oklch(0.298 0.008 321.122);
--chart-5: oklch(0.275 0.008 185.866);
}