βui - Minimal Yellow is a shadcn/ui theme built around a neutral gray primary color (#d4d4d4) with muted blue accents (#484f60). The light mode uses a blue-tinted background (#272b34). Dark mode keeps the neutral gray primary (#d4d4d4) on a blue-tinted background (#272b34).
| Token | Light | Dark |
|---|---|---|
| Background | #272b34darkslategray | #272b34darkslategray |
| Foreground | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Card | #23272fdarkslategray | #23272fdarkslategray |
| Card foreground | #e0e0e0gainsboro | #e0e0e0gainsboro |
| Popover | #21242cdarkslategray | #21242cdarkslategray |
| Popover foreground | #edededwhitesmoke | #edededwhitesmoke |
| Primary | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Primary foreground | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #31353fdarkslategray | #31353fdarkslategray |
| Muted foreground | #afb4c0silver | #afb4c0silver |
| Accent | #484f60darkslategray | #484f60darkslategray |
| Accent foreground | #ebecf0lavender | #ebecf0lavender |
| Destructive | #ff2119red | #ff2119red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #383a3ddarkslategray | #383a3ddarkslategray |
| Input | #404145darkslategray | #404145darkslategray |
| Ring | #d4d4d4lightgrey | #d4d4d4lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.51:1 | AAA |
| Text on card | 11.39:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 6.89:1 | AA |
| Destructive | 3.82:1 | AA Large |
| Text on background | 9.51:1 | AAA |
| Text on card | 11.39:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 6.89:1 | AA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use βui - Minimal Yellow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.29 0.017 266.97);
--foreground: oklch(0.869 0 165.964);
--muted: oklch(0.33 0.018 267.029);
--muted-foreground: oklch(0.77 0.018 267.27);
--popover: oklch(0.261 0.015 266.995);
--popover-foreground: oklch(0.947 0 180);
--card: oklch(0.271 0.016 266.986);
--card-foreground: oklch(0.908 0 180);
--border: oklch(0.347 0.006 267.313);
--input: oklch(0.376 0.007 267.31);
--primary: oklch(0.869 0 165.964);
--primary-foreground: oklch(0.351 0 167.471);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.429 0.029 266.899);
--accent-foreground: oklch(0.943 0.005 267.389);
--destructive: oklch(0.637 0.248 28.997);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0 165.964);
--chart-1: oklch(0.869 0 165.964);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.429 0.029 266.899);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.867 0.003 17.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.29 0.017 266.97);
--foreground: oklch(0.869 0 165.964);
--muted: oklch(0.33 0.018 267.029);
--muted-foreground: oklch(0.77 0.018 267.27);
--popover: oklch(0.261 0.015 266.995);
--popover-foreground: oklch(0.947 0 180);
--card: oklch(0.271 0.016 266.986);
--card-foreground: oklch(0.908 0 180);
--border: oklch(0.347 0.006 267.313);
--input: oklch(0.376 0.007 267.31);
--primary: oklch(0.869 0 165.964);
--primary-foreground: oklch(0.351 0 167.471);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.429 0.029 266.899);
--accent-foreground: oklch(0.943 0.005 267.389);
--destructive: oklch(0.637 0.248 28.997);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0 165.964);
--chart-1: oklch(0.869 0 165.964);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.429 0.029 266.899);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.867 0.003 17.213);
}