Thirst is a shadcn/ui theme built around a red primary color (#eb7f88) with teal accents (#7febe2). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#eb7f88) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #120204black | #faf5f5whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0d0203black | #fcf8f8snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #0d0203black | #fcf8f8snow |
| Primary | #eb7f88lightcoral | #eb7f88lightcoral |
| Primary foreground | #31080bblack | #31080bblack |
| Secondary | #7febe2aquamarine | #7febe2aquamarine |
| Secondary foreground | #08312ddarkslategray | #08312ddarkslategray |
| Muted | #eaf6f5whitesmoke | #091514black |
| Muted foreground | #4a6462dimgray | #9bb5b3darkgray |
| Accent | #7febe2aquamarine | #7febe2aquamarine |
| Accent foreground | #08312ddarkslategray | #08312ddarkslategray |
| Destructive | #a53f09saddlebrown | #f47734tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eb7f88lightcoral | #eb7f88lightcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 10.00:1 | AAA |
| Muted text | 5.75:1 | AA |
| Accent | 10.00:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.77:1 | AA |
| Secondary button | 10.00:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 10.00:1 | AAA |
| Destructive | 7.54:1 | AAA |
Paste this into your globals.css to use Thirst in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.128 0.035 15.186);
--muted: oklch(0.963 0.013 190.961);
--muted-foreground: oklch(0.481 0.031 189.796);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.114 0.03 14.386);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.114 0.03 14.386);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.719 0.133 15.706);
--primary-foreground: oklch(0.211 0.066 20.177);
--secondary: oklch(0.873 0.101 188.439);
--secondary-foreground: oklch(0.283 0.044 186.844);
--accent: oklch(0.873 0.101 188.439);
--accent-foreground: oklch(0.283 0.044 186.844);
--destructive: oklch(0.502 0.146 42.402);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.133 15.706);
--chart-1: oklch(0.719 0.133 15.706);
--chart-2: oklch(0.873 0.101 188.439);
--chart-3: oklch(0.873 0.101 188.439);
--chart-4: oklch(0.884 0.093 188.765);
--chart-5: oklch(0.718 0.138 15.935);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.973 0.006 11.387);
--muted: oklch(0.185 0.017 189.085);
--muted-foreground: oklch(0.754 0.029 190.409);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.982 0.004 11.34);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.982 0.004 11.34);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.719 0.133 15.706);
--primary-foreground: oklch(0.211 0.066 20.177);
--secondary: oklch(0.873 0.101 188.439);
--secondary-foreground: oklch(0.283 0.044 186.844);
--accent: oklch(0.873 0.101 188.439);
--accent-foreground: oklch(0.283 0.044 186.844);
--destructive: oklch(0.706 0.173 45.719);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.719 0.133 15.706);
--chart-1: oklch(0.719 0.133 15.706);
--chart-2: oklch(0.873 0.101 188.439);
--chart-3: oklch(0.873 0.101 188.439);
--chart-4: oklch(0.884 0.093 188.765);
--chart-5: oklch(0.718 0.138 15.935);
}