Luxurious for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button13.12:1AAA
Secondary button7.61:1AAA
Muted text5.33:1AA
Accent7.61:1AAA
Destructive6.37:1AA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button13.12:1AAA
Secondary button7.61:1AAA
Muted text6.34:1AA
Accent7.61:1AAA
Destructive4.37:1AA Large

CSS variables

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);
}