Fly for shadcn/ui

Fly is a shadcn/ui theme built around a vivid light teal primary color (#f1fdfd) with vivid light blue accents (#f1f7fd). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the vivid light teal primary (#f1fdfd) on a teal-tinted background (#030c0c).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#030c0cblack
Foreground
#000000black
#f6f9f9whitesmoke
Card
#f7fcfdghostwhite
#030c0cblack
Card foreground
#000000black
#f6f9f9whitesmoke
Popover
#f7fcfdghostwhite
#030c0cblack
Popover foreground
#000000black
#f6f9f9whitesmoke
Primary
#f1fdfdazure
#f1fdfdazure
Primary foreground
#09494edarkslategray
#09494edarkslategray
Secondary
#f1fdf8mintcream
#f1fdf8mintcream
Secondary foreground
#094e30darkslategray
#094e30darkslategray
Muted
#eef6f3whitesmoke
#09110dblack
Muted foreground
#595f5cdimgray
#a0a6a4darkgray
Accent
#f1f7fdaliceblue
#f1f7fdaliceblue
Accent foreground
#1454a9teal
#1454a9teal
Destructive
#6f260csaddlebrown
#ea6434tomato
Destructive foreground
#f7c7b5peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1fdfdazure
#f1fdfdazure

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.35:1AAA
Primary button9.72:1AAA
Secondary button9.42:1AAA
Muted text5.94:1AA
Accent6.76:1AA
Destructive7.05:1AAA
Dark mode
Text on background18.71:1AAA
Text on card18.71:1AAA
Primary button9.72:1AAA
Secondary button9.42:1AAA
Muted text7.74:1AAA
Accent6.76:1AA
Destructive6.37:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 202.151);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.967 0.009 168.466);
  --muted-foreground: oklch(0.478 0.008 168.267);
  --popover: oklch(0.988 0.006 202.151);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.006 202.151);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.985 0.012 202.087);
  --primary-foreground: oklch(0.371 0.059 202.489);
  --secondary: oklch(0.985 0.014 168.319);
  --secondary-foreground: oklch(0.374 0.082 158.404);
  --accent: oklch(0.973 0.011 255.012);
  --accent-foreground: oklch(0.459 0.15 257.495);
  --destructive: oklch(0.375 0.109 38.568);
  --destructive-foreground: oklch(0.867 0.061 40.934);
  --ring: oklch(0.985 0.012 202.087);
  --chart-1: oklch(0.985 0.012 202.087);
  --chart-2: oklch(0.985 0.014 168.319);
  --chart-3: oklch(0.973 0.011 255.012);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.985 0.012 202.082);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.016 200.259);
  --foreground: oklch(0.979 0.003 202.183);
  --muted: oklch(0.166 0.014 166.269);
  --muted-foreground: oklch(0.72 0.007 168.455);
  --popover: oklch(0.142 0.016 200.259);
  --popover-foreground: oklch(0.979 0.003 202.183);
  --card: oklch(0.142 0.016 200.259);
  --card-foreground: oklch(0.979 0.003 202.183);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.985 0.012 202.087);
  --primary-foreground: oklch(0.371 0.059 202.489);
  --secondary: oklch(0.985 0.014 168.319);
  --secondary-foreground: oklch(0.374 0.082 158.404);
  --accent: oklch(0.973 0.011 255.012);
  --accent-foreground: oklch(0.459 0.15 257.495);
  --destructive: oklch(0.664 0.177 39.386);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.985 0.012 202.087);
  --chart-1: oklch(0.985 0.012 202.087);
  --chart-2: oklch(0.985 0.014 168.319);
  --chart-3: oklch(0.973 0.011 255.012);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.985 0.012 202.082);
}