Reflecting for shadcn/ui

Reflecting is a shadcn/ui theme built around a cyan primary color (#9abccb) with green accents (#bccb9a). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the cyan primary (#9abccb) on a cyan-tinted background (#04090c).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#04090cblack
Foreground
#041016black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#04090cblack
Card foreground
#041016black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#04090cblack
Popover foreground
#041016black
#fcfdfdwhite
Primary
#9abccblightsteelblue
#9abccblightsteelblue
Primary foreground
#111d22black
#111d22black
Secondary
#cb9abcplum
#cb9abcplum
Secondary foreground
#22111dblack
#22111dblack
Muted
#e4dce2gainsboro
#231b20black
Muted foreground
#685a64dimgray
#a597a1darkgray
Accent
#bccb9atan
#bccb9atan
Accent foreground
#1d2211black
#1d2211black
Destructive
#c22805firebrick
#ea3006orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9abccblightsteelblue
#9abccblightsteelblue

Contrast

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

Light mode
Text on background18.48:1AAA
Text on card18.48:1AAA
Primary button8.55:1AAA
Secondary button7.62:1AAA
Muted text4.85:1AA
Accent9.42:1AAA
Destructive5.84:1AA
Dark mode
Text on background19.62:1AAA
Text on card19.62:1AAA
Primary button8.55:1AAA
Secondary button7.62:1AAA
Muted text6.06:1AA
Accent9.42:1AAA
Destructive4.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 225.032);
  --foreground: oklch(0.165 0.022 225.352);
  --muted: oklch(0.904 0.011 336.105);
  --muted-foreground: oklch(0.484 0.023 336.73);
  --popover: oklch(0.986 0.004 225.032);
  --popover-foreground: oklch(0.165 0.022 225.352);
  --card: oklch(0.986 0.004 225.032);
  --card-foreground: oklch(0.165 0.022 225.352);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.776 0.042 225.772);
  --primary-foreground: oklch(0.221 0.019 226.458);
  --secondary: oklch(0.743 0.074 337.642);
  --secondary-foreground: oklch(0.207 0.034 338.709);
  --accent: oklch(0.818 0.068 121.469);
  --accent-foreground: oklch(0.24 0.03 122.269);
  --destructive: oklch(0.529 0.194 32.695);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.042 225.772);
  --chart-1: oklch(0.776 0.042 225.772);
  --chart-2: oklch(0.743 0.074 337.642);
  --chart-3: oklch(0.818 0.068 121.469);
  --chart-4: oklch(0.769 0.066 337.408);
  --chart-5: oklch(0.777 0.046 225.865);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.013 220.308);
  --foreground: oklch(0.993 0.001 224.998);
  --muted: oklch(0.232 0.016 337.119);
  --muted-foreground: oklch(0.692 0.021 336.425);
  --popover: oklch(0.135 0.013 220.308);
  --popover-foreground: oklch(0.993 0.001 224.998);
  --card: oklch(0.135 0.013 220.308);
  --card-foreground: oklch(0.993 0.001 224.998);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.776 0.042 225.772);
  --primary-foreground: oklch(0.221 0.019 226.458);
  --secondary: oklch(0.743 0.074 337.642);
  --secondary-foreground: oklch(0.207 0.034 338.709);
  --accent: oklch(0.818 0.068 121.469);
  --accent-foreground: oklch(0.24 0.03 122.269);
  --destructive: oklch(0.607 0.224 32.482);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.776 0.042 225.772);
  --chart-1: oklch(0.776 0.042 225.772);
  --chart-2: oklch(0.743 0.074 337.642);
  --chart-3: oklch(0.818 0.068 121.469);
  --chart-4: oklch(0.769 0.066 337.408);
  --chart-5: oklch(0.777 0.046 225.865);
}