Wonderful for shadcn/ui

Wonderful is a shadcn/ui theme built around a vivid deep orange primary color (#5f3b02) with vivid deep violet accents (#3b025f). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the vivid deep orange primary (#5f3b02) on an orange-tinted background (#0b0805).

Color palette

TokenLightDark
Background
#fcfaf7snow
#0b0805black
Foreground
#130e06black
#fbfaf8snow
Card
#fcfaf7snow
#0b0805black
Card foreground
#130e06black
#fbfaf8snow
Popover
#fcfaf7snow
#0b0805black
Popover foreground
#130e06black
#fbfaf8snow
Primary
#5f3b02saddlebrown
#5f3b02saddlebrown
Primary foreground
#fdd596khaki
#fdd596khaki
Secondary
#025f3bdarkslategray
#025f3bdarkslategray
Secondary foreground
#96fdd5aquamarine
#96fdd5aquamarine
Muted
#dbebe5gainsboro
#14241eblack
Muted foreground
#606c67dimgray
#939f9adarkgray
Accent
#3b025findigo
#3b025findigo
Accent foreground
#d596fdplum
#d596fdplum
Destructive
#871d08darkred
#f2401corangered
Destructive foreground
#fccec5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5f3b02saddlebrown
#5f3b02saddlebrown

Contrast

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

Light mode
Text on background18.51:1AAA
Text on card18.51:1AAA
Primary button7.14:1AAA
Secondary button6.40:1AA
Muted text4.43:1AA Large
Accent7.05:1AAA
Destructive6.68:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.13:1AAA
Primary button7.14:1AAA
Secondary button6.40:1AA
Muted text5.89:1AA
Accent7.05:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 79.926);
  --foreground: oklch(0.168 0.018 80.409);
  --muted: oklch(0.926 0.019 171.005);
  --muted-foreground: oklch(0.52 0.017 170.643);
  --popover: oklch(0.987 0.005 79.926);
  --popover-foreground: oklch(0.168 0.018 80.409);
  --card: oklch(0.987 0.005 79.926);
  --card-foreground: oklch(0.168 0.018 80.409);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.387 0.082 71.147);
  --primary-foreground: oklch(0.894 0.092 79.041);
  --secondary: oklch(0.428 0.097 159.17);
  --secondary-foreground: oklch(0.92 0.112 167.337);
  --accent: oklch(0.282 0.143 305.909);
  --accent-foreground: oklch(0.772 0.156 311.534);
  --destructive: oklch(0.409 0.144 32.738);
  --destructive-foreground: oklch(0.889 0.053 31.281);
  --ring: oklch(0.387 0.082 71.147);
  --chart-1: oklch(0.387 0.082 71.147);
  --chart-2: oklch(0.428 0.097 159.17);
  --chart-3: oklch(0.282 0.143 305.909);
  --chart-4: oklch(0.475 0.109 158.786);
  --chart-5: oklch(0.389 0.084 70.753);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.011 84.606);
  --foreground: oklch(0.986 0.003 79.929);
  --muted: oklch(0.244 0.024 168.256);
  --muted-foreground: oklch(0.692 0.015 170.932);
  --popover: oklch(0.138 0.011 84.606);
  --popover-foreground: oklch(0.986 0.003 79.929);
  --card: oklch(0.138 0.011 84.606);
  --card-foreground: oklch(0.986 0.003 79.929);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.387 0.082 71.147);
  --primary-foreground: oklch(0.894 0.092 79.041);
  --secondary: oklch(0.428 0.097 159.17);
  --secondary-foreground: oklch(0.92 0.112 167.337);
  --accent: oklch(0.282 0.143 305.909);
  --accent-foreground: oklch(0.772 0.156 311.534);
  --destructive: oklch(0.634 0.219 32.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.387 0.082 71.147);
  --chart-1: oklch(0.387 0.082 71.147);
  --chart-2: oklch(0.428 0.097 159.17);
  --chart-3: oklch(0.282 0.143 305.909);
  --chart-4: oklch(0.475 0.109 158.786);
  --chart-5: oklch(0.389 0.084 70.753);
}