Thirsty is a shadcn/ui theme built around a pink primary color (#6c334c) with muted light pink accents (#d2cbce). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#6c334c) on a pink-tinted background (#0a0507).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0a0507black |
| Foreground | #080205black | #fbf9fasnow |
| Card | #fcf8fasnow | #0a0507black |
| Card foreground | #080205black | #fbf9fasnow |
| Popover | #fcf8fasnow | #0a0507black |
| Popover foreground | #080205black | #fbf9fasnow |
| Primary | #6c334cdimgray | #6c334cdimgray |
| Primary foreground | #f0e0e7mistyrose | #f0e0e7mistyrose |
| Secondary | #e1e0e0gainsboro | #2d2a2bdarkslategray |
| Secondary foreground | #494647darkslategray | #c7c2c4silver |
| Muted | #e8cedagainsboro | #311722black |
| Muted foreground | #604853dimgray | #b79faadarkgray |
| Accent | #d2cbcelightgrey | #4c3e44darkslategray |
| Accent foreground | #3a3135darkslategray | #e1dbdegainsboro |
| Destructive | #880606darkred | #e00b0bred |
| Destructive foreground | #fcc5c5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6c334cdimgray | #6c334cdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.61:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 6.71:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 4.97:1 | AA |
Paste this into your globals.css to use Thirsty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 347.94);
--foreground: oklch(0.106 0.019 347.518);
--muted: oklch(0.877 0.032 348.798);
--muted-foreground: oklch(0.432 0.036 349.965);
--popover: oklch(0.983 0.005 347.94);
--popover-foreground: oklch(0.106 0.019 347.518);
--card: oklch(0.983 0.005 347.94);
--card-foreground: oklch(0.106 0.019 347.518);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.403 0.087 353.401);
--primary-foreground: oklch(0.921 0.021 348.413);
--secondary: oklch(0.907 0.002 347.858);
--secondary-foreground: oklch(0.397 0.004 348.111);
--accent: oklch(0.848 0.01 348.126);
--accent-foreground: oklch(0.325 0.014 348.947);
--destructive: oklch(0.398 0.159 28.615);
--destructive-foreground: oklch(0.871 0.064 18.454);
--ring: oklch(0.403 0.087 353.401);
--chart-1: oklch(0.403 0.087 353.401);
--chart-2: oklch(0.907 0.002 347.858);
--chart-3: oklch(0.848 0.01 348.126);
--chart-4: oklch(0.931 0.001 347.846);
--chart-5: oklch(0.403 0.094 353.892);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.012 347.655);
--foreground: oklch(0.984 0.002 347.874);
--muted: oklch(0.245 0.045 352.505);
--muted-foreground: oklch(0.727 0.031 348.953);
--popover: oklch(0.127 0.012 347.655);
--popover-foreground: oklch(0.984 0.002 347.874);
--card: oklch(0.127 0.012 347.655);
--card-foreground: oklch(0.984 0.002 347.874);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.403 0.087 353.401);
--primary-foreground: oklch(0.921 0.021 348.413);
--secondary: oklch(0.288 0.006 348.353);
--secondary-foreground: oklch(0.818 0.006 348.012);
--accent: oklch(0.38 0.021 349.3);
--accent-foreground: oklch(0.896 0.008 348.064);
--destructive: oklch(0.572 0.231 28.889);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.403 0.087 353.401);
--chart-1: oklch(0.403 0.087 353.401);
--chart-2: oklch(0.288 0.006 348.353);
--chart-3: oklch(0.38 0.021 349.3);
--chart-4: oklch(0.318 0.007 348.373);
--chart-5: oklch(0.403 0.094 353.892);
}