Soup is a shadcn/ui theme built around a deep blue primary color (#030c16) with deep indigo accents (#040316). The light mode uses a neutral background (#f6fafd). Dark mode keeps the deep blue primary (#030c16) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fafdghostwhite | #010204black |
| Foreground | #010205black | #f9fafbghostwhite |
| Card | #f6fafdghostwhite | #010204black |
| Card foreground | #010205black | #f9fafbghostwhite |
| Popover | #f6fafdghostwhite | #010204black |
| Popover foreground | #010205black | #f9fafbghostwhite |
| Primary | #030c16black | #030c16black |
| Primary foreground | #659fe7cornflowerblue | #659fe7cornflowerblue |
| Secondary | #031516black | #031516black |
| Secondary foreground | #1fbec7lightseagreen | #1fbec7lightseagreen |
| Muted | #d9e7e7gainsboro | #182526black |
| Muted foreground | #546869dimgray | #96aaabdarkgray |
| Accent | #040316black | #040316black |
| Accent foreground | #c0bdf5lightsteelblue | #c0bdf5lightsteelblue |
| Destructive | #a01b03darkred | #fa3714orangered |
| Destructive foreground | #feddd7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030c16black | #030c16black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 4.63:1 | AA |
| Accent | 11.46:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 11.46:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Soup in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 253.261);
--foreground: oklch(0.086 0.015 241.276);
--muted: oklch(0.917 0.014 200.703);
--muted-foreground: oklch(0.5 0.024 200.37);
--popover: oklch(0.983 0.006 253.261);
--popover-foreground: oklch(0.086 0.015 241.276);
--card: oklch(0.983 0.006 253.261);
--card-foreground: oklch(0.086 0.015 241.276);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.15 0.027 249.668);
--primary-foreground: oklch(0.694 0.123 254.245);
--secondary: oklch(0.181 0.025 199.546);
--secondary-foreground: oklch(0.731 0.12 200.684);
--accent: oklch(0.121 0.044 281.017);
--accent-foreground: oklch(0.819 0.078 286.829);
--destructive: oklch(0.455 0.17 31.865);
--destructive-foreground: oklch(0.923 0.038 29.667);
--ring: oklch(0.15 0.027 249.668);
--chart-1: oklch(0.15 0.027 249.668);
--chart-2: oklch(0.181 0.025 199.546);
--chart-3: oklch(0.121 0.044 281.017);
--chart-4: oklch(0.231 0.034 199.997);
--chart-5: oklch(0.15 0.028 249.33);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.008 247.204);
--foreground: oklch(0.984 0.002 253.233);
--muted: oklch(0.252 0.018 200.158);
--muted-foreground: oklch(0.723 0.022 200.538);
--popover: oklch(0.089 0.008 247.204);
--popover-foreground: oklch(0.984 0.002 253.233);
--card: oklch(0.089 0.008 247.204);
--card-foreground: oklch(0.984 0.002 253.233);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.15 0.027 249.668);
--primary-foreground: oklch(0.694 0.123 254.245);
--secondary: oklch(0.181 0.025 199.546);
--secondary-foreground: oklch(0.731 0.12 200.684);
--accent: oklch(0.121 0.044 281.017);
--accent-foreground: oklch(0.819 0.078 286.829);
--destructive: oklch(0.641 0.234 31.957);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.15 0.027 249.668);
--chart-1: oklch(0.15 0.027 249.668);
--chart-2: oklch(0.181 0.025 199.546);
--chart-3: oklch(0.121 0.044 281.017);
--chart-4: oklch(0.231 0.034 199.997);
--chart-5: oklch(0.15 0.028 249.33);
}