βui - Ayu Light is a shadcn/ui theme built around a vivid orange primary color (#9b3908) with neutral gray accents (#d4d4d4). The light mode uses a neutral background (#fafafa). Dark mode keeps the vivid orange primary (#9b3908) on a neutral background (#fafafa).
| Token | Light | Dark |
|---|---|---|
| Background | #fafafasnow | #fafafasnow |
| Foreground | #5c6066dimgray | #5c6066dimgray |
| Card | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Card foreground | #505358darkslategray | #505358darkslategray |
| Popover | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Popover foreground | #44474bdarkslategray | #44474bdarkslategray |
| Primary | #9b3908saddlebrown | #9b3908saddlebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2b9acsilver | #d2b9acsilver |
| Secondary foreground | #32221bblack | #32221bblack |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d4d4d4lightgrey | #d4d4d4lightgrey |
| Accent foreground | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Destructive | #61170amaroon | #61170amaroon |
| Destructive foreground | #f6b3a7lightpink | #f6b3a7lightpink |
| Border | #edededwhitesmoke | #edededwhitesmoke |
| Input | #e6e6e6gainsboro | #e6e6e6gainsboro |
| Ring | #9b3908saddlebrown | #9b3908saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.05:1 | AA |
| Text on card | 7.07:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.28:1 | AAA |
| Text on background | 6.05:1 | AA |
| Text on card | 7.07:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.28:1 | AAA |
Paste this into your globals.css to use βui - Ayu Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0 180);
--foreground: oklch(0.487 0.01 258.356);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.962 0 180);
--popover-foreground: oklch(0.396 0.008 258.355);
--card: oklch(0.97 0 180);
--card-foreground: oklch(0.442 0.009 258.356);
--border: oklch(0.947 0 180);
--input: oklch(0.923 0 153.435);
--primary: oklch(0.478 0.141 41.342);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.804 0.034 48.272);
--secondary-foreground: oklch(0.27 0.027 47.683);
--accent: oklch(0.869 0 165.964);
--accent-foreground: oklch(0.351 0 167.471);
--destructive: oklch(0.329 0.108 32.373);
--destructive-foreground: oklch(0.826 0.08 30.127);
--ring: oklch(0.478 0.141 41.342);
--chart-1: oklch(0.478 0.141 41.342);
--chart-2: oklch(0.804 0.034 48.272);
--chart-3: oklch(0.869 0 165.964);
--chart-4: oklch(0.828 0.03 48.339);
--chart-5: oklch(0.481 0.145 40.905);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.985 0 180);
--foreground: oklch(0.487 0.01 258.356);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.962 0 180);
--popover-foreground: oklch(0.396 0.008 258.355);
--card: oklch(0.97 0 180);
--card-foreground: oklch(0.442 0.009 258.356);
--border: oklch(0.947 0 180);
--input: oklch(0.923 0 153.435);
--primary: oklch(0.478 0.141 41.342);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.804 0.034 48.272);
--secondary-foreground: oklch(0.27 0.027 47.683);
--accent: oklch(0.869 0 165.964);
--accent-foreground: oklch(0.351 0 167.471);
--destructive: oklch(0.329 0.108 32.373);
--destructive-foreground: oklch(0.826 0.08 30.127);
--ring: oklch(0.478 0.141 41.342);
--chart-1: oklch(0.478 0.141 41.342);
--chart-2: oklch(0.804 0.034 48.272);
--chart-3: oklch(0.869 0 165.964);
--chart-4: oklch(0.828 0.03 48.339);
--chart-5: oklch(0.481 0.145 40.905);
}