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

Go to generator

10000+Themes for shadcn/ui

Chief for shadcn/ui

Chief is a shadcn/ui theme built around a light blue primary color (#dce8f4) with light orange accents (#f4e8dc). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the light blue primary (#dce8f4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#000000black
Foreground
#010304black
#f9fafbghostwhite
Card
#fbfcfdwhite
#000000black
Card foreground
#010304black
#f9fafbghostwhite
Popover
#fbfcfdwhite
#000000black
Popover foreground
#010304black
#f9fafbghostwhite
Primary
#dce8f4lavender
#dce8f4lavender
Primary foreground
#24507adarkslateblue
#24507adarkslateblue
Secondary
#f4e8dcantiquewhite
#f4e8dcantiquewhite
Secondary foreground
#2b1c0dblack
#2b1c0dblack
Muted
#f7f2eewhitesmoke
#110d08black
Muted foreground
#574f47darkolivegreen
#b8b0a8darkgray
Accent
#f4e8dcantiquewhite
#f4e8dcantiquewhite
Accent foreground
#2b1c0dblack
#2b1c0dblack
Destructive
#9e3505saddlebrown
#f86825tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dce8f4lavender
#dce8f4lavender

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button6.76:1AA
Secondary button13.64:1AAA
Muted text7.22:1AAA
Accent13.64:1AAA
Destructive7.04:1AAA
Dark mode
Text on background20.09:1AAA
Text on card20.09:1AAA
Primary button6.76:1AA
Secondary button13.64:1AAA
Muted text9.05:1AAA
Accent13.64:1AAA
Destructive7.01:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 245.987);
  --foreground: oklch(0.089 0.011 236.899);
  --muted: oklch(0.964 0.007 65.876);
  --muted-foreground: oklch(0.432 0.016 65.486);
  --popover: oklch(0.992 0.002 245.987);
  --popover-foreground: oklch(0.089 0.011 236.899);
  --card: oklch(0.992 0.002 245.987);
  --card-foreground: oklch(0.089 0.011 236.899);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.926 0.021 246.229);
  --primary-foreground: oklch(0.422 0.085 249.136);
  --secondary: oklch(0.937 0.021 65.69);
  --secondary-foreground: oklch(0.241 0.035 62.967);
  --accent: oklch(0.937 0.021 65.69);
  --accent-foreground: oklch(0.241 0.035 62.967);
  --destructive: oklch(0.478 0.148 39.665);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.926 0.021 246.229);
  --chart-1: oklch(0.926 0.021 246.229);
  --chart-2: oklch(0.937 0.021 65.69);
  --chart-3: oklch(0.937 0.021 65.69);
  --chart-4: oklch(0.958 0.014 65.79);
  --chart-5: oklch(0.926 0.022 246.244);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.002 245.989);
  --muted: oklch(0.161 0.012 65.491);
  --muted-foreground: oklch(0.761 0.014 65.739);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.002 245.989);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.984 0.002 245.989);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.926 0.021 246.229);
  --primary-foreground: oklch(0.422 0.085 249.136);
  --secondary: oklch(0.937 0.021 65.69);
  --secondary-foreground: oklch(0.241 0.035 62.967);
  --accent: oklch(0.937 0.021 65.69);
  --accent-foreground: oklch(0.241 0.035 62.967);
  --destructive: oklch(0.69 0.192 41.825);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.926 0.021 246.229);
  --chart-1: oklch(0.926 0.021 246.229);
  --chart-2: oklch(0.937 0.021 65.69);
  --chart-3: oklch(0.937 0.021 65.69);
  --chart-4: oklch(0.958 0.014 65.79);
  --chart-5: oklch(0.926 0.022 246.244);
}