Lobotomy is a shadcn/ui theme built around a muted light green primary color (#dde6db) with muted light purple accents (#e4dbe6). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the muted light green primary (#dde6db) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #000000black |
| Foreground | #020401black | #fcfdfcwhite |
| Card | #f5fbf4whitesmoke | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcf8mintcream | #000000black |
| Popover foreground | #020401black | #fcfdfcwhite |
| Primary | #dde6dbgainsboro | #dde6dbgainsboro |
| Primary foreground | #40543bdarkslategray | #40543bdarkslategray |
| Secondary | #e4dbe6gainsboro | #e4dbe6gainsboro |
| Secondary foreground | #4f3b54darkslategray | #4f3b54darkslategray |
| Muted | #eae4eclavender | #19131bblack |
| Muted foreground | #504e50darkslategray | #b0afb1darkgray |
| Accent | #e4dbe6gainsboro | #e4dbe6gainsboro |
| Accent foreground | #4f3b54darkslategray | #4f3b54darkslategray |
| Destructive | #890301darkred | #fe0a06red |
| Destructive foreground | #ffbebdlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dde6dbgainsboro | #dde6dbgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 8.34:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Lobotomy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 139.442);
--foreground: oklch(0.098 0.017 137.751);
--muted: oklch(0.926 0.012 319.448);
--muted-foreground: oklch(0.427 0.003 319.446);
--popover: oklch(0.988 0.007 139.442);
--popover-foreground: oklch(0.098 0.017 137.751);
--card: oklch(0.982 0.011 139.441);
--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.915 0.017 139.439);
--primary-foreground: oklch(0.422 0.049 139.444);
--secondary: oklch(0.901 0.018 319.45);
--secondary-foreground: oklch(0.383 0.05 319.462);
--accent: oklch(0.901 0.018 319.45);
--accent-foreground: oklch(0.383 0.05 319.462);
--destructive: oklch(0.397 0.161 29.442);
--destructive-foreground: oklch(0.86 0.075 19.833);
--ring: oklch(0.915 0.017 139.439);
--chart-1: oklch(0.915 0.017 139.439);
--chart-2: oklch(0.901 0.018 319.45);
--chart-3: oklch(0.901 0.018 319.45);
--chart-4: oklch(0.926 0.013 319.448);
--chart-5: oklch(0.916 0.02 139.438);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 139.444);
--muted: oklch(0.198 0.018 319.464);
--muted-foreground: oklch(0.756 0.003 319.445);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 139.444);
--card: oklch(0.092 0 180);
--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.915 0.017 139.439);
--primary-foreground: oklch(0.422 0.049 139.444);
--secondary: oklch(0.901 0.018 319.45);
--secondary-foreground: oklch(0.383 0.05 319.462);
--accent: oklch(0.901 0.018 319.45);
--accent-foreground: oklch(0.383 0.05 319.462);
--destructive: oklch(0.628 0.255 29.202);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.915 0.017 139.439);
--chart-1: oklch(0.915 0.017 139.439);
--chart-2: oklch(0.901 0.018 319.45);
--chart-3: oklch(0.901 0.018 319.45);
--chart-4: oklch(0.926 0.013 319.448);
--chart-5: oklch(0.916 0.02 139.438);
}