Softdrink is a shadcn/ui theme built around a muted cyan primary color (#769fad) with muted green accents (#9fad76). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#769fad) on a neutral background (#030607).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #030607black |
| Foreground | #051014black | #f9fafbghostwhite |
| Card | #fbfdfewhite | #030607black |
| Card foreground | #051014black | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #030607black |
| Popover foreground | #051014black | #f9fafbghostwhite |
| Primary | #769fadcadetblue | #769fadcadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #ad769frosybrown | #ad769frosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7d0e1gainsboro | #2f182adarkslategray |
| Muted foreground | #534b51darkslategray | #b4acb2darkgray |
| Accent | #9fad76darkseagreen | #9fad76darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #681808maroon | #f15f41tomato |
| Destructive foreground | #f9b7aalightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #769fadcadetblue | #769fadcadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 5.86:1 | AA |
| Muted text | 5.80:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 5.86:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 8.69:1 | AAA |
| Destructive | 6.42:1 | AA |
Paste this into your globals.css to use Softdrink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 219.521);
--foreground: oklch(0.166 0.018 219.998);
--muted: oklch(0.881 0.035 334.534);
--muted-foreground: oklch(0.423 0.014 334.43);
--popover: oklch(0.993 0.002 219.521);
--popover-foreground: oklch(0.166 0.018 219.998);
--card: oklch(0.993 0.002 219.521);
--card-foreground: oklch(0.166 0.018 219.998);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.678 0.049 220.424);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.635 0.088 336.062);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.722 0.077 119.763);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.344 0.116 33.038);
--destructive-foreground: oklch(0.836 0.079 31.533);
--ring: oklch(0.678 0.049 220.424);
--chart-1: oklch(0.678 0.049 220.424);
--chart-2: oklch(0.635 0.088 336.062);
--chart-3: oklch(0.722 0.077 119.763);
--chart-4: oklch(0.661 0.081 335.825);
--chart-5: oklch(0.68 0.054 220.586);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.01 215.589);
--foreground: oklch(0.985 0.002 219.518);
--muted: oklch(0.249 0.047 336.841);
--muted-foreground: oklch(0.753 0.012 334.149);
--popover: oklch(0.118 0.01 215.589);
--popover-foreground: oklch(0.985 0.002 219.518);
--card: oklch(0.118 0.01 215.589);
--card-foreground: oklch(0.985 0.002 219.518);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.678 0.049 220.424);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.635 0.088 336.062);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.722 0.077 119.763);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.668 0.186 33.162);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.678 0.049 220.424);
--chart-1: oklch(0.678 0.049 220.424);
--chart-2: oklch(0.635 0.088 336.062);
--chart-3: oklch(0.722 0.077 119.763);
--chart-4: oklch(0.661 0.081 335.825);
--chart-5: oklch(0.68 0.054 220.586);
}