Sheer Blue Dacnis for shadcn/ui

Sheer Blue Dacnis is a shadcn/ui theme built around a vivid cyan primary color (#0de0f8) with vivid green accents (#e0f80d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#0de0f8) on a cyan-tinted background (#050e0f).

Color palette

TokenLightDark
Background
#ffffffwhite
#050e0fblack
Foreground
#010404black
#ffffffwhite
Card
#fcfcfcsnow
#071213black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#071213black
Popover foreground
#000000black
#ffffffwhite
Primary
#0de0f8aqua
#0de0f8aqua
Primary foreground
#023136darkslategray
#023136darkslategray
Secondary
#f80de0magenta
#f80de0magenta
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dfd7degainsboro
#282027darkslategray
Muted foreground
#4f404ddarkslategray
#bfb0bdsilver
Accent
#e0f80dyellow
#c683eborchid
Accent foreground
#313602darkgreen
#25012cblack
Destructive
#731607maroon
#e62b0forangered
Destructive foreground
#fabcb2lightpink
#ffffffwhite
Border
#ebefefwhitesmoke
#1b2222black
Input
#ebefefwhitesmoke
#1b2222black
Ring
#0de0f8aqua
#0de0f8aqua

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button8.71:1AAA
Secondary button3.43:1AA Large
Muted text6.88:1AA
Accent10.57:1AAA
Destructive6.99:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.05:1AAA
Primary button8.71:1AAA
Secondary button3.43:1AA Large
Muted text7.68:1AAA
Accent7.01:1AAA
Destructive4.44:1AA Large

CSS variables

Paste this into your globals.css to use Sheer Blue Dacnis in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.013 201.699);
  --muted: oklch(0.889 0.013 328.751);
  --muted-foreground: oklch(0.392 0.028 329.367);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.949 0.004 204.956);
  --input: oklch(0.949 0.004 204.956);
  --primary: oklch(0.83 0.142 208.297);
  --primary-foreground: oklch(0.287 0.048 206.462);
  --secondary: oklch(0.675 0.298 333.772);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.928 0.212 116.538);
  --accent-foreground: oklch(0.319 0.071 115.659);
  --destructive: oklch(0.363 0.13 31.66);
  --destructive-foreground: oklch(0.849 0.074 28.626);
  --ring: oklch(0.83 0.142 208.297);
  --chart-1: oklch(0.83 0.142 208.297);
  --chart-2: oklch(0.675 0.298 333.772);
  --chart-3: oklch(0.928 0.212 116.538);
  --chart-4: oklch(0.68 0.295 333.431);
  --chart-5: oklch(0.838 0.144 208.513);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.015 203.943);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.255 0.017 329.325);
  --muted-foreground: oklch(0.775 0.024 328.931);
  --popover: oklch(0.17 0.017 204.454);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.17 0.017 204.454);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.244 0.01 204.747);
  --input: oklch(0.244 0.01 204.747);
  --primary: oklch(0.83 0.142 208.297);
  --primary-foreground: oklch(0.287 0.048 206.462);
  --secondary: oklch(0.675 0.298 333.772);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.718 0.161 312.481);
  --accent-foreground: oklch(0.194 0.089 320.434);
  --destructive: oklch(0.597 0.223 31.346);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.83 0.142 208.297);
  --chart-1: oklch(0.83 0.142 208.297);
  --chart-2: oklch(0.675 0.298 333.772);
  --chart-3: oklch(0.718 0.161 312.481);
  --chart-4: oklch(0.68 0.295 333.431);
  --chart-5: oklch(0.838 0.144 208.513);
}