Butler is a shadcn/ui theme built around a vivid light teal primary color (#b2f5ed) with muted light teal accents (#cce1de). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#b2f5ed) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #000000black |
| Foreground | #031614black | #ffffffwhite |
| Card | #f7fdfcmintcream | #030303black |
| Card foreground | #031210black | #ffffffwhite |
| Popover | #f7fdfcmintcream | #030303black |
| Popover foreground | #031210black | #ffffffwhite |
| Primary | #b2f5edpaleturquoise | #b2f5edpaleturquoise |
| Primary foreground | #020e0cblack | #020e0cblack |
| Secondary | #e0ebe9lavender | #263634darkslategray |
| Secondary foreground | #3d5c58darkslategray | #bdd1cflightgrey |
| Muted | #d7dbdagainsboro | #242828darkslategray |
| Muted foreground | #505e5cdimgray | #a1afaedarkgray |
| Accent | #cce1degainsboro | #2b4a47darkslategray |
| Accent foreground | #2d4d49darkslategray | #c8dfddlightgrey |
| Destructive | #6e0202maroon | #fb3737tomato |
| Destructive foreground | #fda5a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b2f5edpaleturquoise | #b2f5edpaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.33:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 16.05:1 | AAA |
| Secondary button | 5.99:1 | AA |
| Muted text | 4.84:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 6.63:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 16.05:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 6.89:1 | AA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Butler in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 188.835);
--foreground: oklch(0.184 0.027 185.438);
--muted: oklch(0.887 0.004 188.798);
--muted-foreground: oklch(0.468 0.017 188.013);
--popover: oklch(0.989 0.006 188.758);
--popover-foreground: oklch(0.166 0.024 186.159);
--card: oklch(0.989 0.006 188.758);
--card-foreground: oklch(0.166 0.024 186.159);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.924 0.067 187.074);
--primary-foreground: oklch(0.148 0.021 187.144);
--secondary: oklch(0.931 0.011 188.629);
--secondary-foreground: oklch(0.449 0.037 186.837);
--accent: oklch(0.893 0.023 188.296);
--accent-foreground: oklch(0.395 0.038 186.374);
--destructive: oklch(0.339 0.137 28.883);
--destructive-foreground: oklch(0.809 0.105 19.602);
--ring: oklch(0.924 0.067 187.074);
--chart-1: oklch(0.924 0.067 187.074);
--chart-2: oklch(0.931 0.011 188.629);
--chart-3: oklch(0.893 0.023 188.296);
--chart-4: oklch(0.952 0.008 188.718);
--chart-5: oklch(0.926 0.07 187.009);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.273 0.006 188.423);
--muted-foreground: oklch(0.743 0.016 188.405);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--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.924 0.067 187.074);
--primary-foreground: oklch(0.148 0.021 187.144);
--secondary: oklch(0.318 0.022 187.189);
--secondary-foreground: oklch(0.845 0.022 188.284);
--accent: oklch(0.385 0.038 186.306);
--accent-foreground: oklch(0.887 0.025 188.227);
--destructive: oklch(0.645 0.23 26.609);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.924 0.067 187.074);
--chart-1: oklch(0.924 0.067 187.074);
--chart-2: oklch(0.318 0.022 187.189);
--chart-3: oklch(0.385 0.038 186.306);
--chart-4: oklch(0.351 0.025 187.135);
--chart-5: oklch(0.926 0.07 187.009);
}