Amazing Southern Platyfish for shadcn/ui

Amazing Southern Platyfish is a shadcn/ui theme built around a yellow primary color (#d0d33c) with purple accents (#d33cd0). The light mode uses a neutral background (#fefefb). Dark mode keeps the yellow primary (#d0d33c) on a yellow-tinted background (#0e0f06).

Color palette

TokenLightDark
Background
#fefefbwhite
#0e0f06black
Foreground
#000000black
#fdfdfbsnow
Card
#fdfdf7snow
#121207black
Card foreground
#000000black
#ffffffwhite
Popover
#fefefbwhite
#0e0f06black
Popover foreground
#000000black
#fdfdfbsnow
Primary
#d0d33cgoldenrod
#d0d33cgoldenrod
Primary foreground
#35360cdarkolivegreen
#35360cdarkolivegreen
Secondary
#3cd0d3mediumturquoise
#3cd0d3mediumturquoise
Secondary foreground
#0c3536darkslategray
#0c3536darkslategray
Muted
#e3f2f2lavender
#0d1c1cblack
Muted foreground
#5c6060dimgray
#9fa2a3darkgray
Accent
#d33cd0mediumorchid
#d33cd0mediumorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c70805firebrick
#fa3633crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edede8linen
#202018black
Input
#edede8linen
#202018black
Ring
#d0d33cgoldenrod
#d0d33cgoldenrod

Contrast

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

Light mode
Text on background20.75:1AAA
Text on card20.50:1AAA
Primary button7.73:1AAA
Secondary button7.07:1AAA
Muted text5.53:1AA
Accent3.95:1AA Large
Destructive6.06:1AA
Dark mode
Text on background18.95:1AAA
Text on card18.79:1AAA
Primary button7.73:1AAA
Secondary button7.07:1AAA
Muted text6.82:1AA
Accent3.95:1AA Large
Destructive3.72:1AA Large

CSS variables

Paste this into your globals.css to use Amazing Southern Platyfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 107.235);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.95 0.016 198.118);
  --muted-foreground: oklch(0.486 0.005 198.219);
  --popover: oklch(0.996 0.004 107.235);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.007 107.3);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.946 0.008 107.316);
  --input: oklch(0.946 0.008 107.316);
  --primary: oklch(0.838 0.165 110.443);
  --primary-foreground: oklch(0.323 0.06 110.266);
  --secondary: oklch(0.784 0.12 196.683);
  --secondary-foreground: oklch(0.303 0.044 196.702);
  --accent: oklch(0.632 0.243 328.711);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.523 0.211 29.187);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.838 0.165 110.443);
  --chart-1: oklch(0.838 0.165 110.443);
  --chart-2: oklch(0.784 0.12 196.683);
  --chart-3: oklch(0.632 0.243 328.711);
  --chart-4: oklch(0.795 0.117 196.698);
  --chart-5: oklch(0.848 0.17 110.501);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.163 0.018 109.031);
  --foreground: oklch(0.995 0.003 107.216);
  --muted: oklch(0.212 0.02 197.106);
  --muted-foreground: oklch(0.711 0.004 198.272);
  --popover: oklch(0.163 0.018 109.031);
  --popover-foreground: oklch(0.995 0.003 107.216);
  --card: oklch(0.179 0.021 109.159);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.241 0.014 108.222);
  --input: oklch(0.241 0.014 108.222);
  --primary: oklch(0.838 0.165 110.443);
  --primary-foreground: oklch(0.323 0.06 110.266);
  --secondary: oklch(0.784 0.12 196.683);
  --secondary-foreground: oklch(0.303 0.044 196.702);
  --accent: oklch(0.632 0.243 328.711);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.642 0.23 27.333);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.838 0.165 110.443);
  --chart-1: oklch(0.838 0.165 110.443);
  --chart-2: oklch(0.784 0.12 196.683);
  --chart-3: oklch(0.632 0.243 328.711);
  --chart-4: oklch(0.795 0.117 196.698);
  --chart-5: oklch(0.848 0.17 110.501);
}