Fast for shadcn/ui

Fast is a shadcn/ui theme built around a light cyan primary color (#9fe1ef) with light green accents (#e1ef9f). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the light cyan primary (#9fe1ef) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#010304black
Foreground
#010809black
#f9fbfbghostwhite
Card
#f7fcfdghostwhite
#010304black
Card foreground
#010809black
#f9fbfbghostwhite
Popover
#f7fcfdghostwhite
#010304black
Popover foreground
#010809black
#f9fbfbghostwhite
Primary
#9fe1eflightblue
#9fe1eflightblue
Primary foreground
#0d444edarkslategray
#0d444edarkslategray
Secondary
#ef9fe1plum
#ef9fe1plum
Secondary foreground
#4e0d44indigo
#4e0d44indigo
Muted
#f1e4eflavender
#1b0e19black
Muted foreground
#61565fdimgray
#a99ea7darkgray
Accent
#e1ef9fpalegoldenrod
#e1ef9fpalegoldenrod
Accent foreground
#444e0ddarkolivegreen
#444e0ddarkolivegreen
Destructive
#a81c10firebrick
#ed4a3btomato
Destructive foreground
#fdeeeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9fe1eflightblue
#9fe1eflightblue

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button7.44:1AAA
Secondary button7.31:1AAA
Muted text5.68:1AA
Accent7.27:1AAA
Destructive6.55:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button7.44:1AAA
Secondary button7.31:1AAA
Muted text7.24:1AAA
Accent7.27:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 211.039);
  --foreground: oklch(0.123 0.017 206.371);
  --muted: oklch(0.933 0.02 331.111);
  --muted-foreground: oklch(0.468 0.02 331.393);
  --popover: oklch(0.987 0.006 211.039);
  --popover-foreground: oklch(0.123 0.017 206.371);
  --card: oklch(0.987 0.006 211.039);
  --card-foreground: oklch(0.123 0.017 206.371);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.871 0.069 211.409);
  --primary-foreground: oklch(0.357 0.057 214.473);
  --secondary: oklch(0.802 0.126 332.809);
  --secondary-foreground: oklch(0.302 0.115 335.862);
  --accent: oklch(0.923 0.103 116.158);
  --accent-foreground: oklch(0.403 0.087 118.931);
  --destructive: oklch(0.472 0.176 30.043);
  --destructive-foreground: oklch(0.96 0.017 23.76);
  --ring: oklch(0.871 0.069 211.409);
  --chart-1: oklch(0.871 0.069 211.409);
  --chart-2: oklch(0.802 0.126 332.809);
  --chart-3: oklch(0.923 0.103 116.158);
  --chart-4: oklch(0.827 0.109 332.494);
  --chart-5: oklch(0.873 0.072 211.446);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.009 207.745);
  --foreground: oklch(0.986 0.002 211.042);
  --muted: oklch(0.187 0.03 332.835);
  --muted-foreground: oklch(0.71 0.018 331.164);
  --popover: oklch(0.096 0.009 207.745);
  --popover-foreground: oklch(0.986 0.002 211.042);
  --card: oklch(0.096 0.009 207.745);
  --card-foreground: oklch(0.986 0.002 211.042);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.871 0.069 211.409);
  --primary-foreground: oklch(0.357 0.057 214.473);
  --secondary: oklch(0.802 0.126 332.809);
  --secondary-foreground: oklch(0.302 0.115 335.862);
  --accent: oklch(0.923 0.103 116.158);
  --accent-foreground: oklch(0.403 0.087 118.931);
  --destructive: oklch(0.638 0.202 29.101);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.871 0.069 211.409);
  --chart-1: oklch(0.871 0.069 211.409);
  --chart-2: oklch(0.802 0.126 332.809);
  --chart-3: oklch(0.923 0.103 116.158);
  --chart-4: oklch(0.827 0.109 332.494);
  --chart-5: oklch(0.873 0.072 211.446);
}