Fearless for shadcn/ui

Fearless is a shadcn/ui theme built around a cyan primary color (#8accdb) with green accents (#ccdb8a). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#8accdb) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#061114black
#fcfdfdwhite
Card
#f4fafbmintcream
#030303black
Card foreground
#050e10black
#ffffffwhite
Popover
#f8fbfcghostwhite
#000000black
Popover foreground
#061114black
#fcfdfdwhite
Primary
#8accdbskyblue
#8accdbskyblue
Primary foreground
#0c2227black
#0c2227black
Secondary
#db8accplum
#db8accplum
Secondary foreground
#270c22black
#270c22black
Muted
#f4e6f2lavenderblush
#190b16black
Muted foreground
#61515edimgray
#ae9eabdarkgray
Accent
#ccdb8akhaki
#ccdb8akhaki
Accent foreground
#22270cblack
#22270cblack
Destructive
#912308saddlebrown
#da350borangered
Destructive foreground
#fcd8cfbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8accdbskyblue
#8accdbskyblue

Contrast

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

Light mode
Text on background18.42:1AAA
Text on card18.43:1AAA
Primary button9.23:1AAA
Secondary button7.33:1AAA
Muted text6.13:1AA
Accent10.32:1AAA
Destructive6.45:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button9.23:1AAA
Secondary button7.33:1AAA
Muted text7.52:1AAA
Accent10.32:1AAA
Destructive4.67:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 212.664);
  --foreground: oklch(0.168 0.018 212.812);
  --muted: oklch(0.94 0.021 331.725);
  --muted-foreground: oklch(0.456 0.029 332.29);
  --popover: oklch(0.987 0.004 212.664);
  --popover-foreground: oklch(0.168 0.018 212.812);
  --card: oklch(0.98 0.006 212.667);
  --card-foreground: oklch(0.154 0.016 211.669);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.807 0.07 213.311);
  --primary-foreground: oklch(0.237 0.029 214.314);
  --secondary: oklch(0.738 0.13 333.716);
  --secondary-foreground: oklch(0.208 0.057 334.992);
  --accent: oklch(0.862 0.106 117.145);
  --accent-foreground: oklch(0.26 0.045 118.279);
  --destructive: oklch(0.435 0.15 33.968);
  --destructive-foreground: oklch(0.91 0.043 34.328);
  --ring: oklch(0.807 0.07 213.311);
  --chart-1: oklch(0.807 0.07 213.311);
  --chart-2: oklch(0.738 0.13 333.716);
  --chart-3: oklch(0.862 0.106 117.145);
  --chart-4: oklch(0.763 0.116 333.423);
  --chart-5: oklch(0.809 0.073 213.384);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 212.662);
  --muted: oklch(0.175 0.032 333.796);
  --muted-foreground: oklch(0.716 0.026 331.918);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 212.662);
  --card: oklch(0.092 0 180);
  --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.807 0.07 213.311);
  --primary-foreground: oklch(0.237 0.029 214.314);
  --secondary: oklch(0.738 0.13 333.716);
  --secondary-foreground: oklch(0.208 0.057 334.992);
  --accent: oklch(0.862 0.106 117.145);
  --accent-foreground: oklch(0.26 0.045 118.279);
  --destructive: oklch(0.583 0.206 33.539);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.807 0.07 213.311);
  --chart-1: oklch(0.807 0.07 213.311);
  --chart-2: oklch(0.738 0.13 333.716);
  --chart-3: oklch(0.862 0.106 117.145);
  --chart-4: oklch(0.763 0.116 333.423);
  --chart-5: oklch(0.809 0.073 213.384);
}