Spokeswoman is a shadcn/ui theme built around a deep orange primary color (#5e270d) with deep violet accents (#270d5e). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#5e270d) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #070403black |
| Foreground | #040201black | #ffffffwhite |
| Card | #fdf9f7snow | #0b0604black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefcfbsnow | #070403black |
| Popover foreground | #040201black | #ffffffwhite |
| Primary | #5e270dmaroon | #5e270dmaroon |
| Primary foreground | #f3c1aalightpink | #f3c1aalightpink |
| Secondary | #0d5e27darkgreen | #0d5e27darkgreen |
| Secondary foreground | #aaf3c1powderblue | #aaf3c1powderblue |
| Muted | #e6efe9lavender | #101913black |
| Muted foreground | #464947darkslategray | #b6b9b7silver |
| Accent | #270d5emidnightblue | #270d5emidnightblue |
| Accent foreground | #c1aaf3plum | #c1aaf3plum |
| Destructive | #773108saddlebrown | #f0752dtomato |
| Destructive foreground | #fad0b7peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5e270dmaroon | #5e270dmaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 7.76:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 20.40:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 9.08:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 7.29:1 | AAA |
Paste this into your globals.css to use Spokeswoman in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 46.832);
--foreground: oklch(0.091 0.009 54.269);
--muted: oklch(0.944 0.012 156.308);
--muted-foreground: oklch(0.401 0.005 156.316);
--popover: oklch(0.992 0.002 46.832);
--popover-foreground: oklch(0.091 0.009 54.269);
--card: oklch(0.984 0.004 46.806);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.346 0.088 42.977);
--primary-foreground: oklch(0.85 0.065 46.134);
--secondary: oklch(0.422 0.114 148.449);
--secondary-foreground: oklch(0.903 0.099 154.145);
--accent: oklch(0.264 0.129 288.44);
--accent-foreground: oklch(0.784 0.104 298.514);
--destructive: oklch(0.405 0.11 44.982);
--destructive-foreground: oklch(0.887 0.058 51.75);
--ring: oklch(0.346 0.088 42.977);
--chart-1: oklch(0.346 0.088 42.977);
--chart-2: oklch(0.422 0.114 148.449);
--chart-3: oklch(0.264 0.129 288.44);
--chart-4: oklch(0.463 0.126 148.273);
--chart-5: oklch(0.348 0.091 42.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.009 52.635);
--foreground: oklch(1 0 180);
--muted: oklch(0.201 0.017 154.736);
--muted-foreground: oklch(0.783 0.004 156.454);
--popover: oklch(0.114 0.009 52.635);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.011 52.539);
--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.346 0.088 42.977);
--primary-foreground: oklch(0.85 0.065 46.134);
--secondary: oklch(0.422 0.114 148.449);
--secondary-foreground: oklch(0.903 0.099 154.145);
--accent: oklch(0.264 0.129 288.44);
--accent-foreground: oklch(0.784 0.104 298.514);
--destructive: oklch(0.696 0.172 46.704);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.346 0.088 42.977);
--chart-1: oklch(0.346 0.088 42.977);
--chart-2: oklch(0.422 0.114 148.449);
--chart-3: oklch(0.264 0.129 288.44);
--chart-4: oklch(0.463 0.126 148.273);
--chart-5: oklch(0.348 0.091 42.647);
}