Fuel for shadcn/ui

Fuel is a shadcn/ui theme built around a light blue primary color (#e9f1f6) with light green accents (#f1f6e9). The light mode uses a neutral background (#f6fafd). Dark mode keeps the light blue primary (#e9f1f6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f6fafdghostwhite
#000000black
Foreground
#040b11black
#fcfdfdwhite
Card
#f2f8fdaliceblue
#030303black
Card foreground
#03080dblack
#ffffffwhite
Popover
#f6fafdghostwhite
#000000black
Popover foreground
#040b11black
#fcfdfdwhite
Primary
#e9f1f6lavender
#e9f1f6lavender
Primary foreground
#335b7adarkslateblue
#335b7adarkslateblue
Secondary
#f6e9f1lavenderblush
#f6e9f1lavenderblush
Secondary foreground
#7a335bdimgray
#7a335bdimgray
Muted
#f0e5eblinen
#1a0f15black
Muted foreground
#483d43darkslategray
#c2b7bdsilver
Accent
#f1f6e9linen
#f1f6e9linen
Accent foreground
#263215darkslategray
#263215darkslategray
Destructive
#5f0b07maroon
#d7190ffirebrick
Destructive foreground
#f8a4a0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9f1f6lavender
#e9f1f6lavender

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.79:1AAA
Primary button6.28:1AA
Secondary button7.29:1AAA
Muted text8.46:1AAA
Accent12.31:1AAA
Destructive7.01:1AAA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button6.28:1AA
Secondary button7.29:1AAA
Muted text9.62:1AAA
Accent12.31:1AAA
Destructive5.22:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.006 240.367);
  --foreground: oklch(0.144 0.019 236.845);
  --muted: oklch(0.933 0.014 342.176);
  --muted-foreground: oklch(0.373 0.018 342.902);
  --popover: oklch(0.984 0.006 240.367);
  --popover-foreground: oklch(0.144 0.019 236.845);
  --card: oklch(0.976 0.009 240.41);
  --card-foreground: oklch(0.13 0.016 232.933);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.953 0.011 240.436);
  --primary-foreground: oklch(0.457 0.068 243.114);
  --secondary: oklch(0.947 0.016 342.219);
  --secondary-foreground: oklch(0.432 0.111 347.597);
  --accent: oklch(0.966 0.018 125.983);
  --accent-foreground: oklch(0.299 0.051 128.439);
  --destructive: oklch(0.314 0.117 29.15);
  --destructive-foreground: oklch(0.801 0.101 22.866);
  --ring: oklch(0.953 0.011 240.436);
  --chart-1: oklch(0.953 0.011 240.436);
  --chart-2: oklch(0.947 0.016 342.219);
  --chart-3: oklch(0.966 0.018 125.983);
  --chart-4: oklch(0.974 0.008 342.007);
  --chart-5: oklch(0.953 0.011 240.447);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 240.3);
  --muted: oklch(0.186 0.022 344.445);
  --muted-foreground: oklch(0.791 0.015 342.243);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 240.3);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.953 0.011 240.436);
  --primary-foreground: oklch(0.457 0.068 243.114);
  --secondary: oklch(0.947 0.016 342.219);
  --secondary-foreground: oklch(0.432 0.111 347.597);
  --accent: oklch(0.966 0.018 125.983);
  --accent-foreground: oklch(0.299 0.051 128.439);
  --destructive: oklch(0.559 0.219 29.419);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.953 0.011 240.436);
  --chart-1: oklch(0.953 0.011 240.436);
  --chart-2: oklch(0.947 0.016 342.219);
  --chart-3: oklch(0.966 0.018 125.983);
  --chart-4: oklch(0.974 0.008 342.007);
  --chart-5: oklch(0.953 0.011 240.447);
}