Select Monarchist is a shadcn/ui theme built around a blue primary color (#3e63dd) with muted light indigo accents (#f0f0f3). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the blue primary (#3e63dd) on a neutral background (#111113).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #111113black |
| Foreground | #1c2024black | #edeef0whitesmoke |
| Card | #fcfcfdwhite | #111113black |
| Card foreground | #1c2024black | #edeef0whitesmoke |
| Popover | #fcfcfdwhite | #111113black |
| Popover foreground | #1c2024black | #edeef0whitesmoke |
| Primary | #3e63ddroyalblue | #3e63ddroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #86ead4aquamarine | #bdee63darkkhaki |
| Secondary foreground | #16433cdarkslategray | #1f2917black |
| Muted | #f0f0f3whitesmoke | #212225black |
| Muted foreground | #1c2024black | #edeef0whitesmoke |
| Accent | #f0f0f3whitesmoke | #212225black |
| Accent foreground | #1c2024black | #edeef0whitesmoke |
| Destructive | #e54666indianred | #e5484dindianred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #d9d9e0gainsboro | #363a3fdarkslategray |
| Input | #d9d9e0gainsboro | #363a3fdarkslategray |
| Ring | #3e63ddroyalblue | #3e63ddroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.98:1 | AAA |
| Text on card | 15.98:1 | AAA |
| Primary button | 5.20:1 | AA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 14.40:1 | AAA |
| Accent | 14.40:1 | AAA |
| Destructive | 3.88:1 | AA Large |
| Text on background | 16.24:1 | AAA |
| Text on card | 16.24:1 | AAA |
| Primary button | 5.20:1 | AA |
| Secondary button | 11.22:1 | AAA |
| Muted text | 13.69:1 | AAA |
| Accent | 13.69:1 | AAA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Select Monarchist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.001 286.376);
--foreground: oklch(0.241 0.01 248.229);
--muted: oklch(0.956 0.004 286.324);
--muted-foreground: oklch(0.241 0.01 248.229);
--popover: oklch(0.991 0.001 286.376);
--popover-foreground: oklch(0.241 0.01 248.229);
--card: oklch(0.991 0.001 286.376);
--card-foreground: oklch(0.241 0.01 248.229);
--border: oklch(0.887 0.01 286.204);
--input: oklch(0.887 0.01 286.204);
--primary: oklch(0.544 0.191 267.007);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.87 0.1 177.979);
--secondary-foreground: oklch(0.35 0.051 181.31);
--accent: oklch(0.956 0.004 286.324);
--accent-foreground: oklch(0.241 0.01 248.229);
--destructive: oklch(0.628 0.195 13.145);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.544 0.191 267.007);
--chart-1: oklch(0.544 0.191 267.007);
--chart-2: oklch(0.87 0.1 177.979);
--chart-3: oklch(0.956 0.004 286.324);
--chart-4: oklch(0.882 0.091 178.501);
--chart-5: oklch(0.541 0.199 266.728);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.179 0.004 285.98);
--foreground: oklch(0.949 0.003 264.542);
--muted: oklch(0.252 0.006 271.182);
--muted-foreground: oklch(0.949 0.003 264.542);
--popover: oklch(0.179 0.004 285.98);
--popover-foreground: oklch(0.949 0.003 264.542);
--card: oklch(0.179 0.004 285.98);
--card-foreground: oklch(0.949 0.003 264.542);
--border: oklch(0.347 0.01 253.965);
--input: oklch(0.347 0.01 253.965);
--primary: oklch(0.544 0.191 267.007);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.887 0.175 126.088);
--secondary-foreground: oklch(0.266 0.035 132.005);
--accent: oklch(0.252 0.006 271.182);
--accent-foreground: oklch(0.949 0.003 264.542);
--destructive: oklch(0.626 0.193 23.027);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.544 0.191 267.007);
--chart-1: oklch(0.544 0.191 267.007);
--chart-2: oklch(0.887 0.175 126.088);
--chart-3: oklch(0.252 0.006 271.182);
--chart-4: oklch(0.896 0.162 125.649);
--chart-5: oklch(0.541 0.199 266.728);
}