Polo is a shadcn/ui theme built around a muted purple primary color (#725f72) with muted teal accents (#5f7272). The light mode uses a neutral background (#fefbfe). Dark mode keeps the muted purple primary (#725f72) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #0a050ablack |
| Foreground | #0d020eblack | #f8f6f8whitesmoke |
| Card | #fcf7fcsnow | #0e070eblack |
| Card foreground | #090109black | #fbf9fbsnow |
| Popover | #fcf7fcsnow | #0e070eblack |
| Popover foreground | #090109black | #fbf9fbsnow |
| Primary | #725f72dimgray | #725f72dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #72725fdimgray | #72725fdimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2e1d0gainsboro | #2f2f1ddarkslategray |
| Muted foreground | #54544adarkolivegreen | #b5b5abdarkgray |
| Accent | #5f7272dimgray | #5f7272dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad1b01firebrick | #f42601orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #725f72dimgray | #725f72dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 5.84:1 | AA |
| Secondary button | 4.91:1 | AA |
| Muted text | 5.80:1 | AA |
| Accent | 5.07:1 | AA |
| Destructive | 7.19:1 | AAA |
| Text on background | 18.79:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 5.84:1 | AA |
| Secondary button | 4.91:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 5.07:1 | AA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Polo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 325.129);
--foreground: oklch(0.121 0.041 327.239);
--muted: oklch(0.906 0.023 106.063);
--muted-foreground: oklch(0.442 0.015 106.201);
--popover: oklch(0.983 0.008 325.158);
--popover-foreground: oklch(0.105 0.035 327.295);
--card: oklch(0.983 0.008 325.158);
--card-foreground: oklch(0.105 0.035 327.295);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.511 0.037 325.589);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.546 0.028 106.487);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.537 0.022 195.262);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.479 0.182 31.743);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.511 0.037 325.589);
--chart-1: oklch(0.511 0.037 325.589);
--chart-2: oklch(0.546 0.028 106.487);
--chart-3: oklch(0.537 0.022 195.262);
--chart-4: oklch(0.574 0.029 106.493);
--chart-5: oklch(0.508 0.049 325.745);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.018 326.099);
--foreground: oklch(0.976 0.003 325.124);
--muted: oklch(0.299 0.029 107.22);
--muted-foreground: oklch(0.769 0.013 105.915);
--popover: oklch(0.141 0.02 326.066);
--popover-foreground: oklch(0.984 0.002 325.116);
--card: oklch(0.141 0.02 326.066);
--card-foreground: oklch(0.984 0.002 325.116);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.511 0.037 325.589);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.546 0.028 106.487);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.537 0.022 195.262);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.618 0.238 31.298);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.511 0.037 325.589);
--chart-1: oklch(0.511 0.037 325.589);
--chart-2: oklch(0.546 0.028 106.487);
--chart-3: oklch(0.537 0.022 195.262);
--chart-4: oklch(0.574 0.029 106.493);
--chart-5: oklch(0.508 0.049 325.745);
}