Winner is a shadcn/ui theme built around a muted light pink primary color (#e1cbd9) with neutral gray accents (#cdcbcc). The light mode uses a neutral background (#fdf6fb). Dark mode keeps the muted light pink primary (#e1cbd9) on a neutral background (#070306).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fbsnow | #070306black |
| Foreground | #0c0309black | #fbf9fasnow |
| Card | #fdf6fbsnow | #070306black |
| Card foreground | #0c0309black | #fbf9fasnow |
| Popover | #fdf6fbsnow | #070306black |
| Popover foreground | #0c0309black | #fbf9fasnow |
| Primary | #e1cbd9thistle | #e1cbd9thistle |
| Primary foreground | #4e2d42darkslategray | #4e2d42darkslategray |
| Secondary | #cdcbcclightgrey | #252224black |
| Secondary foreground | #343233darkslategray | #c0b9besilver |
| Muted | #ead2e1gainsboro | #2d1524black |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #cdcbcclightgrey | #252224black |
| Accent foreground | #343233darkslategray | #c0b9besilver |
| Destructive | #641207maroon | #e42a11orangered |
| Destructive foreground | #f8afa5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1cbd9thistle | #e1cbd9thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 4.92:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.92:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 4.54:1 | AA |
Paste this into your globals.css to use Winner in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.01 338.929);
--foreground: oklch(0.122 0.027 339.432);
--muted: oklch(0.887 0.034 339.523);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.981 0.01 338.929);
--popover-foreground: oklch(0.122 0.027 339.432);
--card: oklch(0.981 0.01 338.929);
--card-foreground: oklch(0.122 0.027 339.432);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.865 0.031 339.466);
--primary-foreground: oklch(0.345 0.058 342.05);
--secondary: oklch(0.845 0.001 338.756);
--secondary-foreground: oklch(0.32 0.002 338.841);
--accent: oklch(0.845 0.001 338.756);
--accent-foreground: oklch(0.32 0.002 338.841);
--destructive: oklch(0.329 0.116 31.11);
--destructive-foreground: oklch(0.82 0.088 27.522);
--ring: oklch(0.865 0.031 339.466);
--chart-1: oklch(0.865 0.031 339.466);
--chart-2: oklch(0.845 0.001 338.756);
--chart-3: oklch(0.845 0.001 338.756);
--chart-4: oklch(0.868 0.001 338.749);
--chart-5: oklch(0.864 0.034 339.548);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.014 338.897);
--foreground: oklch(0.984 0.002 338.758);
--muted: oklch(0.237 0.047 342.645);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.11 0.014 338.897);
--popover-foreground: oklch(0.984 0.002 338.758);
--card: oklch(0.11 0.014 338.897);
--card-foreground: oklch(0.984 0.002 338.758);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.865 0.031 339.466);
--primary-foreground: oklch(0.345 0.058 342.05);
--secondary: oklch(0.256 0.007 339.275);
--secondary-foreground: oklch(0.794 0.009 338.973);
--accent: oklch(0.256 0.007 339.275);
--accent-foreground: oklch(0.794 0.009 338.973);
--destructive: oklch(0.592 0.222 30.937);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.031 339.466);
--chart-1: oklch(0.865 0.031 339.466);
--chart-2: oklch(0.256 0.007 339.275);
--chart-3: oklch(0.256 0.007 339.275);
--chart-4: oklch(0.287 0.008 339.304);
--chart-5: oklch(0.864 0.034 339.548);
}