fst-1 for shadcn/ui

fst-1 is a shadcn/ui theme built around a vivid red primary color (#f75d36) with neutral gray accents (#e7e4e4). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid red primary (#f75d36) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#fefcfbsnow
#040202black
Foreground
#090301black
#fdfcfcsnow
Card
#fefcfbsnow
#040202black
Card foreground
#090301black
#fdfcfcsnow
Popover
#fefcfbsnow
#040202black
Popover foreground
#090301black
#fdfcfcsnow
Primary
#f75d36tomato
#f75d36tomato
Primary foreground
#000000black
#000000black
Secondary
#e7e4e4gainsboro
#1a1919black
Secondary foreground
#524947darkslategray
#b4b2b1darkgray
Muted
#f4edeblinen
#140d0bblack
Muted foreground
#644f4adimgray
#b5a09bdarkgray
Accent
#e7e4e4gainsboro
#1a1919black
Accent foreground
#524947darkslategray
#b4b2b1darkgray
Destructive
#b73506firebrick
#df4007orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eeededwhitesmoke
#222120black
Input
#eeededwhitesmoke
#222120black
Ring
#f75d36tomato
#f75d36tomato

Contrast

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

Light mode
Text on background19.97:1AAA
Text on card19.97:1AAA
Primary button6.55:1AA
Secondary button6.93:1AA
Muted text6.58:1AA
Accent6.93:1AA
Destructive5.95:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button6.55:1AA
Secondary button8.29:1AAA
Muted text7.76:1AAA
Accent8.29:1AAA
Destructive4.31:1AA Large

CSS variables

Paste this into your globals.css to use fst-1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 34.313);
  --foreground: oklch(0.108 0.02 45.424);
  --muted: oklch(0.951 0.008 34.304);
  --muted-foreground: oklch(0.447 0.029 34.38);
  --popover: oklch(0.991 0.003 34.313);
  --popover-foreground: oklch(0.108 0.02 45.424);
  --card: oklch(0.991 0.003 34.313);
  --card-foreground: oklch(0.108 0.02 45.424);
  --border: oklch(0.946 0.001 34.316);
  --input: oklch(0.946 0.001 34.316);
  --primary: oklch(0.674 0.196 35.054);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.922 0.003 34.311);
  --secondary-foreground: oklch(0.414 0.012 34.301);
  --accent: oklch(0.922 0.003 34.311);
  --accent-foreground: oklch(0.414 0.012 34.301);
  --destructive: oklch(0.521 0.173 36.434);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.674 0.196 35.054);
  --chart-1: oklch(0.674 0.196 35.054);
  --chart-2: oklch(0.922 0.003 34.311);
  --chart-3: oklch(0.922 0.003 34.311);
  --chart-4: oklch(0.946 0.002 34.313);
  --chart-5: oklch(0.676 0.202 34.985);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.008 38.818);
  --foreground: oklch(0.992 0.001 34.316);
  --muted: oklch(0.166 0.013 34.424);
  --muted-foreground: oklch(0.724 0.026 34.307);
  --popover: oklch(0.089 0.008 38.818);
  --popover-foreground: oklch(0.992 0.001 34.316);
  --card: oklch(0.089 0.008 38.818);
  --card-foreground: oklch(0.992 0.001 34.316);
  --border: oklch(0.248 0.002 34.306);
  --input: oklch(0.248 0.002 34.306);
  --primary: oklch(0.674 0.196 35.054);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.215 0.001 34.307);
  --secondary-foreground: oklch(0.764 0.003 34.311);
  --accent: oklch(0.215 0.001 34.307);
  --accent-foreground: oklch(0.764 0.003 34.311);
  --destructive: oklch(0.601 0.202 36.094);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.674 0.196 35.054);
  --chart-1: oklch(0.674 0.196 35.054);
  --chart-2: oklch(0.215 0.001 34.307);
  --chart-3: oklch(0.215 0.001 34.307);
  --chart-4: oklch(0.248 0.002 34.306);
  --chart-5: oklch(0.676 0.202 34.985);
}