Suite is a shadcn/ui theme built around a green primary color (#51e155) with purple accents (#e151dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#51e155) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010401black |
| Foreground | #041604black | #f9fbf9mintcream |
| Card | #fcfcfcsnow | #020803black |
| Card foreground | #031104black | #fcfdfcwhite |
| Popover | #ffffffwhite | #010401black |
| Popover foreground | #041604black | #f9fbf9mintcream |
| Primary | #51e155limegreen | #51e155limegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #e151ddorchid | #e151ddorchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #e9cee8gainsboro | #311630darkslategray |
| Muted foreground | #554a54darkslategray | #b5aab5darkgray |
| Accent | #e151ddorchid | #e151ddorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #7f0606maroon | #f52424crimson |
| Destructive foreground | #fcbbbblightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #51e155limegreen | #51e155limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.72:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 5.78:1 | AA |
| Accent | 6.41:1 | AA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 7.26:1 | AAA |
| Accent | 6.41:1 | AA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Suite in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.177 0.044 144.278);
--muted: oklch(0.881 0.046 326.983);
--muted-foreground: oklch(0.422 0.023 326.992);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.177 0.044 144.278);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.16 0.039 144.44);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.805 0.22 143.679);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.236 329.175);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.678 0.236 329.175);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.377 0.15 28.562);
--destructive-foreground: oklch(0.851 0.075 18.752);
--ring: oklch(0.805 0.22 143.679);
--chart-1: oklch(0.805 0.22 143.679);
--chart-2: oklch(0.678 0.236 329.175);
--chart-3: oklch(0.678 0.236 329.175);
--chart-4: oklch(0.696 0.222 328.968);
--chart-5: oklch(0.812 0.226 143.598);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.018 145.076);
--foreground: oklch(0.985 0.002 146.523);
--muted: oklch(0.252 0.061 328.413);
--muted-foreground: oklch(0.752 0.02 326.764);
--popover: oklch(0.097 0.018 145.076);
--popover-foreground: oklch(0.985 0.002 146.523);
--card: oklch(0.122 0.022 145.076);
--card-foreground: oklch(0.993 0.001 146.532);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.805 0.22 143.679);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.678 0.236 329.175);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.678 0.236 329.175);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.621 0.238 27.82);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.22 143.679);
--chart-1: oklch(0.805 0.22 143.679);
--chart-2: oklch(0.678 0.236 329.175);
--chart-3: oklch(0.678 0.236 329.175);
--chart-4: oklch(0.696 0.222 328.968);
--chart-5: oklch(0.812 0.226 143.598);
}