Lacquerware is a shadcn/ui theme built around a deep indigo primary color (#2a2650) with deep green accents (#26502a). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the deep indigo primary (#2a2650) on a neutral background (#030307).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #030307black |
| Foreground | #030208black | #f6f6f8whitesmoke |
| Card | #f4f2fcwhitesmoke | #05040bblack |
| Card foreground | #010104black | #f9f9fbghostwhite |
| Popover | #f4f2fcwhitesmoke | #05040bblack |
| Popover foreground | #010104black | #f9f9fbghostwhite |
| Primary | #2a2650midnightblue | #2a2650midnightblue |
| Primary foreground | #c8c4e3thistle | #c8c4e3thistle |
| Secondary | #502a26darkslategray | #502a26darkslategray |
| Secondary foreground | #e3c8c4thistle | #e3c8c4thistle |
| Muted | #e4d4d2gainsboro | #2d1d1bblack |
| Muted foreground | #594c4adarkolivegreen | #b5a8a6darkgray |
| Accent | #26502adarkslategray | #26502adarkslategray |
| Accent foreground | #c4e3c8lightgrey | #c4e3c8lightgrey |
| Destructive | #621a04maroon | #f85f30tomato |
| Destructive foreground | #fbb39dlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a2650midnightblue | #2a2650midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 5.74:1 | AA |
| Accent | 6.72:1 | AA |
| Destructive | 7.20:1 | AAA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 6.72:1 | AA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Lacquerware in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.009 291.612);
--foreground: oklch(0.094 0.023 289.045);
--muted: oklch(0.884 0.018 26.584);
--muted-foreground: oklch(0.429 0.018 26.769);
--popover: oklch(0.966 0.013 291.524);
--popover-foreground: oklch(0.075 0.018 289.045);
--card: oklch(0.966 0.013 291.524);
--card-foreground: oklch(0.075 0.018 289.045);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.296 0.075 286.226);
--primary-foreground: oklch(0.833 0.043 290.778);
--secondary: oklch(0.334 0.057 28.415);
--secondary-foreground: oklch(0.854 0.032 26.729);
--accent: oklch(0.389 0.078 146.357);
--accent-foreground: oklch(0.886 0.05 148.449);
--destructive: oklch(0.335 0.109 36.328);
--destructive-foreground: oklch(0.829 0.091 37.63);
--ring: oklch(0.296 0.075 286.226);
--chart-1: oklch(0.296 0.075 286.226);
--chart-2: oklch(0.334 0.057 28.415);
--chart-3: oklch(0.389 0.078 146.357);
--chart-4: oklch(0.362 0.063 28.478);
--chart-5: oklch(0.292 0.081 285.577);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.016 290.106);
--foreground: oklch(0.975 0.003 291.721);
--muted: oklch(0.249 0.025 27.448);
--muted-foreground: oklch(0.741 0.015 26.588);
--popover: oklch(0.116 0.019 290.074);
--popover-foreground: oklch(0.983 0.002 291.741);
--card: oklch(0.116 0.019 290.074);
--card-foreground: oklch(0.983 0.002 291.741);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.296 0.075 286.226);
--primary-foreground: oklch(0.833 0.043 290.778);
--secondary: oklch(0.334 0.057 28.415);
--secondary-foreground: oklch(0.854 0.032 26.729);
--accent: oklch(0.389 0.078 146.357);
--accent-foreground: oklch(0.886 0.05 148.449);
--destructive: oklch(0.677 0.196 36.888);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.296 0.075 286.226);
--chart-1: oklch(0.296 0.075 286.226);
--chart-2: oklch(0.334 0.057 28.415);
--chart-3: oklch(0.389 0.078 146.357);
--chart-4: oklch(0.362 0.063 28.478);
--chart-5: oklch(0.292 0.081 285.577);
}