Monk is a shadcn/ui theme built around a light blue primary color (#c7d2e6) with light orange accents (#e6dac7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#c7d2e6) on a blue-tinted background (#05070b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05070bblack |
| Foreground | #02060dblack | #ffffffwhite |
| Card | #fcfcfcsnow | #06090eblack |
| Card foreground | #010409black | #ffffffwhite |
| Popover | #fcfcfcsnow | #06090eblack |
| Popover foreground | #010409black | #ffffffwhite |
| Primary | #c7d2e6lightgrey | #c7d2e6lightgrey |
| Primary foreground | #263754darkslategray | #263754darkslategray |
| Secondary | #e6dac7gainsboro | #e6dac7gainsboro |
| Secondary foreground | #544326darkolivegreen | #544326darkolivegreen |
| Muted | #f2ece4linen | #1b160dblack |
| Muted foreground | #645e54dimgray | #aba59bdarkgray |
| Accent | #e6dac7gainsboro | #e6dac7gainsboro |
| Accent foreground | #544326darkolivegreen | #544326darkolivegreen |
| Destructive | #d2390ffirebrick | #f05024chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c7d2e6lightgrey | #c7d2e6lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 5.48:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 4.85:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.84:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 7.33:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Monk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.121 0.02 251.548);
--muted: oklch(0.946 0.013 81.506);
--muted-foreground: oklch(0.484 0.018 81.445);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.106 0.017 250.796);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.106 0.017 250.796);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.861 0.03 261.467);
--primary-foreground: oklch(0.337 0.057 260.88);
--secondary: oklch(0.893 0.029 81.462);
--secondary-foreground: oklch(0.395 0.05 80.188);
--accent: oklch(0.893 0.029 81.462);
--accent-foreground: oklch(0.395 0.05 80.188);
--destructive: oklch(0.572 0.196 34.545);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.03 261.467);
--chart-1: oklch(0.861 0.03 261.467);
--chart-2: oklch(0.893 0.029 81.462);
--chart-3: oklch(0.893 0.029 81.462);
--chart-4: oklch(0.913 0.024 81.483);
--chart-5: oklch(0.86 0.032 261.46);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.011 256.018);
--foreground: oklch(1 0 180);
--muted: oklch(0.205 0.018 80.993);
--muted-foreground: oklch(0.725 0.016 81.491);
--popover: oklch(0.139 0.013 257.9);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.013 257.9);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.861 0.03 261.467);
--primary-foreground: oklch(0.337 0.057 260.88);
--secondary: oklch(0.893 0.029 81.462);
--secondary-foreground: oklch(0.395 0.05 80.188);
--accent: oklch(0.893 0.029 81.462);
--accent-foreground: oklch(0.395 0.05 80.188);
--destructive: oklch(0.647 0.204 35.493);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.03 261.467);
--chart-1: oklch(0.861 0.03 261.467);
--chart-2: oklch(0.893 0.029 81.462);
--chart-3: oklch(0.893 0.029 81.462);
--chart-4: oklch(0.913 0.024 81.483);
--chart-5: oklch(0.86 0.032 261.46);
}