Luxurious is a shadcn/ui theme built around a green primary color (#67c182) with neutral gray accents (#cecfce). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#67c182) on a neutral background (#030804).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #030804black |
| Foreground | #020804black | #f8fcf9mintcream |
| Card | #f6fdf9mintcream | #040b06black |
| Card foreground | #010402black | #fcfdfcwhite |
| Popover | #f6fdf9mintcream | #040b06black |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #67c182mediumaquamarine | #67c182mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #cecfcelightgrey | #242e27darkslategray |
| Secondary foreground | #353635darkslategray | #bac9bfsilver |
| Muted | #d4e8dagainsboro | #172b1dblack |
| Muted foreground | #445a4bdarkslategray | #a5bbacdarkgray |
| Accent | #cecfcelightgrey | #242e27darkslategray |
| Accent foreground | #353635darkslategray | #bac9bfsilver |
| Destructive | #a82d00firebrick | #ff662etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #67c182mediumaquamarine | #67c182mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 8.18:1 | AAA |
| Destructive | 7.17:1 | AAA |
Paste this into your globals.css to use Luxurious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 155.777);
--foreground: oklch(0.124 0.021 155.351);
--muted: oklch(0.912 0.028 155.267);
--muted-foreground: oklch(0.445 0.037 154.168);
--popover: oklch(0.989 0.01 155.684);
--popover-foreground: oklch(0.098 0.016 155.351);
--card: oklch(0.989 0.01 155.684);
--card-foreground: oklch(0.098 0.016 155.351);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.738 0.126 151.923);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.854 0.001 155.837);
--secondary-foreground: oklch(0.332 0.002 155.756);
--accent: oklch(0.854 0.001 155.837);
--accent-foreground: oklch(0.332 0.002 155.756);
--destructive: oklch(0.486 0.166 36.145);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.126 151.923);
--chart-1: oklch(0.738 0.126 151.923);
--chart-2: oklch(0.854 0.001 155.837);
--chart-3: oklch(0.854 0.001 155.837);
--chart-4: oklch(0.877 0.001 155.843);
--chart-5: oklch(0.744 0.134 151.651);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.016 155.463);
--foreground: oklch(0.987 0.005 155.78);
--muted: oklch(0.268 0.037 152.858);
--muted-foreground: oklch(0.771 0.033 155.037);
--popover: oklch(0.14 0.019 155.377);
--popover-foreground: oklch(0.993 0.002 155.825);
--card: oklch(0.14 0.019 155.377);
--card-foreground: oklch(0.993 0.002 155.825);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.738 0.126 151.923);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.288 0.018 154.592);
--secondary-foreground: oklch(0.822 0.021 155.365);
--accent: oklch(0.288 0.018 154.592);
--accent-foreground: oklch(0.822 0.021 155.365);
--destructive: oklch(0.697 0.199 38.83);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.738 0.126 151.923);
--chart-1: oklch(0.738 0.126 151.923);
--chart-2: oklch(0.288 0.018 154.592);
--chart-3: oklch(0.288 0.018 154.592);
--chart-4: oklch(0.32 0.021 154.538);
--chart-5: oklch(0.744 0.134 151.651);
}