Assembly is a shadcn/ui theme built around a light green primary color (#b4f0ad) with muted light green accents (#d3dad3). The light mode uses a neutral background (#fbfefb). Dark mode keeps the light green primary (#b4f0ad) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #000000black |
| Foreground | #000000black | #f9fbf9mintcream |
| Card | #f8fcf7mintcream | #030303black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f8fcf7mintcream | #030303black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #b4f0adpalegreen | #b4f0adpalegreen |
| Primary foreground | #185a11darkgreen | #185a11darkgreen |
| Secondary | #e5e6e5gainsboro | #2c312bdarkslategray |
| Secondary foreground | #4c4d4cdarkslategray | #c4cac4silver |
| Muted | #cde7cblightgrey | #1b3418darkgreen |
| Muted foreground | #5d605cdimgray | #9fa39fdarkgray |
| Accent | #d3dad3lightgrey | #364634darkslategray |
| Accent foreground | #394338darkslategray | #d1dcd0lightgrey |
| Destructive | #9d3e0csaddlebrown | #ed5f12chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b4f0adpalegreen | #b4f0adpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 6.77:1 | AA |
| Muted text | 4.82:1 | AA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 5.27:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 6.23:1 | AA |
Paste this into your globals.css to use Assembly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 142.611);
--foreground: oklch(0 0 0);
--muted: oklch(0.901 0.047 142.415);
--muted-foreground: oklch(0.486 0.007 142.566);
--popover: oklch(0.987 0.008 142.594);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.008 142.594);
--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.897 0.109 142.129);
--primary-foreground: oklch(0.412 0.124 141.715);
--secondary: oklch(0.924 0.001 142.623);
--secondary-foreground: oklch(0.419 0.003 142.597);
--accent: oklch(0.881 0.012 142.571);
--accent-foreground: oklch(0.369 0.023 142.375);
--destructive: oklch(0.488 0.138 43.157);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.109 142.129);
--chart-1: oklch(0.897 0.109 142.129);
--chart-2: oklch(0.924 0.001 142.623);
--chart-3: oklch(0.881 0.012 142.571);
--chart-4: oklch(0.947 0.001 142.624);
--chart-5: oklch(0.9 0.113 142.111);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.003 142.615);
--muted: oklch(0.298 0.059 141.845);
--muted-foreground: oklch(0.71 0.007 142.589);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 142.621);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 142.621);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.897 0.109 142.129);
--primary-foreground: oklch(0.412 0.124 141.715);
--secondary: oklch(0.305 0.012 142.467);
--secondary-foreground: oklch(0.833 0.011 142.572);
--accent: oklch(0.375 0.037 142.218);
--accent-foreground: oklch(0.884 0.02 142.533);
--destructive: oklch(0.659 0.191 42.394);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.897 0.109 142.129);
--chart-1: oklch(0.897 0.109 142.129);
--chart-2: oklch(0.305 0.012 142.467);
--chart-3: oklch(0.375 0.037 142.218);
--chart-4: oklch(0.336 0.014 142.462);
--chart-5: oklch(0.9 0.113 142.111);
}