Quick-witted for shadcn/ui

Quick-witted is a shadcn/ui theme built around a vivid light blue primary color (#9fccf9) with vivid light green accents (#ccf99f). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid light blue primary (#9fccf9) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#fbfcfewhite
#030507black
Foreground
#020508black
#ffffffwhite
Card
#fbfcfewhite
#030507black
Card foreground
#020508black
#ffffffwhite
Popover
#fbfcfewhite
#030507black
Popover foreground
#020508black
#ffffffwhite
Primary
#9fccf9lightskyblue
#9fccf9lightskyblue
Primary foreground
#063360midnightblue
#063360midnightblue
Secondary
#f99fcclightpink
#f99fcclightpink
Secondary foreground
#600633maroon
#600633maroon
Muted
#e8dee3gainsboro
#21171cblack
Muted foreground
#665c61dimgray
#a3999edarkgray
Accent
#ccf99fpalegoldenrod
#ccf99fpalegoldenrod
Accent foreground
#336006darkgreen
#336006darkgreen
Destructive
#c61f01firebrick
#fe3d1borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9fccf9lightskyblue
#9fccf9lightskyblue

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.95:1AAA
Primary button7.56:1AAA
Secondary button6.91:1AA
Muted text4.89:1AA
Accent6.25:1AA
Destructive5.84:1AA
Dark mode
Text on background20.40:1AAA
Text on card20.40:1AAA
Primary button7.56:1AAA
Secondary button6.91:1AA
Muted text6.30:1AA
Accent6.25:1AA
Destructive3.56:1AA Large

CSS variables

Paste this into your globals.css to use Quick-witted in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 247.848);
  --foreground: oklch(0.112 0.013 239.751);
  --muted: oklch(0.91 0.012 345.49);
  --muted-foreground: oklch(0.486 0.015 345.907);
  --popover: oklch(0.992 0.003 247.848);
  --popover-foreground: oklch(0.112 0.013 239.751);
  --card: oklch(0.992 0.003 247.848);
  --card-foreground: oklch(0.112 0.013 239.751);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.829 0.079 248.806);
  --primary-foreground: oklch(0.32 0.092 253.162);
  --secondary: oklch(0.806 0.119 348.74);
  --secondary-foreground: oklch(0.322 0.124 358.016);
  --accent: oklch(0.93 0.125 130.128);
  --accent-foreground: oklch(0.439 0.123 134.183);
  --destructive: oklch(0.53 0.203 31.543);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.079 248.806);
  --chart-1: oklch(0.829 0.079 248.806);
  --chart-2: oklch(0.806 0.119 348.74);
  --chart-3: oklch(0.93 0.125 130.128);
  --chart-4: oklch(0.833 0.101 348.094);
  --chart-5: oklch(0.829 0.082 248.843);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.01 241.321);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.22 0.018 347.121);
  --muted-foreground: oklch(0.694 0.013 345.636);
  --popover: oklch(0.113 0.01 241.321);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.113 0.01 241.321);
  --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.829 0.079 248.806);
  --primary-foreground: oklch(0.32 0.092 253.162);
  --secondary: oklch(0.806 0.119 348.74);
  --secondary-foreground: oklch(0.322 0.124 358.016);
  --accent: oklch(0.93 0.125 130.128);
  --accent-foreground: oklch(0.439 0.123 134.183);
  --destructive: oklch(0.652 0.232 32.126);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.079 248.806);
  --chart-1: oklch(0.829 0.079 248.806);
  --chart-2: oklch(0.806 0.119 348.74);
  --chart-3: oklch(0.93 0.125 130.128);
  --chart-4: oklch(0.833 0.101 348.094);
  --chart-5: oklch(0.829 0.082 248.843);
}