Sibling is a shadcn/ui theme built around a near-black primary color (#1c1d1b) with near-black accents (#1d1b1c). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#1c1d1b) on a green-tinted background (#0a0f06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0f06black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0a0f06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0a0f06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1c1d1bblack | #1c1d1bblack |
| Primary foreground | #b5b7b3silver | #b5b7b3silver |
| Secondary | #1b1c1dblack | #1b1c1dblack |
| Secondary foreground | #b3b5b7silver | #b3b5b7silver |
| Muted | #d1dcebgainsboro | #141f2eblack |
| Muted foreground | #3d3f43darkslategray | #bcbfc2silver |
| Accent | #1d1b1cblack | #1d1b1cblack |
| Accent foreground | #b7b3b5silver | #b7b3b5silver |
| Destructive | #752106maroon | #f66b3ctomato |
| Destructive foreground | #fbc4b1lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1c1d1bblack | #1c1d1bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 8.95:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 7.06:1 | AAA |
Paste this into your globals.css to use Sibling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.891 0.024 255.084);
--muted-foreground: oklch(0.368 0.007 255.052);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.229 0.003 131.219);
--primary-foreground: oklch(0.777 0.007 131.161);
--secondary: oklch(0.226 0.002 255.004);
--secondary-foreground: oklch(0.772 0.004 254.983);
--accent: oklch(0.225 0.003 349.093);
--accent-foreground: oklch(0.77 0.006 348.938);
--destructive: oklch(0.379 0.122 36.759);
--destructive-foreground: oklch(0.864 0.069 39.233);
--ring: oklch(0.229 0.003 131.219);
--chart-1: oklch(0.229 0.003 131.219);
--chart-2: oklch(0.226 0.002 255.004);
--chart-3: oklch(0.225 0.003 349.093);
--chart-4: oklch(0.258 0.003 255.008);
--chart-5: oklch(0.231 0.007 131.353);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.021 131.014);
--foreground: oklch(1 0 180);
--muted: oklch(0.238 0.033 255.445);
--muted-foreground: oklch(0.803 0.006 254.994);
--popover: oklch(0.158 0.021 131.014);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.158 0.021 131.014);
--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.229 0.003 131.219);
--primary-foreground: oklch(0.777 0.007 131.161);
--secondary: oklch(0.226 0.002 255.004);
--secondary-foreground: oklch(0.772 0.004 254.983);
--accent: oklch(0.225 0.003 349.093);
--accent-foreground: oklch(0.77 0.006 348.938);
--destructive: oklch(0.691 0.182 38.399);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.229 0.003 131.219);
--chart-1: oklch(0.229 0.003 131.219);
--chart-2: oklch(0.226 0.002 255.004);
--chart-3: oklch(0.225 0.003 349.093);
--chart-4: oklch(0.258 0.003 255.008);
--chart-5: oklch(0.231 0.007 131.353);
}