Frigid for shadcn/ui

Frigid is a shadcn/ui theme built around a light red primary color (#e6c2c1) with light orange accents (#e6d4c1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#e6c2c1) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#ffffffwhite
#040202black
Foreground
#080202black
#fbf9f8snow
Card
#ffffffwhite
#040202black
Card foreground
#080202black
#fbf9f8snow
Popover
#ffffffwhite
#040202black
Popover foreground
#080202black
#fbf9f8snow
Primary
#e6c2c1pink
#e6c2c1pink
Primary foreground
#542221maroon
#542221maroon
Secondary
#e6c1d3thistle
#e6c1d3thistle
Secondary foreground
#54213adarkslategray
#54213adarkslategray
Muted
#e0d7dbgainsboro
#281f24black
Muted foreground
#6f5d66dimgray
#a29099rosybrown
Accent
#e6d4c1wheat
#e6d4c1wheat
Accent foreground
#543b21darkolivegreen
#543b21darkolivegreen
Destructive
#7e2d02saddlebrown
#e75304orangered
Destructive foreground
#feceb4peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e6c2c1pink
#e6c2c1pink

Contrast

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

Light mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button7.88:1AAA
Secondary button7.81:1AAA
Muted text4.34:1AA Large
Accent7.20:1AAA
Destructive6.50:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button7.88:1AAA
Secondary button7.81:1AAA
Muted text5.31:1AA
Accent7.20:1AAA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.103 0.02 22.837);
  --muted: oklch(0.887 0.011 346.341);
  --muted-foreground: oklch(0.499 0.027 347.412);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.103 0.02 22.837);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.103 0.02 22.837);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.844 0.042 19.164);
  --primary-foreground: oklch(0.325 0.074 23.068);
  --secondary: oklch(0.848 0.048 347.473);
  --secondary-foreground: oklch(0.331 0.081 352.234);
  --accent: oklch(0.88 0.033 69.244);
  --accent-foreground: oklch(0.375 0.052 66.912);
  --destructive: oklch(0.41 0.121 42.427);
  --destructive-foreground: oklch(0.886 0.065 49.796);
  --ring: oklch(0.844 0.042 19.164);
  --chart-1: oklch(0.844 0.042 19.164);
  --chart-2: oklch(0.848 0.048 347.473);
  --chart-3: oklch(0.88 0.033 69.244);
  --chart-4: oklch(0.875 0.039 347.177);
  --chart-5: oklch(0.843 0.045 19.227);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.01 20.708);
  --foreground: oklch(0.983 0.003 18.409);
  --muted: oklch(0.253 0.015 347.536);
  --muted-foreground: oklch(0.672 0.025 346.986);
  --popover: oklch(0.085 0.01 20.708);
  --popover-foreground: oklch(0.983 0.003 18.409);
  --card: oklch(0.085 0.01 20.708);
  --card-foreground: oklch(0.983 0.003 18.409);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.844 0.042 19.164);
  --primary-foreground: oklch(0.325 0.074 23.068);
  --secondary: oklch(0.848 0.048 347.473);
  --secondary-foreground: oklch(0.331 0.081 352.234);
  --accent: oklch(0.88 0.033 69.244);
  --accent-foreground: oklch(0.375 0.052 66.912);
  --destructive: oklch(0.635 0.196 40.536);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.042 19.164);
  --chart-1: oklch(0.844 0.042 19.164);
  --chart-2: oklch(0.848 0.048 347.473);
  --chart-3: oklch(0.88 0.033 69.244);
  --chart-4: oklch(0.875 0.039 347.177);
  --chart-5: oklch(0.843 0.045 19.227);
}