Luxurious is a shadcn/ui theme built around a near-black primary color (#090608) with neutral gray accents (#d1d1d1). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the near-black primary (#090608) on a purple-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0a0509black |
| Foreground | #040103black | #faf5f9whitesmoke |
| Card | #faf4f9whitesmoke | #0d070cblack |
| Card foreground | #000000black | #fcf8fbsnow |
| Popover | #fcf8fbsnow | #0a0509black |
| Popover foreground | #040103black | #faf5f9whitesmoke |
| Primary | #090608black | #090608black |
| Primary foreground | #b092a8darkgray | #b092a8darkgray |
| Secondary | #d1d1d1lightgrey | #272125darkslategray |
| Secondary foreground | #383838darkslategray | #c2b7bfsilver |
| Muted | #f0ebeblinen | #140f13black |
| Muted foreground | #4a4545darkslategray | #bab5b9silver |
| Accent | #d1d1d1lightgrey | #272125darkslategray |
| Accent foreground | #383838darkslategray | #c2b7bfsilver |
| Destructive | #b93e09firebrick | #f56224chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #090608black | #090608black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 7.95:1 | AAA |
| Accent | 7.68:1 | AAA |
| Destructive | 5.60:1 | AA |
| Text on background | 18.74:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 9.36:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 6.66:1 | AA |
Paste this into your globals.css to use Luxurious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 333.976);
--foreground: oklch(0.085 0.018 334.615);
--muted: oklch(0.943 0.005 17.253);
--muted-foreground: oklch(0.394 0.008 17.486);
--popover: oklch(0.983 0.006 333.976);
--popover-foreground: oklch(0.085 0.018 334.615);
--card: oklch(0.974 0.009 334.026);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.13 0.007 334.077);
--primary-foreground: oklch(0.693 0.048 334.994);
--secondary: oklch(0.861 0 180);
--secondary-foreground: oklch(0.341 0 158.199);
--accent: oklch(0.861 0 180);
--accent-foreground: oklch(0.341 0 158.199);
--destructive: oklch(0.534 0.168 38.644);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.13 0.007 334.077);
--chart-1: oklch(0.13 0.007 334.077);
--chart-2: oklch(0.861 0 180);
--chart-3: oklch(0.861 0 180);
--chart-4: oklch(0.885 0 180);
--chart-5: oklch(0.129 0.008 334.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.013 334.256);
--foreground: oklch(0.975 0.008 334.007);
--muted: oklch(0.178 0.011 334.892);
--muted-foreground: oklch(0.778 0.009 334.066);
--popover: oklch(0.128 0.013 334.256);
--popover-foreground: oklch(0.975 0.008 334.007);
--card: oklch(0.141 0.015 335.12);
--card-foreground: oklch(0.983 0.005 333.963);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.13 0.007 334.077);
--primary-foreground: oklch(0.693 0.048 334.994);
--secondary: oklch(0.255 0.012 334.623);
--secondary-foreground: oklch(0.792 0.016 334.219);
--accent: oklch(0.255 0.012 334.623);
--accent-foreground: oklch(0.792 0.016 334.219);
--destructive: oklch(0.677 0.193 40.564);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.13 0.007 334.077);
--chart-1: oklch(0.13 0.007 334.077);
--chart-2: oklch(0.255 0.012 334.623);
--chart-3: oklch(0.255 0.012 334.623);
--chart-4: oklch(0.286 0.014 334.662);
--chart-5: oklch(0.129 0.008 334.115);
}