Super is a shadcn/ui theme built around a violet primary color (#5c3b6d) with teal accents (#3b6d5c). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the violet primary (#5c3b6d) on a violet-tinted background (#09040c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #09040cblack |
| Foreground | #000000black | #faf9fasnow |
| Card | #fbf8fcghostwhite | #0c0510black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fbf8fcghostwhite | #0c0510black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #5c3b6ddarkslateblue | #5c3b6ddarkslateblue |
| Primary foreground | #efe8f3lavender | #efe8f3lavender |
| Secondary | #6d5c3bdarkolivegreen | #6d5c3bdarkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2f0eewhitesmoke | #11100dblack |
| Muted foreground | #4f4d4adarkslategray | #b5b3b0darkgray |
| Accent | #3b6d5cseagreen | #3b6d5cseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ab3b12brown | #eb6f42tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5c3b6ddarkslateblue | #5c3b6ddarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.41:1 | AAA |
| Accent | 5.92:1 | AA |
| Destructive | 6.26:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 9.09:1 | AAA |
| Accent | 5.92:1 | AA |
| Destructive | 6.88:1 | AA |
Paste this into your globals.css to use Super in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 314.2);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.004 83.058);
--muted-foreground: oklch(0.421 0.005 83.065);
--popover: oklch(0.981 0.007 314.18);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.007 314.18);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.412 0.09 312.912);
--primary-foreground: oklch(0.939 0.016 314.125);
--secondary: oklch(0.483 0.053 82.324);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.495 0.062 169.046);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.507 0.155 37.999);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.412 0.09 312.912);
--chart-1: oklch(0.412 0.09 312.912);
--chart-2: oklch(0.483 0.053 82.324);
--chart-3: oklch(0.495 0.062 169.046);
--chart-4: oklch(0.513 0.057 82.302);
--chart-5: oklch(0.41 0.098 312.746);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.025 315.782);
--foreground: oklch(0.984 0.002 314.211);
--muted: oklch(0.173 0.006 83.048);
--muted-foreground: oklch(0.768 0.005 83.061);
--popover: oklch(0.133 0.029 314.417);
--popover-foreground: oklch(0.992 0.001 314.216);
--card: oklch(0.133 0.029 314.417);
--card-foreground: oklch(0.992 0.001 314.216);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.412 0.09 312.912);
--primary-foreground: oklch(0.939 0.016 314.125);
--secondary: oklch(0.483 0.053 82.324);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.495 0.062 169.046);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.682 0.165 39.892);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.412 0.09 312.912);
--chart-1: oklch(0.412 0.09 312.912);
--chart-2: oklch(0.483 0.053 82.324);
--chart-3: oklch(0.495 0.062 169.046);
--chart-4: oklch(0.513 0.057 82.302);
--chart-5: oklch(0.41 0.098 312.746);
}