Marvelous for shadcn/ui

Marvelous is a shadcn/ui theme built around an orange primary color (#886349) with blue accents (#496e88). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the orange primary (#886349) on an orange-tinted background (#0c0704).

Color palette

TokenLightDark
Background
#fdf9f6snow
#0c0704black
Foreground
#100904black
#f9f7f6whitesmoke
Card
#fcf6f2seashell
#0f0905black
Card foreground
#0c0703black
#fbfaf9snow
Popover
#fcf6f2seashell
#0f0905black
Popover foreground
#0c0703black
#fbfaf9snow
Primary
#886349sienna
#886349sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#496e88slategray
#496e88slategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6e8eblavender
#141719black
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#496e88slategray
#496e88slategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b21b0afirebrick
#f1250eorangered
Destructive foreground
#fef2f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#886349sienna
#886349sienna

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card18.79:1AAA
Primary button5.33:1AA
Secondary button5.43:1AA
Muted text5.71:1AA
Accent5.43:1AA
Destructive6.26:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.93:1AAA
Primary button5.33:1AA
Secondary button5.43:1AA
Muted text7.36:1AAA
Accent5.43:1AA
Destructive4.19:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 58.282);
  --foreground: oklch(0.149 0.019 63.667);
  --muted: oklch(0.931 0.004 238.427);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.978 0.009 58.24);
  --popover-foreground: oklch(0.134 0.016 66.884);
  --card: oklch(0.978 0.009 58.24);
  --card-foreground: oklch(0.134 0.016 66.884);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.532 0.061 56.519);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.521 0.059 240.4);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.521 0.059 240.4);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.491 0.186 30.49);
  --destructive-foreground: oklch(0.97 0.013 25.106);
  --ring: oklch(0.532 0.061 56.519);
  --chart-1: oklch(0.532 0.061 56.519);
  --chart-2: oklch(0.521 0.059 240.4);
  --chart-3: oklch(0.521 0.059 240.4);
  --chart-4: oklch(0.547 0.062 240.422);
  --chart-5: oklch(0.534 0.067 56.276);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.013 65.567);
  --foreground: oklch(0.977 0.002 58.328);
  --muted: oklch(0.204 0.006 238.805);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.148 0.015 62.556);
  --popover-foreground: oklch(0.985 0.002 58.34);
  --card: oklch(0.148 0.015 62.556);
  --card-foreground: oklch(0.985 0.002 58.34);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.532 0.061 56.519);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.521 0.059 240.4);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.521 0.059 240.4);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.613 0.236 30.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.532 0.061 56.519);
  --chart-1: oklch(0.532 0.061 56.519);
  --chart-2: oklch(0.521 0.059 240.4);
  --chart-3: oklch(0.521 0.059 240.4);
  --chart-4: oklch(0.547 0.062 240.422);
  --chart-5: oklch(0.534 0.067 56.276);
}