Provincial Salem is a shadcn/ui theme built around a vivid deep teal primary color (#037d52) with muted light teal accents (#bfcac6). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep teal primary (#037d52) on a teal-tinted background (#04100c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #04100cblack |
| Foreground | #02120dblack | #f8fcfbmintcream |
| Card | #f8fcfamintcream | #04100cblack |
| Card foreground | #02120dblack | #f8fcfbmintcream |
| Popover | #f8fcfamintcream | #04100cblack |
| Popover foreground | #02120dblack | #f8fcfbmintcream |
| Primary | #037d52seagreen | #037d52seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dbdcdcgainsboro | #1e201fblack |
| Secondary foreground | #414443darkslategray | #b5bab8silver |
| Muted | #d2dfdbgainsboro | #202d28darkslategray |
| Muted foreground | #44554fdarkslategray | #aabbb5darkgray |
| Accent | #bfcac6silver | #29332fdarkslategray |
| Accent foreground | #272f2ddarkslategray | #c1cdc9silver |
| Destructive | #a63911brown | #e95d2bchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e0e6e4gainsboro | #202725darkslategray |
| Input | #e0e6e4gainsboro | #202725darkslategray |
| Ring | #037d52seagreen | #037d52seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 5.17:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 5.17:1 | AA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.06:1 | AA |
Paste this into your globals.css to use Provincial Salem in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 173.439);
--foreground: oklch(0.166 0.028 170.242);
--muted: oklch(0.893 0.015 173.07);
--muted-foreground: oklch(0.433 0.023 171.92);
--popover: oklch(0.987 0.005 173.439);
--popover-foreground: oklch(0.166 0.028 170.242);
--card: oklch(0.987 0.005 173.439);
--card-foreground: oklch(0.166 0.028 170.242);
--border: oklch(0.919 0.007 173.365);
--input: oklch(0.919 0.007 173.365);
--primary: oklch(0.521 0.116 160.589);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.893 0.002 173.519);
--secondary-foreground: oklch(0.382 0.004 173.278);
--accent: oklch(0.829 0.013 173.125);
--accent-foreground: oklch(0.298 0.012 172.362);
--destructive: oklch(0.497 0.151 38.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.521 0.116 160.589);
--chart-1: oklch(0.521 0.116 160.589);
--chart-2: oklch(0.893 0.002 173.519);
--chart-3: oklch(0.829 0.013 173.125);
--chart-4: oklch(0.916 0.001 173.532);
--chart-5: oklch(0.526 0.118 160.282);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.022 170.974);
--foreground: oklch(0.987 0.005 173.435);
--muted: oklch(0.283 0.02 171.366);
--muted-foreground: oklch(0.777 0.02 172.793);
--popover: oklch(0.16 0.022 170.974);
--popover-foreground: oklch(0.987 0.005 173.435);
--card: oklch(0.16 0.022 170.974);
--card-foreground: oklch(0.987 0.005 173.435);
--border: oklch(0.266 0.011 172.295);
--input: oklch(0.266 0.011 172.295);
--primary: oklch(0.521 0.116 160.589);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.239 0.003 173.205);
--secondary-foreground: oklch(0.784 0.005 173.38);
--accent: oklch(0.31 0.015 172.074);
--accent-foreground: oklch(0.838 0.015 173.055);
--destructive: oklch(0.652 0.184 38.931);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.521 0.116 160.589);
--chart-1: oklch(0.521 0.116 160.589);
--chart-2: oklch(0.239 0.003 173.205);
--chart-3: oklch(0.31 0.015 172.074);
--chart-4: oklch(0.272 0.004 173.181);
--chart-5: oklch(0.526 0.118 160.282);
}