Soupy is a shadcn/ui theme built around a deep green primary color (#243e1e) with deep purple accents (#381e3e). The light mode uses a neutral background (#f8fdf6). Dark mode keeps the deep green primary (#243e1e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf6mintcream | #000000black |
| Foreground | #061103black | #f9fbf9mintcream |
| Card | #f8fdf6mintcream | #000000black |
| Card foreground | #061103black | #f9fbf9mintcream |
| Popover | #f8fdf6mintcream | #000000black |
| Popover foreground | #061103black | #f9fbf9mintcream |
| Primary | #243e1edarkslategray | #243e1edarkslategray |
| Primary foreground | #bbdbb3silver | #bbdbb3silver |
| Secondary | #381e3edarkslategray | #381e3edarkslategray |
| Secondary foreground | #d3b3dbthistle | #d3b3dbthistle |
| Muted | #e2d7e4gainsboro | #251b28black |
| Muted foreground | #585558dimgray | #a9a7aadarkgray |
| Accent | #381e3edarkslategray | #381e3edarkslategray |
| Accent foreground | #d3b3dbthistle | #d3b3dbthistle |
| Destructive | #861e0edarkred | #ea4c34tomato |
| Destructive foreground | #fad2ccpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #243e1edarkslategray | #243e1edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.74:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 5.28:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Soupy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.011 139.441);
--foreground: oklch(0.162 0.036 137.932);
--muted: oklch(0.892 0.021 319.451);
--muted-foreground: oklch(0.453 0.007 319.448);
--popover: oklch(0.989 0.011 139.441);
--popover-foreground: oklch(0.162 0.036 137.932);
--card: oklch(0.989 0.011 139.441);
--card-foreground: oklch(0.162 0.036 137.932);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.334 0.063 139.539);
--primary-foreground: oklch(0.857 0.063 139.432);
--secondary: oklch(0.283 0.066 319.385);
--secondary-foreground: oklch(0.807 0.064 319.463);
--accent: oklch(0.283 0.066 319.385);
--accent-foreground: oklch(0.807 0.064 319.463);
--destructive: oklch(0.408 0.142 31.651);
--destructive-foreground: oklch(0.896 0.045 28.274);
--ring: oklch(0.334 0.063 139.539);
--chart-1: oklch(0.334 0.063 139.539);
--chart-2: oklch(0.283 0.066 319.385);
--chart-3: oklch(0.283 0.066 319.385);
--chart-4: oklch(0.312 0.075 319.374);
--chart-5: oklch(0.337 0.067 139.571);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.003 139.443);
--muted: oklch(0.239 0.029 319.463);
--muted-foreground: oklch(0.73 0.006 319.446);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.003 139.443);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.003 139.443);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.334 0.063 139.539);
--primary-foreground: oklch(0.857 0.063 139.432);
--secondary: oklch(0.283 0.066 319.385);
--secondary-foreground: oklch(0.807 0.064 319.463);
--accent: oklch(0.283 0.066 319.385);
--accent-foreground: oklch(0.807 0.064 319.463);
--destructive: oklch(0.634 0.198 31.539);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.334 0.063 139.539);
--chart-1: oklch(0.334 0.063 139.539);
--chart-2: oklch(0.283 0.066 319.385);
--chart-3: oklch(0.283 0.066 319.385);
--chart-4: oklch(0.312 0.075 319.374);
--chart-5: oklch(0.337 0.067 139.571);
}