Fluffy for shadcn/ui

Fluffy is a shadcn/ui theme built around a light blue primary color (#e1f0f9) with light blue accents (#e1e3f9). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the light blue primary (#e1f0f9) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#020608black
Foreground
#010304black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#020608black
Card foreground
#010304black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#020608black
Popover foreground
#010304black
#fcfdfdwhite
Primary
#e1f0f9lavender
#e1f0f9lavender
Primary foreground
#0b2638midnightblue
#0b2638midnightblue
Secondary
#e1f9f7lightcyan
#e1f9f7lightcyan
Secondary foreground
#0b3833darkslategray
#0b3833darkslategray
Muted
#edf2f2whitesmoke
#0d1211black
Muted foreground
#4d5151darkslategray
#aeb2b2darkgray
Accent
#e1e3f9lavender
#e1e3f9lavender
Accent foreground
#1b268dmidnightblue
#1b268dmidnightblue
Destructive
#95270fbrown
#e33c16orangered
Destructive foreground
#fbe0damistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1f0f9lavender
#e1f0f9lavender

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button13.33:1AAA
Secondary button11.75:1AAA
Muted text7.11:1AAA
Accent9.72:1AAA
Destructive6.53:1AA
Dark mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button13.33:1AAA
Secondary button11.75:1AAA
Muted text8.84:1AAA
Accent9.72:1AAA
Destructive4.25:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 236.516);
  --foreground: oklch(0.091 0.012 228.07);
  --muted: oklch(0.958 0.005 189.96);
  --muted-foreground: oklch(0.432 0.006 189.75);
  --popover: oklch(0.985 0.006 236.516);
  --popover-foreground: oklch(0.091 0.012 228.07);
  --card: oklch(0.985 0.006 236.516);
  --card-foreground: oklch(0.091 0.012 228.07);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.946 0.02 236.75);
  --primary-foreground: oklch(0.256 0.047 241.282);
  --secondary: oklch(0.965 0.026 189.468);
  --secondary-foreground: oklch(0.308 0.048 185.319);
  --accent: oklch(0.922 0.03 280.749);
  --accent-foreground: oklch(0.344 0.167 269.392);
  --destructive: oklch(0.445 0.149 33.665);
  --destructive-foreground: oklch(0.927 0.031 32.704);
  --ring: oklch(0.946 0.02 236.75);
  --chart-1: oklch(0.946 0.02 236.75);
  --chart-2: oklch(0.965 0.026 189.468);
  --chart-3: oklch(0.922 0.03 280.749);
  --chart-4: oklch(0.98 0.015 189.734);
  --chart-5: oklch(0.946 0.021 236.764);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.012 229.553);
  --foreground: oklch(0.992 0.002 236.457);
  --muted: oklch(0.175 0.007 189.111);
  --muted-foreground: oklch(0.761 0.005 189.915);
  --popover: oklch(0.115 0.012 229.553);
  --popover-foreground: oklch(0.992 0.002 236.457);
  --card: oklch(0.115 0.012 229.553);
  --card-foreground: oklch(0.992 0.002 236.457);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.946 0.02 236.75);
  --primary-foreground: oklch(0.256 0.047 241.282);
  --secondary: oklch(0.965 0.026 189.468);
  --secondary-foreground: oklch(0.308 0.048 185.319);
  --accent: oklch(0.922 0.03 280.749);
  --accent-foreground: oklch(0.344 0.167 269.392);
  --destructive: oklch(0.606 0.209 33.421);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.02 236.75);
  --chart-1: oklch(0.946 0.02 236.75);
  --chart-2: oklch(0.965 0.026 189.468);
  --chart-3: oklch(0.922 0.03 280.749);
  --chart-4: oklch(0.98 0.015 189.734);
  --chart-5: oklch(0.946 0.021 236.764);
}