Ready for shadcn/ui

Ready is a shadcn/ui theme built around a blue primary color (#455fbf) with yellow accents (#bfa545). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#455fbf) on a neutral background (#020204).

Color palette

TokenLightDark
Background
#ffffffwhite
#020204black
Foreground
#03050cblack
#f9f9fbghostwhite
Card
#ffffffwhite
#020204black
Card foreground
#03050cblack
#f9f9fbghostwhite
Popover
#ffffffwhite
#020204black
Popover foreground
#03050cblack
#f9f9fbghostwhite
Primary
#455fbfroyalblue
#455fbfroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bfa545peru
#bfa545peru
Secondary foreground
#2a240eblack
#2a240eblack
Muted
#f4f2eblinen
#14120bblack
Muted foreground
#66604ddimgray
#b2ad99darkgray
Accent
#bfa545peru
#bfa545peru
Accent foreground
#2a240eblack
#2a240eblack
Destructive
#d72404firebrick
#fa3714orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#455fbfroyalblue
#455fbfroyalblue

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button5.74:1AA
Secondary button6.38:1AA
Muted text5.61:1AA
Accent6.38:1AA
Destructive5.07:1AA
Dark mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button5.74:1AA
Secondary button6.38:1AA
Muted text8.33:1AAA
Accent6.38:1AA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.116 0.021 265.87);
  --muted: oklch(0.962 0.01 93.973);
  --muted-foreground: oklch(0.49 0.031 94.397);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.116 0.021 265.87);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.116 0.021 265.87);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.518 0.153 268.898);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.726 0.119 93.734);
  --secondary-foreground: oklch(0.26 0.036 94.249);
  --accent: oklch(0.726 0.119 93.734);
  --accent-foreground: oklch(0.26 0.036 94.249);
  --destructive: oklch(0.565 0.214 31.518);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.518 0.153 268.898);
  --chart-1: oklch(0.518 0.153 268.898);
  --chart-2: oklch(0.726 0.119 93.734);
  --chart-3: oklch(0.726 0.119 93.734);
  --chart-4: oklch(0.743 0.114 94.009);
  --chart-5: oklch(0.514 0.162 268.508);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.009 269.345);
  --foreground: oklch(0.983 0.002 273.84);
  --muted: oklch(0.182 0.014 94.465);
  --muted-foreground: oklch(0.746 0.028 94.227);
  --popover: oklch(0.085 0.009 269.345);
  --popover-foreground: oklch(0.983 0.002 273.84);
  --card: oklch(0.085 0.009 269.345);
  --card-foreground: oklch(0.983 0.002 273.84);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.518 0.153 268.898);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.726 0.119 93.734);
  --secondary-foreground: oklch(0.26 0.036 94.249);
  --accent: oklch(0.726 0.119 93.734);
  --accent-foreground: oklch(0.26 0.036 94.249);
  --destructive: oklch(0.641 0.234 31.957);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.518 0.153 268.898);
  --chart-1: oklch(0.518 0.153 268.898);
  --chart-2: oklch(0.726 0.119 93.734);
  --chart-3: oklch(0.726 0.119 93.734);
  --chart-4: oklch(0.743 0.114 94.009);
  --chart-5: oklch(0.514 0.162 268.508);
}