Informal Childish Wonder for shadcn/ui

Informal Childish Wonder is a shadcn/ui theme built around a light indigo primary color (#adaddb) with light violet accents (#c4addb). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the light indigo primary (#adaddb) on an indigo-tinted background (#05050a).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#05050ablack
Foreground
#040411black
#f9f9fbghostwhite
Card
#f8f8fcghostwhite
#05050ablack
Card foreground
#040411black
#f9f9fbghostwhite
Popover
#f8f8fcghostwhite
#05050ablack
Popover foreground
#040411black
#f9f9fbghostwhite
Primary
#adaddblightsteelblue
#adaddblightsteelblue
Primary foreground
#1a1a3cmidnightblue
#1a1a3cmidnightblue
Secondary
#adc4dblightsteelblue
#adc4dblightsteelblue
Secondary foreground
#1a2b3cdarkslategray
#1a2b3cdarkslategray
Muted
#ebf0f4whitesmoke
#0b0f14black
Muted foreground
#485460darkslategray
#9fabb7darkgray
Accent
#c4addbthistle
#c4addbthistle
Accent foreground
#2b1a3cmidnightblue
#2b1a3cmidnightblue
Destructive
#89350bsaddlebrown
#ed6826chocolate
Destructive foreground
#fbdbcbbisque
#000000black
Border
#eaeaf0lavender
#1a1a23black
Input
#eaeaf0lavender
#1a1a23black
Ring
#adaddblightsteelblue
#adaddblightsteelblue

Contrast

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

Light mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button7.81:1AAA
Secondary button8.07:1AAA
Muted text6.73:1AA
Accent7.90:1AAA
Destructive6.25:1AA
Dark mode
Text on background19.35:1AAA
Text on card19.35:1AAA
Primary button7.81:1AAA
Secondary button8.07:1AAA
Muted text8.21:1AAA
Accent7.90:1AAA
Destructive6.64:1AA

CSS variables

Paste this into your globals.css to use Informal Childish Wonder in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 286.315);
  --foreground: oklch(0.114 0.034 279.595);
  --muted: oklch(0.952 0.008 247.911);
  --muted-foreground: oklch(0.441 0.025 248.383);
  --popover: oklch(0.981 0.005 286.315);
  --popover-foreground: oklch(0.114 0.034 279.595);
  --card: oklch(0.981 0.005 286.315);
  --card-foreground: oklch(0.114 0.034 279.595);
  --border: oklch(0.94 0.007 286.261);
  --input: oklch(0.94 0.007 286.261);
  --primary: oklch(0.765 0.065 284.757);
  --primary-foreground: oklch(0.24 0.063 280.538);
  --secondary: oklch(0.812 0.041 248.33);
  --secondary-foreground: oklch(0.284 0.039 249.322);
  --accent: oklch(0.784 0.068 307.491);
  --accent-foreground: oklch(0.259 0.064 305.46);
  --destructive: oklch(0.441 0.125 42.336);
  --destructive-foreground: oklch(0.914 0.041 48.245);
  --ring: oklch(0.765 0.065 284.757);
  --chart-1: oklch(0.765 0.065 284.757);
  --chart-2: oklch(0.812 0.041 248.33);
  --chart-3: oklch(0.784 0.068 307.491);
  --chart-4: oklch(0.837 0.035 248.249);
  --chart-5: oklch(0.761 0.07 284.607);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.015 283.775);
  --foreground: oklch(0.983 0.002 286.355);
  --muted: oklch(0.167 0.013 248.582);
  --muted-foreground: oklch(0.735 0.022 248.122);
  --popover: oklch(0.118 0.015 283.775);
  --popover-foreground: oklch(0.983 0.002 286.355);
  --card: oklch(0.118 0.015 283.775);
  --card-foreground: oklch(0.983 0.002 286.355);
  --border: oklch(0.222 0.018 284.859);
  --input: oklch(0.222 0.018 284.859);
  --primary: oklch(0.765 0.065 284.757);
  --primary-foreground: oklch(0.24 0.063 280.538);
  --secondary: oklch(0.812 0.041 248.33);
  --secondary-foreground: oklch(0.284 0.039 249.322);
  --accent: oklch(0.784 0.068 307.491);
  --accent-foreground: oklch(0.259 0.064 305.46);
  --destructive: oklch(0.674 0.18 43.341);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.765 0.065 284.757);
  --chart-1: oklch(0.765 0.065 284.757);
  --chart-2: oklch(0.812 0.041 248.33);
  --chart-3: oklch(0.784 0.068 307.491);
  --chart-4: oklch(0.837 0.035 248.249);
  --chart-5: oklch(0.761 0.07 284.607);
}