Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Soulmate for shadcn/ui

Soulmate is a shadcn/ui theme built around an orange primary color (#de9e4a) with violet accents (#9e4ade). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the orange primary (#de9e4a) on an orange-tinted background (#0b0805).

Color palette

TokenLightDark
Background
#fdfaf7snow
#0b0805black
Foreground
#160e04black
#fafaf9snow
Card
#fcf8f2floralwhite
#0e0b06black
Card foreground
#110b03black
#fdfcfcsnow
Popover
#fcf8f2floralwhite
#0e0b06black
Popover foreground
#110b03black
#fdfcfcsnow
Primary
#de9e4asandybrown
#de9e4asandybrown
Primary foreground
#000000black
#000000black
Secondary
#4ade9emediumaquamarine
#4ade9emediumaquamarine
Secondary foreground
#000000black
#000000black
Muted
#e5ebe9lavender
#141a17black
Muted foreground
#3c4843darkslategray
#b7c3bdsilver
Accent
#9e4adedarkorchid
#9e4adedarkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#870703darkred
#fb3932tomato
Destructive foreground
#fec0belightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#de9e4asandybrown
#de9e4asandybrown

Contrast

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

Light mode
Text on background18.42:1AAA
Text on card18.51:1AAA
Primary button9.07:1AAA
Secondary button12.21:1AAA
Muted text7.92:1AAA
Accent4.68:1AA
Destructive6.54:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.19:1AAA
Primary button9.07:1AAA
Secondary button12.21:1AAA
Muted text9.68:1AAA
Accent4.68:1AA
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use Soulmate in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 74.918);
  --foreground: oklch(0.17 0.025 76.42);
  --muted: oklch(0.935 0.008 168.482);
  --muted-foreground: oklch(0.39 0.018 167.402);
  --popover: oklch(0.981 0.009 74.898);
  --popover-foreground: oklch(0.156 0.022 79.207);
  --card: oklch(0.981 0.009 74.898);
  --card-foreground: oklch(0.156 0.022 79.207);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.745 0.125 70.931);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.806 0.156 160.687);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.585 0.218 306.842);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.395 0.157 29.513);
  --destructive-foreground: oklch(0.863 0.071 20.904);
  --ring: oklch(0.745 0.125 70.931);
  --chart-1: oklch(0.745 0.125 70.931);
  --chart-2: oklch(0.806 0.156 160.687);
  --chart-3: oklch(0.585 0.218 306.842);
  --chart-4: oklch(0.817 0.147 161.565);
  --chart-5: oklch(0.749 0.13 70.588);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.011 80.114);
  --foreground: oklch(0.985 0.001 74.948);
  --muted: oklch(0.211 0.012 167.065);
  --muted-foreground: oklch(0.805 0.015 168.205);
  --popover: oklch(0.151 0.012 77.114);
  --popover-foreground: oklch(0.993 0 74.95);
  --card: oklch(0.151 0.012 77.114);
  --card-foreground: oklch(0.993 0 74.95);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.745 0.125 70.931);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.806 0.156 160.687);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.585 0.218 306.842);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.646 0.23 27.9);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.745 0.125 70.931);
  --chart-1: oklch(0.745 0.125 70.931);
  --chart-2: oklch(0.806 0.156 160.687);
  --chart-3: oklch(0.585 0.218 306.842);
  --chart-4: oklch(0.817 0.147 161.565);
  --chart-5: oklch(0.749 0.13 70.588);
}