βui - Monokai Classic is a shadcn/ui theme built around a vivid light green primary color (#fdfff0) with muted deep green accents (#4f5143). The light mode uses a green-tinted background (#262720). Dark mode keeps the vivid light green primary (#fdfff0) on a green-tinted background (#262720).
| Token | Light | Dark |
|---|---|---|
| Background | #262720darkslategray | #262720darkslategray |
| Foreground | #fdfff0ivory | #fdfff0ivory |
| Card | #21221cblack | #21221cblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1e1f19black | #1e1f19black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #fdfff0ivory | #fdfff0ivory |
| Primary foreground | #4a5700darkolivegreen | #4a5700darkolivegreen |
| Secondary | #4d532ddarkolivegreen | #4d532ddarkolivegreen |
| Secondary foreground | #e1e4cdgainsboro | #e1e4cdgainsboro |
| Muted | #323328darkslategray | #323328darkslategray |
| Muted foreground | #b4b7a4darkgray | #b4b7a4darkgray |
| Accent | #4f5143darkolivegreen | #4f5143darkolivegreen |
| Accent foreground | #e5e6e0gainsboro | #e5e6e0gainsboro |
| Destructive | #ec3413orangered | #ec3413orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #303030darkslategray | #303030darkslategray |
| Input | #383838darkslategray | #383838darkslategray |
| Ring | #fdfff0ivory | #fdfff0ivory |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.83:1 | AAA |
| Text on card | 16.09:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 6.25:1 | AA |
| Muted text | 6.22:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 4.15:1 | AA Large |
| Text on background | 14.83:1 | AAA |
| Text on card | 16.09:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 6.25:1 | AA |
| Muted text | 6.22:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use βui - Monokai Classic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.27 0.013 114.194);
--foreground: oklch(0.994 0.02 112.922);
--muted: oklch(0.317 0.019 114.421);
--muted-foreground: oklch(0.772 0.027 113.965);
--popover: oklch(0.236 0.011 114.135);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.247 0.011 114.157);
--card-foreground: oklch(1 0 180);
--border: oklch(0.311 0 180);
--input: oklch(0.341 0 158.199);
--primary: oklch(0.994 0.02 113.684);
--primary-foreground: oklch(0.429 0.101 119.23);
--secondary: oklch(0.427 0.058 115.909);
--secondary-foreground: oklch(0.911 0.031 113.935);
--accent: oklch(0.43 0.024 114.334);
--accent-foreground: oklch(0.922 0.008 113.459);
--destructive: oklch(0.614 0.223 31.986);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.994 0.02 113.684);
--chart-1: oklch(0.994 0.02 113.684);
--chart-2: oklch(0.427 0.058 115.909);
--chart-3: oklch(0.43 0.024 114.334);
--chart-4: oklch(0.461 0.064 115.951);
--chart-5: oklch(0.995 0.021 113.695);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.27 0.013 114.194);
--foreground: oklch(0.994 0.02 112.922);
--muted: oklch(0.317 0.019 114.421);
--muted-foreground: oklch(0.772 0.027 113.965);
--popover: oklch(0.236 0.011 114.135);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.247 0.011 114.157);
--card-foreground: oklch(1 0 180);
--border: oklch(0.311 0 180);
--input: oklch(0.341 0 158.199);
--primary: oklch(0.994 0.02 113.684);
--primary-foreground: oklch(0.429 0.101 119.23);
--secondary: oklch(0.427 0.058 115.909);
--secondary-foreground: oklch(0.911 0.031 113.935);
--accent: oklch(0.43 0.024 114.334);
--accent-foreground: oklch(0.922 0.008 113.459);
--destructive: oklch(0.614 0.223 31.986);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.994 0.02 113.684);
--chart-1: oklch(0.994 0.02 113.684);
--chart-2: oklch(0.427 0.058 115.909);
--chart-3: oklch(0.43 0.024 114.334);
--chart-4: oklch(0.461 0.064 115.951);
--chart-5: oklch(0.995 0.021 113.695);
}