Super is a shadcn/ui theme built around a green primary color (#b0e09f) with green accents (#9fe0ae). The light mode uses a neutral background (#f9fbf8). Dark mode keeps the green primary (#b0e09f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fbf8mintcream | #000000black |
| Foreground | #050c03black | #f9fbf8mintcream |
| Card | #f6faf5whitesmoke | #030303black |
| Card foreground | #040802black | #fcfdfcwhite |
| Popover | #f6faf5whitesmoke | #030303black |
| Popover foreground | #040802black | #fcfdfcwhite |
| Primary | #b0e09fpalegreen | #b0e09fpalegreen |
| Primary foreground | #1d3a13darkgreen | #1d3a13darkgreen |
| Secondary | #d1e09fpalegoldenrod | #d1e09fpalegoldenrod |
| Secondary foreground | #313a13darkslategray | #313a13darkslategray |
| Muted | #e9eed8beige | #222711black |
| Muted foreground | #575856dimgray | #a9a9a7darkgray |
| Accent | #9fe0aepalegreen | #9fe0aepalegreen |
| Accent foreground | #133a1cdarkgreen | #133a1cdarkgreen |
| Destructive | #bf3e03firebrick | #fb5204orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b0e09fpalegreen | #b0e09fpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 5.36:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use Super in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 137.2);
--foreground: oklch(0.144 0.028 135.46);
--muted: oklch(0.938 0.029 117.629);
--muted-foreground: oklch(0.458 0.003 117.189);
--popover: oklch(0.98 0.007 137.206);
--popover-foreground: oklch(0.125 0.024 135.314);
--card: oklch(0.98 0.007 137.206);
--card-foreground: oklch(0.125 0.024 135.314);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.856 0.101 137.52);
--primary-foreground: oklch(0.314 0.073 138.201);
--secondary: oklch(0.879 0.087 118.889);
--secondary-foreground: oklch(0.329 0.061 120.872);
--accent: oklch(0.849 0.096 151.216);
--accent-foreground: oklch(0.311 0.069 148.611);
--destructive: oklch(0.545 0.174 38.836);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.856 0.101 137.52);
--chart-1: oklch(0.856 0.101 137.52);
--chart-2: oklch(0.879 0.087 118.889);
--chart-3: oklch(0.849 0.096 151.216);
--chart-4: oklch(0.893 0.076 118.64);
--chart-5: oklch(0.86 0.106 137.543);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.004 137.2);
--muted: oklch(0.26 0.037 119.811);
--muted-foreground: oklch(0.734 0.002 117.14);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.002 137.194);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 137.194);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.856 0.101 137.52);
--primary-foreground: oklch(0.314 0.073 138.201);
--secondary: oklch(0.879 0.087 118.889);
--secondary-foreground: oklch(0.329 0.061 120.872);
--accent: oklch(0.849 0.096 151.216);
--accent-foreground: oklch(0.311 0.069 148.611);
--destructive: oklch(0.667 0.216 38.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.856 0.101 137.52);
--chart-1: oklch(0.856 0.101 137.52);
--chart-2: oklch(0.879 0.087 118.889);
--chart-3: oklch(0.849 0.096 151.216);
--chart-4: oklch(0.893 0.076 118.64);
--chart-5: oklch(0.86 0.106 137.543);
}