Lavish Spending Guan is a shadcn/ui theme built around a violet primary color (#8463b6) with muted light violet accents (#eae7ef). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the violet primary (#8463b6) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #020104black |
| Foreground | #040109black | #f7f5fawhitesmoke |
| Card | #f6f3fcghostwhite | #050308black |
| Card foreground | #020105black | #faf8fbghostwhite |
| Popover | #f6f3fcghostwhite | #050308black |
| Popover foreground | #020105black | #faf8fbghostwhite |
| Primary | #8463b6slateblue | #8463b6slateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #eae7eflavender | #212121black |
| Secondary foreground | #4e4162darkslategray | #bab9bbsilver |
| Muted | #efeaf6lavender | #0e0915black |
| Muted foreground | #5b5661dimgray | #a29ea9darkgray |
| Accent | #eae7eflavender | #212121black |
| Accent foreground | #4e4162darkslategray | #bab9bbsilver |
| Destructive | #6c2704maroon | #f0570aorangered |
| Destructive foreground | #fbc3a7navajowhite | #ffffffwhite |
| Border | #eae8edlavender | #25212cdarkslategray |
| Input | #eae8edlavender | #25212cdarkslategray |
| Ring | #8463b6slateblue | #8463b6slateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 4.73:1 | AA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.99:1 | AA |
| Text on background | 19.20:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 4.73:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 7.47:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Lavish Spending Guan in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.008 304.229);
--foreground: oklch(0.094 0.031 306.002);
--muted: oklch(0.943 0.017 304.092);
--muted-foreground: oklch(0.462 0.018 303.775);
--popover: oklch(0.969 0.012 304.169);
--popover-foreground: oklch(0.074 0.025 306.002);
--card: oklch(0.969 0.012 304.169);
--card-foreground: oklch(0.074 0.025 306.002);
--border: oklch(0.934 0.008 304.222);
--input: oklch(0.934 0.008 304.222);
--primary: oklch(0.568 0.127 300.887);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.931 0.011 304.169);
--secondary-foreground: oklch(0.404 0.056 302.313);
--accent: oklch(0.931 0.011 304.169);
--accent-foreground: oklch(0.404 0.056 302.313);
--destructive: oklch(0.37 0.107 42.232);
--destructive-foreground: oklch(0.861 0.075 47.827);
--ring: oklch(0.568 0.127 300.887);
--chart-1: oklch(0.568 0.127 300.887);
--chart-2: oklch(0.931 0.011 304.169);
--chart-3: oklch(0.931 0.011 304.169);
--chart-4: oklch(0.957 0.007 304.239);
--chart-5: oklch(0.564 0.138 300.524);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.015 305.262);
--foreground: oklch(0.973 0.006 304.254);
--muted: oklch(0.155 0.026 301.882);
--muted-foreground: oklch(0.705 0.017 304.009);
--popover: oklch(0.102 0.019 305.262);
--popover-foreground: oklch(0.982 0.004 304.285);
--card: oklch(0.102 0.019 305.262);
--card-foreground: oklch(0.982 0.004 304.285);
--border: oklch(0.257 0.021 303.185);
--input: oklch(0.257 0.021 303.185);
--primary: oklch(0.568 0.127 300.887);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.248 0.001 304.27);
--secondary-foreground: oklch(0.788 0.002 304.308);
--accent: oklch(0.248 0.001 304.27);
--accent-foreground: oklch(0.788 0.002 304.308);
--destructive: oklch(0.654 0.201 40.154);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.127 300.887);
--chart-1: oklch(0.568 0.127 300.887);
--chart-2: oklch(0.248 0.001 304.27);
--chart-3: oklch(0.248 0.001 304.27);
--chart-4: oklch(0.279 0.002 304.265);
--chart-5: oklch(0.564 0.138 300.524);
}