Showy is a shadcn/ui theme built around a muted light green primary color (#c2d0c9) with muted light orange accents (#d0c9c2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#c2d0c9) on a green-tinted background (#030c08).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030c08black |
| Foreground | #010402black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #05100ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #030c08black |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #c2d0c9silver | #c2d0c9silver |
| Primary foreground | #2a3730darkslategray | #2a3730darkslategray |
| Secondary | #c9c2d0thistle | #c9c2d0thistle |
| Secondary foreground | #302a37darkslategray | #302a37darkslategray |
| Muted | #d8c9e8thistle | #261736midnightblue |
| Muted foreground | #423e47darkslategray | #bdb8c1silver |
| Accent | #d0c9c2silver | #d0c9c2silver |
| Accent foreground | #37302adarkslategray | #37302adarkslategray |
| Destructive | #990705darkred | #f93c39tomato |
| Destructive foreground | #fed3d2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c2d0c9silver | #c2d0c9silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Showy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.017 164.425);
--muted: oklch(0.859 0.045 307.183);
--muted-foreground: oklch(0.371 0.017 307.263);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.017 164.425);
--card: oklch(0.992 0 161.565);
--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.846 0.018 163.727);
--primary-foreground: oklch(0.322 0.02 162.537);
--secondary: oklch(0.825 0.021 307.499);
--secondary-foreground: oklch(0.297 0.024 306.85);
--accent: oklch(0.84 0.012 65.791);
--accent-foreground: oklch(0.315 0.014 65.388);
--destructive: oklch(0.433 0.173 29.11);
--destructive-foreground: oklch(0.903 0.048 19.22);
--ring: oklch(0.846 0.018 163.727);
--chart-1: oklch(0.846 0.018 163.727);
--chart-2: oklch(0.825 0.021 307.499);
--chart-3: oklch(0.84 0.012 65.791);
--chart-4: oklch(0.851 0.017 307.549);
--chart-5: oklch(0.848 0.022 163.597);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.019 164.103);
--foreground: oklch(0.993 0.001 164.248);
--muted: oklch(0.24 0.059 304.66);
--muted-foreground: oklch(0.789 0.014 307.584);
--popover: oklch(0.142 0.019 164.103);
--popover-foreground: oklch(0.993 0.001 164.248);
--card: oklch(0.158 0.022 162.319);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.846 0.018 163.727);
--primary-foreground: oklch(0.322 0.02 162.537);
--secondary: oklch(0.825 0.021 307.499);
--secondary-foreground: oklch(0.297 0.024 306.85);
--accent: oklch(0.84 0.012 65.791);
--accent-foreground: oklch(0.315 0.014 65.388);
--destructive: oklch(0.646 0.225 26.924);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.846 0.018 163.727);
--chart-1: oklch(0.846 0.018 163.727);
--chart-2: oklch(0.825 0.021 307.499);
--chart-3: oklch(0.84 0.012 65.791);
--chart-4: oklch(0.851 0.017 307.549);
--chart-5: oklch(0.848 0.022 163.597);
}