Luxurious is a shadcn/ui theme built around a teal primary color (#397467) with yellow accents (#746739). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#397467) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #030d0ablack | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #030d0ablack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #030d0ablack | #ffffffwhite |
| Primary | #397467seagreen | #397467seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #673974rebeccapurple | #673974rebeccapurple |
| Secondary foreground | #f3eaf5whitesmoke | #f3eaf5whitesmoke |
| Muted | #ece8eelavender | #161117black |
| Muted foreground | #4b424ddarkslategray | #bbb2bdsilver |
| Accent | #746739darkolivegreen | #746739darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d81103red | #e21203red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #397467seagreen | #397467seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 5.41:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 7.91:1 | AAA |
| Accent | 5.58:1 | AA |
| Destructive | 5.24:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 5.41:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 9.04:1 | AAA |
| Accent | 5.58:1 | AA |
| Destructive | 4.85:1 | AA |
Paste this into your globals.css to use Luxurious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.019 181.056);
--muted: oklch(0.935 0.01 318.887);
--muted-foreground: oklch(0.391 0.022 318.87);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.019 181.056);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0.019 181.056);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.516 0.065 177.644);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.427 0.107 318.64);
--secondary-foreground: oklch(0.948 0.016 318.884);
--accent: oklch(0.516 0.067 94.363);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.558 0.223 29.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.516 0.065 177.644);
--chart-1: oklch(0.516 0.065 177.644);
--chart-2: oklch(0.427 0.107 318.64);
--chart-3: oklch(0.516 0.067 94.363);
--chart-4: oklch(0.453 0.115 318.633);
--chart-5: oklch(0.522 0.07 177.275);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.188 0.014 318.861);
--muted-foreground: oklch(0.774 0.019 318.882);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.516 0.065 177.644);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.427 0.107 318.64);
--secondary-foreground: oklch(0.948 0.016 318.884);
--accent: oklch(0.516 0.067 94.363);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.578 0.231 29.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.516 0.065 177.644);
--chart-1: oklch(0.516 0.065 177.644);
--chart-2: oklch(0.427 0.107 318.64);
--chart-3: oklch(0.516 0.067 94.363);
--chart-4: oklch(0.453 0.115 318.633);
--chart-5: oklch(0.522 0.07 177.275);
}