Stitcher is a shadcn/ui theme built around a vivid light green primary color (#f3fbcb) with vivid light green accents (#dbfbcb). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the vivid light green primary (#f3fbcb) on a neutral background (#070802).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf7snow | #070802black |
| Foreground | #040501black | #fdfdfcwhite |
| Card | #fcfcf7snow | #070802black |
| Card foreground | #040501black | #fdfdfcwhite |
| Popover | #fcfcf7snow | #070802black |
| Popover foreground | #040501black | #fdfdfcwhite |
| Primary | #f3fbcblightgoldenrodyellow | #f3fbcblightgoldenrodyellow |
| Primary foreground | #242b03black | #242b03black |
| Secondary | #fbebcbblanchedalmond | #fbebcbblanchedalmond |
| Secondary foreground | #2b1e03black | #2b1e03black |
| Muted | #f0eeealinen | #15130fblack |
| Muted foreground | #5a5344darkolivegreen | #bbb4a5darkgray |
| Accent | #dbfbcbbeige | #dbfbcbbeige |
| Accent foreground | #102b03black | #102b03black |
| Destructive | #d44c08chocolate | #f65f13orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3fbcblightgoldenrodyellow | #f3fbcblightgoldenrodyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 13.72:1 | AAA |
| Secondary button | 13.85:1 | AAA |
| Muted text | 6.57:1 | AA |
| Accent | 13.66:1 | AAA |
| Destructive | 4.36:1 | AA Large |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 13.72:1 | AAA |
| Secondary button | 13.85:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 13.66:1 | AAA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use Stitcher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 114.188);
--foreground: oklch(0.107 0.02 115.099);
--muted: oklch(0.95 0.005 84.565);
--muted-foreground: oklch(0.444 0.025 84.539);
--popover: oklch(0.99 0.006 114.188);
--popover-foreground: oklch(0.107 0.02 115.099);
--card: oklch(0.99 0.006 114.188);
--card-foreground: oklch(0.107 0.02 115.099);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.971 0.064 115.285);
--primary-foreground: oklch(0.273 0.06 118.737);
--secondary: oklch(0.945 0.046 84.566);
--secondary-foreground: oklch(0.244 0.046 82.024);
--accent: oklch(0.953 0.073 135.228);
--accent-foreground: oklch(0.258 0.073 136.935);
--destructive: oklch(0.595 0.183 40.219);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.971 0.064 115.285);
--chart-1: oklch(0.971 0.064 115.285);
--chart-2: oklch(0.945 0.046 84.566);
--chart-3: oklch(0.953 0.073 135.228);
--chart-4: oklch(0.96 0.034 84.59);
--chart-5: oklch(0.973 0.066 115.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.017 114.839);
--foreground: oklch(0.994 0.002 114.101);
--muted: oklch(0.186 0.008 84.583);
--muted-foreground: oklch(0.771 0.022 84.593);
--popover: oklch(0.129 0.017 114.839);
--popover-foreground: oklch(0.994 0.002 114.101);
--card: oklch(0.129 0.017 114.839);
--card-foreground: oklch(0.994 0.002 114.101);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.971 0.064 115.285);
--primary-foreground: oklch(0.273 0.06 118.737);
--secondary: oklch(0.945 0.046 84.566);
--secondary-foreground: oklch(0.244 0.046 82.024);
--accent: oklch(0.953 0.073 135.228);
--accent-foreground: oklch(0.258 0.073 136.935);
--destructive: oklch(0.674 0.2 41.164);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.971 0.064 115.285);
--chart-1: oklch(0.971 0.064 115.285);
--chart-2: oklch(0.945 0.046 84.566);
--chart-3: oklch(0.953 0.073 135.228);
--chart-4: oklch(0.96 0.034 84.59);
--chart-5: oklch(0.973 0.066 115.323);
}