Suit is a shadcn/ui theme built around a light orange primary color (#faf7f5) with light yellow accents (#faf9f5). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light orange primary (#faf7f5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefcfbsnow | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefcfbsnow | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #faf7f5whitesmoke | #faf7f5whitesmoke |
| Primary foreground | #7b5642sienna | #7b5642sienna |
| Secondary | #faf5f6whitesmoke | #faf5f6whitesmoke |
| Secondary foreground | #7b424bsienna | #7b424bsienna |
| Muted | #eae6e7linen | #191516black |
| Muted foreground | #524749darkslategray | #b8adafdarkgray |
| Accent | #faf9f5whitesmoke | #faf9f5whitesmoke |
| Accent foreground | #38341edarkslategray | #38341edarkslategray |
| Destructive | #811b09maroon | #e53010orangered |
| Destructive foreground | #fbcac1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faf7f5whitesmoke | #faf7f5whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 7.21:1 | AAA |
| Accent | 11.86:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 8.29:1 | AAA |
| Accent | 11.86:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Suit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 50.626);
--foreground: oklch(0 0 0);
--muted: oklch(0.929 0.004 6.691);
--muted-foreground: oklch(0.41 0.015 7.492);
--popover: oklch(0.992 0.003 50.626);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0.003 50.626);
--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.977 0.004 50.608);
--primary-foreground: oklch(0.487 0.058 49.232);
--secondary: oklch(0.974 0.005 6.724);
--secondary-foreground: oklch(0.451 0.079 11.133);
--accent: oklch(0.981 0.005 98.392);
--accent-foreground: oklch(0.325 0.036 99.459);
--destructive: oklch(0.395 0.139 32.189);
--destructive-foreground: oklch(0.878 0.057 29.843);
--ring: oklch(0.977 0.004 50.608);
--chart-1: oklch(0.977 0.004 50.608);
--chart-2: oklch(0.974 0.005 6.724);
--chart-3: oklch(0.981 0.005 98.392);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.977 0.004 50.603);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.201 0.005 7.247);
--muted-foreground: oklch(0.758 0.012 7.009);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.977 0.004 50.608);
--primary-foreground: oklch(0.487 0.058 49.232);
--secondary: oklch(0.974 0.005 6.724);
--secondary-foreground: oklch(0.451 0.079 11.133);
--accent: oklch(0.981 0.005 98.392);
--accent-foreground: oklch(0.325 0.036 99.459);
--destructive: oklch(0.598 0.219 31.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.004 50.608);
--chart-1: oklch(0.977 0.004 50.608);
--chart-2: oklch(0.974 0.005 6.724);
--chart-3: oklch(0.981 0.005 98.392);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.977 0.004 50.603);
}