One Monokai 80s is a shadcn/ui theme built around a muted blue primary color (#a0aac0) with muted blue accents (#3b4068). The light mode uses a blue-tinted background (#1f2237). Dark mode keeps the muted blue primary (#a0aac0) on a blue-tinted background (#1f2237).
| Token | Light | Dark |
|---|---|---|
| Background | #1f2237darkslategray | #1f2237darkslategray |
| Foreground | #a6b1c9lightsteelblue | #a6b1c9lightsteelblue |
| Card | #1c1e31darkslategray | #1c1e31darkslategray |
| Card foreground | #b6bfd2lightsteelblue | #b6bfd2lightsteelblue |
| Popover | #1a1c2eblack | #1a1c2eblack |
| Popover foreground | #c6cddclightgrey | #c6cddclightgrey |
| Primary | #a0aac0darkgray | #a0aac0darkgray |
| Primary foreground | #12151cblack | #12151cblack |
| Secondary | #393d46darkslategray | #393d46darkslategray |
| Secondary foreground | #d5d7ddgainsboro | #d5d7ddgainsboro |
| Muted | #2f313cdarkslategray | #2f313cdarkslategray |
| Muted foreground | #acaebedarkgray | #acaebedarkgray |
| Accent | #3b4068darkslategray | #3b4068darkslategray |
| Accent foreground | #e5e6f0lavender | #e5e6f0lavender |
| Destructive | #f7402borangered | #f7402borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2e3042darkslategray | #2e3042darkslategray |
| Input | #34374bdarkslategray | #34374bdarkslategray |
| Ring | #a0aac0darkgray | #a0aac0darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.25:1 | AAA |
| Text on card | 8.89:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 3.66:1 | AA Large |
| Text on background | 7.25:1 | AAA |
| Text on card | 8.89:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 7.51:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use One Monokai 80s in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.26 0.04 277.441);
--foreground: oklch(0.761 0.036 265.73);
--muted: oklch(0.315 0.02 279.24);
--muted-foreground: oklch(0.755 0.022 279.85);
--popover: oklch(0.233 0.034 277.625);
--popover-foreground: oklch(0.848 0.022 265.869);
--card: oklch(0.242 0.036 277.558);
--card-foreground: oklch(0.804 0.029 265.807);
--border: oklch(0.316 0.032 278.548);
--input: oklch(0.343 0.036 278.494);
--primary: oklch(0.738 0.033 265.744);
--primary-foreground: oklch(0.197 0.013 265.562);
--secondary: oklch(0.361 0.016 265.749);
--secondary-foreground: oklch(0.88 0.008 265.967);
--accent: oklch(0.386 0.069 276.943);
--accent-foreground: oklch(0.928 0.014 280.097);
--destructive: oklch(0.644 0.222 30.344);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.033 265.744);
--chart-1: oklch(0.738 0.033 265.744);
--chart-2: oklch(0.361 0.016 265.749);
--chart-3: oklch(0.386 0.069 276.943);
--chart-4: oklch(0.389 0.018 265.742);
--chart-5: oklch(0.735 0.038 265.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.26 0.04 277.441);
--foreground: oklch(0.761 0.036 265.73);
--muted: oklch(0.315 0.02 279.24);
--muted-foreground: oklch(0.755 0.022 279.85);
--popover: oklch(0.233 0.034 277.625);
--popover-foreground: oklch(0.848 0.022 265.869);
--card: oklch(0.242 0.036 277.558);
--card-foreground: oklch(0.804 0.029 265.807);
--border: oklch(0.316 0.032 278.548);
--input: oklch(0.343 0.036 278.494);
--primary: oklch(0.738 0.033 265.744);
--primary-foreground: oklch(0.197 0.013 265.562);
--secondary: oklch(0.361 0.016 265.749);
--secondary-foreground: oklch(0.88 0.008 265.967);
--accent: oklch(0.386 0.069 276.943);
--accent-foreground: oklch(0.928 0.014 280.097);
--destructive: oklch(0.644 0.222 30.344);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.033 265.744);
--chart-1: oklch(0.738 0.033 265.744);
--chart-2: oklch(0.361 0.016 265.749);
--chart-3: oklch(0.386 0.069 276.943);
--chart-4: oklch(0.389 0.018 265.742);
--chart-5: oklch(0.735 0.038 265.692);
}