Furniture is a shadcn/ui theme built around a deep indigo primary color (#1d1e44) with deep violet accents (#2f1d44). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#1d1e44) on an indigo-tinted background (#06060f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06060fblack |
| Foreground | #000000black | #f5f5fawhitesmoke |
| Card | #ffffffwhite | #06060fblack |
| Card foreground | #000000black | #f5f5fawhitesmoke |
| Popover | #ffffffwhite | #06060fblack |
| Popover foreground | #000000black | #f5f5fawhitesmoke |
| Primary | #1d1e44midnightblue | #1d1e44midnightblue |
| Primary foreground | #b3b5dflightsteelblue | #b3b5dflightsteelblue |
| Secondary | #1d3244darkslategray | #1d3244darkslategray |
| Secondary foreground | #b3cbdflightsteelblue | #b3cbdflightsteelblue |
| Muted | #dbe3ebgainsboro | #141d24black |
| Muted foreground | #575f66dimgray | #99a1a8darkgray |
| Accent | #2f1d44midnightblue | #2f1d44midnightblue |
| Accent foreground | #c8b3dfthistle | #c8b3dfthistle |
| Destructive | #963403saddlebrown | #fa5705orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d1e44midnightblue | #1d1e44midnightblue |
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.02:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 7.53:1 | AAA |
| Text on background | 18.59:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.27:1 | AA Large |
Paste this into your globals.css to use Furniture in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.913 0.013 244.266);
--muted-foreground: oklch(0.48 0.015 244.482);
--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.257 0.071 278.691);
--primary-foreground: oklch(0.786 0.06 283.371);
--secondary: oklch(0.308 0.043 246.19);
--secondary-foreground: oklch(0.831 0.038 244.667);
--accent: oklch(0.274 0.073 303.47);
--accent-foreground: oklch(0.8 0.065 306.119);
--destructive: oklch(0.462 0.141 40.705);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.071 278.691);
--chart-1: oklch(0.257 0.071 278.691);
--chart-2: oklch(0.308 0.043 246.19);
--chart-3: oklch(0.274 0.073 303.47);
--chart-4: oklch(0.337 0.049 246.278);
--chart-5: oklch(0.254 0.076 278.046);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.022 280.842);
--foreground: oklch(0.971 0.007 284.679);
--muted: oklch(0.224 0.018 245.148);
--muted-foreground: oklch(0.705 0.014 244.332);
--popover: oklch(0.126 0.022 280.842);
--popover-foreground: oklch(0.971 0.007 284.679);
--card: oklch(0.126 0.022 280.842);
--card-foreground: oklch(0.971 0.007 284.679);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.257 0.071 278.691);
--primary-foreground: oklch(0.786 0.06 283.371);
--secondary: oklch(0.308 0.043 246.19);
--secondary-foreground: oklch(0.831 0.038 244.667);
--accent: oklch(0.274 0.073 303.47);
--accent-foreground: oklch(0.8 0.065 306.119);
--destructive: oklch(0.67 0.211 39.427);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.071 278.691);
--chart-1: oklch(0.257 0.071 278.691);
--chart-2: oklch(0.308 0.043 246.19);
--chart-3: oklch(0.274 0.073 303.47);
--chart-4: oklch(0.337 0.049 246.278);
--chart-5: oklch(0.254 0.076 278.046);
}