Thirsty is a shadcn/ui theme built around a light violet primary color (#efeafa) with light green accents (#eafaef). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#efeafa) on a neutral background (#040308).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #040308black |
| Foreground | #090316black | #fcfcfdwhite |
| Card | #f9f7fcghostwhite | #06040bblack |
| Card foreground | #070212black | #ffffffwhite |
| Popover | #fcfbfewhite | #040308black |
| Popover foreground | #090316black | #fcfcfdwhite |
| Primary | #efeafalavender | #efeafalavender |
| Primary foreground | #432191darkslateblue | #432191darkslateblue |
| Secondary | #faefealinen | #faefealinen |
| Secondary foreground | #914321saddlebrown | #914321saddlebrown |
| Muted | #eeedeclinen | #131111black |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #eafaefhoneydew | #eafaefhoneydew |
| Accent foreground | #0e3e1ddarkgreen | #0e3e1ddarkgreen |
| Destructive | #750401maroon | #fe0f06red |
| Destructive foreground | #ffaca9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #efeafalavender | #efeafalavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 9.57:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 8.85:1 | AAA |
| Accent | 11.27:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 20.07:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 9.57:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 10.21:1 | AAA |
| Accent | 11.27:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Thirsty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 299.981);
--foreground: oklch(0.127 0.046 296.595);
--muted: oklch(0.946 0.002 44.962);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.99 0.003 299.981);
--popover-foreground: oklch(0.127 0.046 296.595);
--card: oklch(0.98 0.007 299.922);
--card-foreground: oklch(0.117 0.041 298.357);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.946 0.022 299.646);
--primary-foreground: oklch(0.371 0.17 288.91);
--secondary: oklch(0.96 0.014 44.838);
--secondary-foreground: oklch(0.478 0.116 42.245);
--accent: oklch(0.971 0.022 155.422);
--accent-foreground: oklch(0.324 0.078 149.529);
--destructive: oklch(0.355 0.142 29.82);
--destructive-foreground: oklch(0.823 0.098 21.592);
--ring: oklch(0.946 0.022 299.646);
--chart-1: oklch(0.946 0.022 299.646);
--chart-2: oklch(0.96 0.014 44.838);
--chart-3: oklch(0.971 0.022 155.422);
--chart-4: oklch(0.984 0.005 44.925);
--chart-5: oklch(0.945 0.023 299.627);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.018 300.217);
--foreground: oklch(0.991 0.002 300.004);
--muted: oklch(0.181 0.003 44.828);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.102 0.018 300.217);
--popover-foreground: oklch(0.991 0.002 300.004);
--card: oklch(0.117 0.021 300.118);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.946 0.022 299.646);
--primary-foreground: oklch(0.371 0.17 288.91);
--secondary: oklch(0.96 0.014 44.838);
--secondary-foreground: oklch(0.478 0.116 42.245);
--accent: oklch(0.971 0.022 155.422);
--accent-foreground: oklch(0.324 0.078 149.529);
--destructive: oklch(0.628 0.254 29.349);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.022 299.646);
--chart-1: oklch(0.946 0.022 299.646);
--chart-2: oklch(0.96 0.014 44.838);
--chart-3: oklch(0.971 0.022 155.422);
--chart-4: oklch(0.984 0.005 44.925);
--chart-5: oklch(0.945 0.023 299.627);
}