βui - Nova is a shadcn/ui theme built around a green primary color (#5d8f42) with muted blue accents (#5b7380). The light mode uses a blue-tinted background (#3b4b54). Dark mode keeps the green primary (#5d8f42) on a blue-tinted background (#3b4b54).
| Token | Light | Dark |
|---|---|---|
| Background | #3b4b54darkslategray | #3b4b54darkslategray |
| Foreground | #c5d4ddlightgrey | #c5d4ddlightgrey |
| Card | #37454edarkslategray | #37454edarkslategray |
| Card foreground | #d5e0e6gainsboro | #d5e0e6gainsboro |
| Popover | #35434bdarkslategray | #35434bdarkslategray |
| Popover foreground | #e5ecf0lavender | #e5ecf0lavender |
| Primary | #5d8f42olivedrab | #5d8f42olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bad0aesilver | #bad0aesilver |
| Secondary foreground | #23311cdarkslategray | #23311cdarkslategray |
| Muted | #48545bdarkslategray | #48545bdarkslategray |
| Muted foreground | #c6ced2lightgrey | #c6ced2lightgrey |
| Accent | #5b7380dimgray | #5b7380dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #f53d3dtomato | #f53d3dtomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #4e565adarkslategray | #4e565adarkslategray |
| Input | #555e62dimgray | #555e62dimgray |
| Ring | #5d8f42olivedrab | #5d8f42olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.98:1 | AA |
| Text on card | 7.33:1 | AAA |
| Primary button | 3.82:1 | AA Large |
| Secondary button | 8.35:1 | AAA |
| Muted text | 4.87:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 3.74:1 | AA Large |
| Text on background | 5.98:1 | AA |
| Text on card | 7.33:1 | AAA |
| Primary button | 3.82:1 | AA Large |
| Secondary button | 8.35:1 | AAA |
| Muted text | 4.87:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use βui - Nova in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.402 0.025 233.598);
--foreground: oklch(0.861 0.02 234.857);
--muted: oklch(0.439 0.02 233.281);
--muted-foreground: oklch(0.846 0.011 232.758);
--popover: oklch(0.373 0.022 233.575);
--popover-foreground: oklch(0.939 0.009 234.643);
--card: oklch(0.382 0.023 233.584);
--card-foreground: oklch(0.9 0.015 234.743);
--border: oklch(0.447 0.012 232.972);
--input: oklch(0.475 0.013 232.977);
--primary: oklch(0.597 0.121 135.793);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.833 0.053 134.591);
--secondary-foreground: oklch(0.293 0.04 135.119);
--accent: oklch(0.54 0.035 233.672);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.22 26.017);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.597 0.121 135.793);
--chart-1: oklch(0.597 0.121 135.793);
--chart-2: oklch(0.833 0.053 134.591);
--chart-3: oklch(0.54 0.035 233.672);
--chart-4: oklch(0.853 0.046 134.534);
--chart-5: oklch(0.604 0.13 135.943);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.402 0.025 233.598);
--foreground: oklch(0.861 0.02 234.857);
--muted: oklch(0.439 0.02 233.281);
--muted-foreground: oklch(0.846 0.011 232.758);
--popover: oklch(0.373 0.022 233.575);
--popover-foreground: oklch(0.939 0.009 234.643);
--card: oklch(0.382 0.023 233.584);
--card-foreground: oklch(0.9 0.015 234.743);
--border: oklch(0.447 0.012 232.972);
--input: oklch(0.475 0.013 232.977);
--primary: oklch(0.597 0.121 135.793);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.833 0.053 134.591);
--secondary-foreground: oklch(0.293 0.04 135.119);
--accent: oklch(0.54 0.035 233.672);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.22 26.017);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.597 0.121 135.793);
--chart-1: oklch(0.597 0.121 135.793);
--chart-2: oklch(0.833 0.053 134.591);
--chart-3: oklch(0.54 0.035 233.672);
--chart-4: oklch(0.853 0.046 134.534);
--chart-5: oklch(0.604 0.13 135.943);
}