Overflight for shadcn/ui

Overflight is a shadcn/ui theme built around a vivid orange primary color (#f2b67d) with vivid yellow accents (#f2f07d). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#f2b67d) on an orange-tinted background (#0b0805).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0b0805black
Foreground
#040201black
#f8f7f6whitesmoke
Card
#fdfaf7snow
#0e0a06black
Card foreground
#000000black
#fbfaf9snow
Popover
#fefcfbsnow
#0b0805black
Popover foreground
#040201black
#f8f7f6whitesmoke
Primary
#f2b67dburlywood
#f2b67dburlywood
Primary foreground
#381e06black
#381e06black
Secondary
#f27d7flightcoral
#f27d7flightcoral
Secondary foreground
#380606black
#380606black
Muted
#f3ededlinen
#120c0cblack
Muted foreground
#564d4ddarkslategray
#b2a9a9darkgray
Accent
#f2f07dkhaki
#f2f07dkhaki
Accent foreground
#383706darkgreen
#383706darkgreen
Destructive
#d20f0ffirebrick
#e01010red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2b67dburlywood
#f2b67dburlywood

Contrast

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

Light mode
Text on background20.28:1AAA
Text on card20.16:1AAA
Primary button8.65:1AAA
Secondary button6.70:1AA
Muted text7.05:1AAA
Accent10.22:1AAA
Destructive5.51:1AA
Dark mode
Text on background18.71:1AAA
Text on card18.90:1AAA
Primary button8.65:1AAA
Secondary button6.70:1AA
Muted text8.41:1AAA
Accent10.22:1AAA
Destructive4.93:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 65.936);
  --foreground: oklch(0.095 0.014 76.761);
  --muted: oklch(0.95 0.007 16.097);
  --muted-foreground: oklch(0.429 0.013 16.523);
  --popover: oklch(0.993 0.003 65.936);
  --popover-foreground: oklch(0.095 0.014 76.761);
  --card: oklch(0.986 0.005 65.904);
  --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.819 0.101 63.742);
  --primary-foreground: oklch(0.264 0.054 60.09);
  --secondary: oklch(0.723 0.144 20.252);
  --secondary-foreground: oklch(0.222 0.078 25.451);
  --accent: oklch(0.934 0.138 107.924);
  --accent-foreground: oklch(0.327 0.066 108.549);
  --destructive: oklch(0.546 0.218 28.668);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.101 63.742);
  --chart-1: oklch(0.819 0.101 63.742);
  --chart-2: oklch(0.723 0.144 20.252);
  --chart-3: oklch(0.934 0.138 107.924);
  --chart-4: oklch(0.749 0.127 19.494);
  --chart-5: oklch(0.82 0.105 63.62);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.011 71.721);
  --foreground: oklch(0.978 0.002 65.946);
  --muted: oklch(0.164 0.011 17.175);
  --muted-foreground: oklch(0.741 0.011 16.245);
  --popover: oklch(0.135 0.011 71.721);
  --popover-foreground: oklch(0.978 0.002 65.946);
  --card: oklch(0.149 0.012 68.712);
  --card-foreground: oklch(0.985 0.001 65.953);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.819 0.101 63.742);
  --primary-foreground: oklch(0.264 0.054 60.09);
  --secondary: oklch(0.723 0.144 20.252);
  --secondary-foreground: oklch(0.222 0.078 25.451);
  --accent: oklch(0.934 0.138 107.924);
  --accent-foreground: oklch(0.327 0.066 108.549);
  --destructive: oklch(0.574 0.23 28.703);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.101 63.742);
  --chart-1: oklch(0.819 0.101 63.742);
  --chart-2: oklch(0.723 0.144 20.252);
  --chart-3: oklch(0.934 0.138 107.924);
  --chart-4: oklch(0.749 0.127 19.494);
  --chart-5: oklch(0.82 0.105 63.62);
}