Luxurious is a shadcn/ui theme built around a light teal primary color (#dcf4f0) with light red accents (#f4dce0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#dcf4f0) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #010403black | #f7f8f8whitesmoke |
| Card | #ffffffwhite | #010403black |
| Card foreground | #010403black | #f7f8f8whitesmoke |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #010403black | #f7f8f8whitesmoke |
| Primary | #dcf4f0lightcyan | #dcf4f0lightcyan |
| Primary foreground | #0d2b26black | #0d2b26black |
| Secondary | #f4dce0mistyrose | #f4dce0mistyrose |
| Secondary foreground | #782632brown | #782632brown |
| Muted | #f5ebeclinen | #140a0cblack |
| Muted foreground | #715b5edimgray | #a48e91rosybrown |
| Accent | #f4dce0mistyrose | #f4dce0mistyrose |
| Accent foreground | #782632brown | #782632brown |
| Destructive | #bb0f0cfirebrick | #f0130fred |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dcf4f0lightcyan | #dcf4f0lightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 13.12:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 6.37:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 13.12:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.37:1 | AA Large |
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.099 0.01 186.197);
--muted: oklch(0.947 0.011 6.89);
--muted-foreground: oklch(0.494 0.03 8.096);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.01 186.197);
--card: oklch(1 0 180);
--card-foreground: oklch(0.099 0.01 186.197);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.949 0.025 185.903);
--primary-foreground: oklch(0.264 0.036 182.202);
--secondary: oklch(0.915 0.027 7.326);
--secondary-foreground: oklch(0.397 0.114 15.245);
--accent: oklch(0.915 0.027 7.326);
--accent-foreground: oklch(0.397 0.114 15.245);
--destructive: oklch(0.502 0.199 28.871);
--destructive-foreground: oklch(0.989 0.005 18.435);
--ring: oklch(0.949 0.025 185.903);
--chart-1: oklch(0.949 0.025 185.903);
--chart-2: oklch(0.915 0.027 7.326);
--chart-3: oklch(0.915 0.027 7.326);
--chart-4: oklch(0.944 0.018 7.062);
--chart-5: oklch(0.95 0.027 185.864);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.009 186.234);
--foreground: oklch(0.978 0.002 186.548);
--muted: oklch(0.161 0.018 9.411);
--muted-foreground: oklch(0.667 0.027 7.619);
--popover: oklch(0.098 0.009 186.234);
--popover-foreground: oklch(0.978 0.002 186.548);
--card: oklch(0.098 0.009 186.234);
--card-foreground: oklch(0.978 0.002 186.548);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.949 0.025 185.903);
--primary-foreground: oklch(0.264 0.036 182.202);
--secondary: oklch(0.915 0.027 7.326);
--secondary-foreground: oklch(0.397 0.114 15.245);
--accent: oklch(0.915 0.027 7.326);
--accent-foreground: oklch(0.397 0.114 15.245);
--destructive: oklch(0.604 0.241 28.975);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.025 185.903);
--chart-1: oklch(0.949 0.025 185.903);
--chart-2: oklch(0.915 0.027 7.326);
--chart-3: oklch(0.915 0.027 7.326);
--chart-4: oklch(0.944 0.018 7.062);
--chart-5: oklch(0.95 0.027 185.864);
}