Stitcher is a shadcn/ui theme built around a muted yellow primary color (#91855f) with muted blue accents (#5f6a91). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the muted yellow primary (#91855f) on a yellow-tinted background (#0b0905).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #0b0905black |
| Foreground | #090701black | #ffffffwhite |
| Card | #fbfbf8snow | #0b0905black |
| Card foreground | #090701black | #ffffffwhite |
| Popover | #fbfbf8snow | #0b0905black |
| Popover foreground | #090701black | #ffffffwhite |
| Primary | #91855fgray | #91855fgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #5f6a91slategray | #5f6a91slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ececeflavender | #101113black |
| Muted foreground | #55575edimgray | #a1a3aadarkgray |
| Accent | #5f6a91slategray | #5f6a91slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a4360esaddlebrown | #e14a14chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #91855fgray | #91855fgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 5.73:1 | AA |
| Secondary button | 5.28:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 5.28:1 | AA |
| Destructive | 6.72:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 5.73:1 | AA |
| Secondary button | 5.28:1 | AA |
| Muted text | 7.49:1 | AAA |
| Accent | 5.28:1 | AA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Stitcher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.003 92.689);
--foreground: oklch(0.128 0.02 98.436);
--muted: oklch(0.944 0.003 272.62);
--muted-foreground: oklch(0.457 0.011 272.385);
--popover: oklch(0.987 0.003 92.689);
--popover-foreground: oklch(0.128 0.02 98.436);
--card: oklch(0.987 0.003 92.689);
--card-foreground: oklch(0.128 0.02 98.436);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.618 0.056 93.17);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.531 0.063 271.099);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.063 271.099);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.49 0.152 37.723);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.056 93.17);
--chart-1: oklch(0.618 0.056 93.17);
--chart-2: oklch(0.531 0.063 271.099);
--chart-3: oklch(0.531 0.063 271.099);
--chart-4: oklch(0.555 0.066 271.086);
--chart-5: oklch(0.625 0.063 93.152);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.012 96.074);
--foreground: oklch(1 0 180);
--muted: oklch(0.178 0.005 272.334);
--muted-foreground: oklch(0.717 0.01 272.507);
--popover: oklch(0.141 0.012 96.074);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.012 96.074);
--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.618 0.056 93.17);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.531 0.063 271.099);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.063 271.099);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.616 0.196 37.337);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.056 93.17);
--chart-1: oklch(0.618 0.056 93.17);
--chart-2: oklch(0.531 0.063 271.099);
--chart-3: oklch(0.531 0.063 271.099);
--chart-4: oklch(0.555 0.066 271.086);
--chart-5: oklch(0.625 0.063 93.152);
}