Frog for shadcn/ui

Frog is a shadcn/ui theme built around a light blue primary color (#9ccbed) with light green accents (#cbed9c). The light mode uses a neutral background (#f6fafd). Dark mode keeps the light blue primary (#9ccbed) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#f6fafdghostwhite
#030507black
Foreground
#030b12black
#fcfdfdwhite
Card
#f6fafdghostwhite
#030507black
Card foreground
#030b12black
#fcfdfdwhite
Popover
#f6fafdghostwhite
#030507black
Popover foreground
#030b12black
#fcfdfdwhite
Primary
#9ccbedskyblue
#9ccbedskyblue
Primary foreground
#0d3049darkslategray
#0d3049darkslategray
Secondary
#ed9ccbplum
#ed9ccbplum
Secondary foreground
#490d30maroon
#490d30maroon
Muted
#ded9dcgainsboro
#262124black
Muted foreground
#4a4548darkslategray
#bab5b8silver
Accent
#cbed9cpalegoldenrod
#cbed9cpalegoldenrod
Accent foreground
#30490ddarkgreen
#30490ddarkgreen
Destructive
#db490aorangered
#ef4f0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8ebedlavender
#283036darkslategray
Input
#e8ebedlavender
#283036darkslategray
Ring
#9ccbedskyblue
#9ccbedskyblue

Contrast

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

Light mode
Text on background18.94:1AAA
Text on card18.94:1AAA
Primary button7.93:1AAA
Secondary button7.37:1AAA
Muted text6.72:1AA
Accent7.73:1AAA
Destructive4.22:1AA Large
Dark mode
Text on background19.99:1AAA
Text on card19.99:1AAA
Primary button7.93:1AAA
Secondary button7.37:1AAA
Muted text7.82:1AAA
Accent7.73:1AAA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.006 238.447);
  --foreground: oklch(0.145 0.021 234.711);
  --muted: oklch(0.889 0.007 341.188);
  --muted-foreground: oklch(0.396 0.009 341.56);
  --popover: oklch(0.984 0.006 238.447);
  --popover-foreground: oklch(0.145 0.021 234.711);
  --card: oklch(0.984 0.006 238.447);
  --card-foreground: oklch(0.145 0.021 234.711);
  --border: oklch(0.938 0.004 238.425);
  --input: oklch(0.938 0.004 238.425);
  --primary: oklch(0.821 0.069 239.739);
  --primary-foreground: oklch(0.299 0.06 243.647);
  --secondary: oklch(0.787 0.113 344.122);
  --secondary-foreground: oklch(0.282 0.097 349.427);
  --accent: oklch(0.902 0.111 126.888);
  --accent-foreground: oklch(0.373 0.089 129.866);
  --destructive: oklch(0.604 0.192 38.358);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.069 239.739);
  --chart-1: oklch(0.821 0.069 239.739);
  --chart-2: oklch(0.787 0.113 344.122);
  --chart-3: oklch(0.902 0.111 126.888);
  --chart-4: oklch(0.813 0.097 343.627);
  --chart-5: oklch(0.821 0.072 239.811);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.01 232.262);
  --foreground: oklch(0.992 0.001 238.37);
  --muted: oklch(0.255 0.009 341.834);
  --muted-foreground: oklch(0.778 0.008 341.249);
  --popover: oklch(0.115 0.01 232.262);
  --popover-foreground: oklch(0.992 0.001 238.37);
  --card: oklch(0.115 0.01 232.262);
  --card-foreground: oklch(0.992 0.001 238.37);
  --border: oklch(0.304 0.015 240.474);
  --input: oklch(0.304 0.016 239.143);
  --primary: oklch(0.821 0.069 239.739);
  --primary-foreground: oklch(0.299 0.06 243.647);
  --secondary: oklch(0.787 0.113 344.122);
  --secondary-foreground: oklch(0.282 0.097 349.427);
  --accent: oklch(0.902 0.111 126.888);
  --accent-foreground: oklch(0.373 0.089 129.866);
  --destructive: oklch(0.644 0.206 38.229);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.069 239.739);
  --chart-1: oklch(0.821 0.069 239.739);
  --chart-2: oklch(0.787 0.113 344.122);
  --chart-3: oklch(0.902 0.111 126.888);
  --chart-4: oklch(0.813 0.097 343.627);
  --chart-5: oklch(0.821 0.072 239.811);
}