Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Pilgrim for shadcn/ui

Pilgrim is a shadcn/ui theme built around a yellow primary color (#cec782) with blue accents (#828ace). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the yellow primary (#cec782) on a neutral background (#040302).

Color palette

TokenLightDark
Background
#fcfbf8snow
#040302black
Foreground
#040401black
#ffffffwhite
Card
#fcfbf8snow
#040302black
Card foreground
#040401black
#ffffffwhite
Popover
#fcfbf8snow
#040302black
Popover foreground
#040401black
#ffffffwhite
Primary
#cec782tan
#cec782tan
Primary foreground
#161509black
#161509black
Secondary
#828acemediumpurple
#828acemediumpurple
Secondary foreground
#090a16black
#090a16black
Muted
#dedfe8gainsboro
#171821black
Muted foreground
#656567dimgray
#98989adarkgray
Accent
#828acemediumpurple
#828acemediumpurple
Accent foreground
#090a16black
#090a16black
Destructive
#9a3509saddlebrown
#f25918orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cec782tan
#cec782tan

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button10.57:1AAA
Secondary button6.06:1AA
Muted text4.37:1AA Large
Accent6.06:1AA
Destructive7.28:1AAA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button10.57:1AAA
Secondary button6.06:1AA
Muted text6.13:1AA
Accent6.06:1AA
Destructive3.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 101.353);
  --foreground: oklch(0.103 0.014 104.665);
  --muted: oklch(0.905 0.012 281.064);
  --muted-foreground: oklch(0.508 0.003 281.195);
  --popover: oklch(0.988 0.004 101.353);
  --popover-foreground: oklch(0.103 0.014 104.665);
  --card: oklch(0.988 0.004 101.353);
  --card-foreground: oklch(0.103 0.014 104.665);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.82 0.089 102.713);
  --primary-foreground: oklch(0.192 0.023 102.817);
  --secondary: oklch(0.654 0.103 278.306);
  --secondary-foreground: oklch(0.15 0.026 277.686);
  --accent: oklch(0.654 0.103 278.306);
  --accent-foreground: oklch(0.15 0.026 277.686);
  --destructive: oklch(0.47 0.144 39.255);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.82 0.089 102.713);
  --chart-1: oklch(0.82 0.089 102.713);
  --chart-2: oklch(0.654 0.103 278.306);
  --chart-3: oklch(0.654 0.103 278.306);
  --chart-4: oklch(0.686 0.092 278.774);
  --chart-5: oklch(0.826 0.094 102.763);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.009 103.637);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.212 0.018 279.788);
  --muted-foreground: oklch(0.681 0.003 281.224);
  --popover: oklch(0.099 0.009 103.637);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.099 0.009 103.637);
  --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.82 0.089 102.713);
  --primary-foreground: oklch(0.192 0.023 102.817);
  --secondary: oklch(0.654 0.103 278.306);
  --secondary-foreground: oklch(0.15 0.026 277.686);
  --accent: oklch(0.654 0.103 278.306);
  --accent-foreground: oklch(0.15 0.026 277.686);
  --destructive: oklch(0.66 0.2 39.526);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.82 0.089 102.713);
  --chart-1: oklch(0.82 0.089 102.713);
  --chart-2: oklch(0.654 0.103 278.306);
  --chart-3: oklch(0.654 0.103 278.306);
  --chart-4: oklch(0.686 0.092 278.774);
  --chart-5: oklch(0.826 0.094 102.763);
}