Exotic for shadcn/ui

Exotic is a shadcn/ui theme built around a vivid light yellow primary color (#f6dda7) with vivid light blue accents (#a7c0f6). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the vivid light yellow primary (#f6dda7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfbf8snow
#000000black
Foreground
#090602black
#fdfdfbsnow
Card
#faf8f4whitesmoke
#030303black
Card foreground
#040301black
#ffffffwhite
Popover
#fcfbf8snow
#000000black
Popover foreground
#090602black
#fdfdfbsnow
Primary
#f6dda7navajowhite
#f6dda7navajowhite
Primary foreground
#61450asaddlebrown
#61450asaddlebrown
Secondary
#a7c0f6lightsteelblue
#a7c0f6lightsteelblue
Secondary foreground
#0a2661midnightblue
#0a2661midnightblue
Muted
#eaedf6lavender
#090d15black
Muted foreground
#545963dimgray
#9ca1abdarkgray
Accent
#a7c0f6lightsteelblue
#a7c0f6lightsteelblue
Accent foreground
#0a2661midnightblue
#0a2661midnightblue
Destructive
#a0350esaddlebrown
#ee6d3ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6dda7navajowhite
#f6dda7navajowhite

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.50:1AAA
Primary button6.68:1AA
Secondary button7.88:1AAA
Muted text6.02:1AA
Accent7.88:1AAA
Destructive7.01:1AAA
Dark mode
Text on background20.61:1AAA
Text on card20.67:1AAA
Primary button6.68:1AA
Secondary button7.88:1AAA
Muted text7.49:1AAA
Accent7.88:1AAA
Destructive6.92:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 86.022);
  --foreground: oklch(0.125 0.018 92.86);
  --muted: oklch(0.947 0.012 265.947);
  --muted-foreground: oklch(0.464 0.017 265.798);
  --popover: oklch(0.987 0.004 86.022);
  --popover-foreground: oklch(0.125 0.018 92.86);
  --card: oklch(0.981 0.006 86.029);
  --card-foreground: oklch(0.099 0.014 92.86);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.905 0.074 85.949);
  --primary-foreground: oklch(0.412 0.08 80.84);
  --secondary: oklch(0.809 0.081 265.281);
  --secondary-foreground: oklch(0.289 0.111 262.785);
  --accent: oklch(0.809 0.081 265.281);
  --accent-foreground: oklch(0.289 0.111 262.785);
  --destructive: oklch(0.48 0.149 37.762);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.905 0.074 85.949);
  --chart-1: oklch(0.905 0.074 85.949);
  --chart-2: oklch(0.809 0.081 265.281);
  --chart-3: oklch(0.809 0.081 265.281);
  --chart-4: oklch(0.839 0.068 265.459);
  --chart-5: oklch(0.907 0.077 85.928);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.002 86.014);
  --muted: oklch(0.16 0.019 265.02);
  --muted-foreground: oklch(0.707 0.016 265.895);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 86.014);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.905 0.074 85.949);
  --primary-foreground: oklch(0.412 0.08 80.84);
  --secondary: oklch(0.809 0.081 265.281);
  --secondary-foreground: oklch(0.289 0.111 262.785);
  --accent: oklch(0.809 0.081 265.281);
  --accent-foreground: oklch(0.289 0.111 262.785);
  --destructive: oklch(0.684 0.171 39.757);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.905 0.074 85.949);
  --chart-1: oklch(0.905 0.074 85.949);
  --chart-2: oklch(0.809 0.081 265.281);
  --chart-3: oklch(0.809 0.081 265.281);
  --chart-4: oklch(0.839 0.068 265.459);
  --chart-5: oklch(0.907 0.077 85.928);
}