Maiden is a shadcn/ui theme built around a near-black primary color (#1e201d) with near-black accents (#1d201d). The light mode uses a neutral background (#fafdf7). Dark mode keeps the near-black primary (#1e201d) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #050703black |
| Foreground | #0c1405black | #fafcf8snow |
| Card | #f7fcf3whitesmoke | #070a05black |
| Card foreground | #0a1004black | #fcfdfbsnow |
| Popover | #f7fcf3whitesmoke | #070a05black |
| Popover foreground | #0a1004black | #fcfdfbsnow |
| Primary | #1e201dblack | #1e201dblack |
| Primary foreground | #b7bcb3silver | #b7bcb3silver |
| Secondary | #20201dblack | #20201dblack |
| Secondary foreground | #bbbcb3silver | #bbbcb3silver |
| Muted | #f6f6efwhitesmoke | #101009black |
| Muted foreground | #6f7057dimgray | #a7a88fdarkgray |
| Accent | #1d201dblack | #1d201dblack |
| Accent foreground | #b3bcb4silver | #b3bcb4silver |
| Destructive | #760705maroon | #f73936tomato |
| Destructive foreground | #fcb2b1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e201dblack | #1e201dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.29:1 | AAA |
| Text on card | 18.53:1 | AAA |
| Primary button | 8.44:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 4.67:1 | AA |
| Accent | 8.40:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.44:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Maiden in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 130.524);
--foreground: oklch(0.179 0.033 131.545);
--muted: oklch(0.971 0.01 108.895);
--muted-foreground: oklch(0.538 0.039 109.997);
--popover: oklch(0.985 0.014 130.568);
--popover-foreground: oklch(0.163 0.028 130.418);
--card: oklch(0.985 0.014 130.568);
--card-foreground: oklch(0.163 0.028 130.418);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.242 0.007 130.731);
--primary-foreground: oklch(0.789 0.013 130.593);
--secondary: oklch(0.244 0.007 109.221);
--secondary-foreground: oklch(0.792 0.012 108.986);
--accent: oklch(0.24 0.009 146.703);
--accent-foreground: oklch(0.786 0.015 146.862);
--destructive: oklch(0.358 0.141 28.907);
--destructive-foreground: oklch(0.833 0.087 20.165);
--ring: oklch(0.242 0.007 130.731);
--chart-1: oklch(0.242 0.007 130.731);
--chart-2: oklch(0.244 0.007 109.221);
--chart-3: oklch(0.24 0.009 146.703);
--chart-4: oklch(0.277 0.008 109.253);
--chart-5: oklch(0.244 0.011 130.876);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 129.567);
--foreground: oklch(0.988 0.006 130.493);
--muted: oklch(0.172 0.015 110.218);
--muted-foreground: oklch(0.725 0.036 109.614);
--popover: oklch(0.14 0.015 129.572);
--popover-foreground: oklch(0.994 0.003 130.465);
--card: oklch(0.14 0.015 129.572);
--card-foreground: oklch(0.994 0.003 130.465);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.242 0.007 130.731);
--primary-foreground: oklch(0.789 0.013 130.593);
--secondary: oklch(0.244 0.007 109.221);
--secondary-foreground: oklch(0.792 0.012 108.986);
--accent: oklch(0.24 0.009 146.703);
--accent-foreground: oklch(0.786 0.015 146.862);
--destructive: oklch(0.639 0.225 27.075);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.242 0.007 130.731);
--chart-1: oklch(0.242 0.007 130.731);
--chart-2: oklch(0.244 0.007 109.221);
--chart-3: oklch(0.24 0.009 146.703);
--chart-4: oklch(0.277 0.008 109.253);
--chart-5: oklch(0.244 0.011 130.876);
}