Boring is a shadcn/ui theme built around a light teal primary color (#effbf9) with light yellow accents (#fbf9ef). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#effbf9) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020303black |
| Foreground | #031614black | #f8fbfbghostwhite |
| Card | #f7fdfcmintcream | #030706black |
| Card foreground | #031210black | #fcfdfdwhite |
| Popover | #f7fdfcmintcream | #030706black |
| Popover foreground | #031210black | #fcfdfdwhite |
| Primary | #effbf9aliceblue | #effbf9aliceblue |
| Primary foreground | #11403bdarkslategray | #11403bdarkslategray |
| Secondary | #f9effblavenderblush | #f9effblavenderblush |
| Secondary foreground | #852791rebeccapurple | #852791rebeccapurple |
| Muted | #ece9eclavender | #151316black |
| Muted foreground | #6a556ddimgray | #a792aadarkgray |
| Accent | #fbf9effloralwhite | #fbf9effloralwhite |
| Accent foreground | #403b11darkolivegreen | #403b11darkolivegreen |
| Destructive | #ab2b12firebrick | #e94e2ftomato |
| Destructive foreground | #fef3f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #effbf9aliceblue | #effbf9aliceblue |
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 | 10.87:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.56:1 | AA |
| Accent | 10.76:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 10.87:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 6.44:1 | AA |
| Accent | 10.76:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Boring 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.937 0.005 322.13);
--muted-foreground: oklch(0.48 0.045 322.416);
--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.978 0.013 188.603);
--primary-foreground: oklch(0.34 0.051 184.192);
--secondary: oklch(0.963 0.019 322.18);
--secondary-foreground: oklch(0.462 0.18 322.781);
--accent: oklch(0.981 0.014 100.544);
--accent-foreground: oklch(0.348 0.06 101.768);
--destructive: oklch(0.49 0.168 32.914);
--destructive-foreground: oklch(0.972 0.011 31.067);
--ring: oklch(0.978 0.013 188.603);
--chart-1: oklch(0.978 0.013 188.603);
--chart-2: oklch(0.963 0.019 322.18);
--chart-3: oklch(0.981 0.014 100.544);
--chart-4: oklch(0.991 0.005 322.129);
--chart-5: oklch(0.979 0.013 188.588);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 188.484);
--foreground: oklch(0.987 0.003 188.834);
--muted: oklch(0.191 0.007 322.235);
--muted-foreground: oklch(0.687 0.041 322.311);
--popover: oklch(0.121 0.009 188.484);
--popover-foreground: oklch(0.993 0.002 188.872);
--card: oklch(0.121 0.009 188.484);
--card-foreground: oklch(0.993 0.002 188.872);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.978 0.013 188.603);
--primary-foreground: oklch(0.34 0.051 184.192);
--secondary: oklch(0.963 0.019 322.18);
--secondary-foreground: oklch(0.462 0.18 322.781);
--accent: oklch(0.981 0.014 100.544);
--accent-foreground: oklch(0.348 0.06 101.768);
--destructive: oklch(0.635 0.196 33.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.978 0.013 188.603);
--chart-1: oklch(0.978 0.013 188.603);
--chart-2: oklch(0.963 0.019 322.18);
--chart-3: oklch(0.981 0.014 100.544);
--chart-4: oklch(0.991 0.005 322.129);
--chart-5: oklch(0.979 0.013 188.588);
}