Fig Goldfish for shadcn/ui

Fig Goldfish is a shadcn/ui theme built around a deep pink primary color (#582c3f) with deep red accents (#582f2c). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#582c3f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040102black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#040102black
#ffffffwhite
Primary
#582c3fdarkslategray
#582c3fdarkslategray
Primary foreground
#e7d0dagainsboro
#e7d0dagainsboro
Secondary
#582c55darkslategray
#582c55darkslategray
Secondary foreground
#e7d0e6gainsboro
#e7d0e6gainsboro
Muted
#e8d9e7gainsboro
#261725black
Muted foreground
#615c61dimgray
#a39ea3darkgray
Accent
#582f2cdarkolivegreen
#582f2cdarkolivegreen
Accent foreground
#e7d1d0gainsboro
#e7d1d0gainsboro
Destructive
#ba4003firebrick
#fb5d0eorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#f3f1f2whitesmoke
#1b1819black
Input
#f3f1f2whitesmoke
#1b1819black
Ring
#582c3fdarkslategray
#582c3fdarkslategray

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button7.77:1AAA
Secondary button7.60:1AAA
Muted text4.82:1AA
Accent7.73:1AAA
Destructive5.50:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.77:1AAA
Secondary button7.60:1AAA
Muted text6.46:1AA
Accent7.73:1AAA
Destructive6.68:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.084 0.015 348.404);
  --muted: oklch(0.901 0.024 327.808);
  --muted-foreground: oklch(0.48 0.011 327.768);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.084 0.015 348.404);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.961 0.002 348.787);
  --input: oklch(0.961 0.002 348.787);
  --primary: oklch(0.359 0.069 353.738);
  --primary-foreground: oklch(0.878 0.029 349.642);
  --secondary: oklch(0.369 0.087 329.653);
  --secondary-foreground: oklch(0.882 0.039 327.974);
  --accent: oklch(0.358 0.06 24.842);
  --accent-foreground: oklch(0.879 0.025 22.548);
  --destructive: oklch(0.538 0.168 39.959);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.359 0.069 353.738);
  --chart-1: oklch(0.359 0.069 353.738);
  --chart-2: oklch(0.369 0.087 329.653);
  --chart-3: oklch(0.358 0.06 24.842);
  --chart-4: oklch(0.397 0.095 329.686);
  --chart-5: oklch(0.358 0.075 354.215);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.231 0.034 328.89);
  --muted-foreground: oklch(0.705 0.01 327.684);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.213 0.005 349.429);
  --input: oklch(0.213 0.005 349.429);
  --primary: oklch(0.359 0.069 353.738);
  --primary-foreground: oklch(0.878 0.029 349.642);
  --secondary: oklch(0.369 0.087 329.653);
  --secondary-foreground: oklch(0.882 0.039 327.974);
  --accent: oklch(0.358 0.06 24.842);
  --accent-foreground: oklch(0.879 0.025 22.548);
  --destructive: oklch(0.679 0.207 40.503);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.359 0.069 353.738);
  --chart-1: oklch(0.359 0.069 353.738);
  --chart-2: oklch(0.369 0.087 329.653);
  --chart-3: oklch(0.358 0.06 24.842);
  --chart-4: oklch(0.397 0.095 329.686);
  --chart-5: oklch(0.358 0.075 354.215);
}