Lobotomy is a shadcn/ui theme built around a deep teal primary color (#14574b) with neutral gray accents (#cdd0cf). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#14574b) on a teal-tinted background (#030c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030c0ablack |
| Foreground | #010908black | #ffffffwhite |
| Card | #fbfefdwhite | #030c0ablack |
| Card foreground | #010908black | #ffffffwhite |
| Popover | #fbfefdwhite | #030c0ablack |
| Popover foreground | #010908black | #ffffffwhite |
| Primary | #14574bdarkslategray | #14574bdarkslategray |
| Primary foreground | #b0ede2paleturquoise | #b0ede2paleturquoise |
| Secondary | #cdd0cflightgrey | #1c2120black |
| Secondary foreground | #343737darkslategray | #b3bdbbsilver |
| Muted | #e6f4f2honeydew | #0b1916black |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #cdd0cflightgrey | #1c2120black |
| Accent foreground | #343737darkslategray | #b3bdbbsilver |
| Destructive | #ae1913firebrick | #dc1f18crimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #14574bdarkslategray | #14574bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.85:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 8.79:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 4.92:1 | AA |
Paste this into your globals.css to use Lobotomy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 184.23);
--foreground: oklch(0.128 0.019 184.012);
--muted: oklch(0.957 0.015 183.876);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.994 0.003 184.23);
--popover-foreground: oklch(0.128 0.019 184.012);
--card: oklch(0.994 0.003 184.23);
--card-foreground: oklch(0.128 0.019 184.012);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.413 0.068 177.562);
--primary-foreground: oklch(0.902 0.064 182.277);
--secondary: oklch(0.855 0.003 184.21);
--secondary-foreground: oklch(0.334 0.005 183.947);
--accent: oklch(0.855 0.003 184.21);
--accent-foreground: oklch(0.334 0.005 183.947);
--destructive: oklch(0.483 0.184 28.719);
--destructive-foreground: oklch(0.979 0.008 19.727);
--ring: oklch(0.413 0.068 177.562);
--chart-1: oklch(0.413 0.068 177.562);
--chart-2: oklch(0.855 0.003 184.21);
--chart-3: oklch(0.855 0.003 184.21);
--chart-4: oklch(0.878 0.003 184.229);
--chart-5: oklch(0.418 0.07 177.268);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.017 183.391);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.021 181.103);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.144 0.017 183.391);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.017 183.391);
--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.413 0.068 177.562);
--primary-foreground: oklch(0.902 0.064 182.277);
--secondary: oklch(0.242 0.006 183.582);
--secondary-foreground: oklch(0.789 0.011 183.923);
--accent: oklch(0.242 0.006 183.582);
--accent-foreground: oklch(0.789 0.011 183.923);
--destructive: oklch(0.573 0.22 28.847);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.413 0.068 177.562);
--chart-1: oklch(0.413 0.068 177.562);
--chart-2: oklch(0.242 0.006 183.582);
--chart-3: oklch(0.242 0.006 183.582);
--chart-4: oklch(0.275 0.008 183.534);
--chart-5: oklch(0.418 0.07 177.268);
}