Gullible for shadcn/ui

Gullible is a shadcn/ui theme built around a near-black primary color (#010104) with muted light indigo accents (#ccc9d9). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the near-black primary (#010104) on a neutral background (#030208).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#030208black
Foreground
#04020dblack
#ffffffwhite
Card
#fbfbfeghostwhite
#030208black
Card foreground
#04020dblack
#ffffffwhite
Popover
#fbfbfeghostwhite
#030208black
Popover foreground
#04020dblack
#ffffffwhite
Primary
#010104black
#010104black
Primary foreground
#b9acf1lightsteelblue
#b9acf1lightsteelblue
Secondary
#ccc9d9lightgrey
#1a1a1ablack
Secondary foreground
#322e42darkslategray
#b3b3b3darkgray
Muted
#ebeaf0lavender
#150f0fblack
Muted foreground
#5f5b71dimgray
#a48e8erosybrown
Accent
#ccc9d9lightgrey
#1a1a1ablack
Accent foreground
#322e42darkslategray
#b3b3b3darkgray
Destructive
#912808saddlebrown
#e9400corangered
Destructive foreground
#fcd9cfbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#010104black
#010104black

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button10.16:1AAA
Secondary button8.04:1AAA
Muted text5.45:1AA
Accent8.04:1AAA
Destructive6.34:1AA
Dark mode
Text on background20.65:1AAA
Text on card20.65:1AAA
Primary button10.16:1AAA
Secondary button8.34:1AAA
Muted text6.18:1AA
Accent8.34:1AAA
Destructive4.05:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 294.734);
  --foreground: oklch(0.102 0.035 292.311);
  --muted: oklch(0.94 0.008 294.662);
  --muted-foreground: oklch(0.483 0.036 293.412);
  --popover: oklch(0.989 0.005 294.734);
  --popover-foreground: oklch(0.102 0.035 292.311);
  --card: oklch(0.989 0.005 294.734);
  --card-foreground: oklch(0.102 0.035 292.311);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.072 0.022 292.972);
  --primary-foreground: oklch(0.78 0.098 292.393);
  --secondary: oklch(0.843 0.023 294.316);
  --secondary-foreground: oklch(0.314 0.036 292.609);
  --accent: oklch(0.843 0.023 294.316);
  --accent-foreground: oklch(0.314 0.036 292.609);
  --destructive: oklch(0.439 0.146 35.507);
  --destructive-foreground: oklch(0.913 0.042 37.602);
  --ring: oklch(0.072 0.022 292.972);
  --chart-1: oklch(0.072 0.022 292.972);
  --chart-2: oklch(0.843 0.023 294.316);
  --chart-3: oklch(0.843 0.023 294.316);
  --chart-4: oklch(0.869 0.019 294.417);
  --chart-5: oklch(0.071 0.023 292.828);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.023 293.423);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.175 0.01 18.182);
  --muted-foreground: oklch(0.666 0.027 17.852);
  --popover: oklch(0.096 0.023 293.423);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.023 293.423);
  --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.072 0.022 292.972);
  --primary-foreground: oklch(0.78 0.098 292.393);
  --secondary: oklch(0.216 0 180);
  --secondary-foreground: oklch(0.765 0 172.405);
  --accent: oklch(0.216 0 180);
  --accent-foreground: oklch(0.765 0 172.405);
  --destructive: oklch(0.618 0.212 34.9);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.072 0.022 292.972);
  --chart-1: oklch(0.072 0.022 292.972);
  --chart-2: oklch(0.216 0 180);
  --chart-3: oklch(0.216 0 180);
  --chart-4: oklch(0.248 0 173.29);
  --chart-5: oklch(0.071 0.023 292.828);
}