Codium Fragile Goldfish for shadcn/ui

Codium Fragile Goldfish is a shadcn/ui theme built around a deep yellow primary color (#534f27) with deep purple accents (#4f2753). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the deep yellow primary (#534f27) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#fcfcf8snow
#040301black
Foreground
#0d0c02black
#fafaf4floralwhite
Card
#fcfcf8snow
#040301black
Card foreground
#0d0c02black
#fafaf4floralwhite
Popover
#fcfcf8snow
#040301black
Popover foreground
#0d0c02black
#fafaf4floralwhite
Primary
#534f27darkolivegreen
#534f27darkolivegreen
Primary foreground
#e5e2c8gainsboro
#e5e2c8gainsboro
Secondary
#27534fdarkslategray
#27534fdarkslategray
Secondary foreground
#c8e5e2gainsboro
#c8e5e2gainsboro
Muted
#d3deddgainsboro
#212c2bdarkslategray
Muted foreground
#566765dimgray
#98a9a7darkgray
Accent
#4f2753darkslategray
#4f2753darkslategray
Accent foreground
#e2c8e5thistle
#e2c8e5thistle
Destructive
#9d390bsaddlebrown
#db500fchocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaeae6linen
#24241eblack
Input
#eaeae6linen
#24241eblack
Ring
#534f27darkolivegreen
#534f27darkolivegreen

Contrast

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

Light mode
Text on background19.03:1AAA
Text on card19.03:1AAA
Primary button6.38:1AA
Secondary button6.44:1AA
Muted text4.33:1AA Large
Accent7.79:1AAA
Destructive6.91:1AA
Dark mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button6.38:1AA
Secondary button6.44:1AA
Muted text5.89:1AA
Accent7.79:1AAA
Destructive4.05:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 101.373);
  --foreground: oklch(0.153 0.025 104.655);
  --muted: oklch(0.892 0.012 189.779);
  --muted-foreground: oklch(0.499 0.021 189.11);
  --popover: oklch(0.989 0.005 101.373);
  --popover-foreground: oklch(0.153 0.025 104.655);
  --card: oklch(0.989 0.005 101.373);
  --card-foreground: oklch(0.153 0.025 104.655);
  --border: oklch(0.936 0.006 101.381);
  --input: oklch(0.936 0.006 101.381);
  --primary: oklch(0.421 0.058 102.935);
  --primary-foreground: oklch(0.908 0.035 101.874);
  --secondary: oklch(0.41 0.05 186.91);
  --secondary-foreground: oklch(0.899 0.031 189.275);
  --accent: oklch(0.345 0.088 323.466);
  --accent-foreground: oklch(0.862 0.049 322.851);
  --destructive: oklch(0.482 0.143 40.586);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.421 0.058 102.935);
  --chart-1: oklch(0.421 0.058 102.935);
  --chart-2: oklch(0.41 0.05 186.91);
  --chart-3: oklch(0.345 0.088 323.466);
  --chart-4: oklch(0.445 0.054 186.854);
  --chart-5: oklch(0.427 0.062 102.969);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.01 103.787);
  --foreground: oklch(0.983 0.007 101.404);
  --muted: oklch(0.281 0.015 188.834);
  --muted-foreground: oklch(0.721 0.019 189.464);
  --popover: oklch(0.1 0.01 103.787);
  --popover-foreground: oklch(0.983 0.007 101.404);
  --card: oklch(0.1 0.01 103.787);
  --card-foreground: oklch(0.983 0.007 101.404);
  --border: oklch(0.258 0.011 101.921);
  --input: oklch(0.258 0.011 101.921);
  --primary: oklch(0.421 0.058 102.935);
  --primary-foreground: oklch(0.908 0.035 101.874);
  --secondary: oklch(0.41 0.05 186.91);
  --secondary-foreground: oklch(0.899 0.031 189.275);
  --accent: oklch(0.345 0.088 323.466);
  --accent-foreground: oklch(0.862 0.049 322.851);
  --destructive: oklch(0.613 0.186 40.018);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.421 0.058 102.935);
  --chart-1: oklch(0.421 0.058 102.935);
  --chart-2: oklch(0.41 0.05 186.91);
  --chart-3: oklch(0.345 0.088 323.466);
  --chart-4: oklch(0.445 0.054 186.854);
  --chart-5: oklch(0.427 0.062 102.969);
}