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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.44:1 | AA |
| Muted text | 4.33:1 | AA Large |
| Accent | 7.79:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.44:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 4.05:1 | AA Large |
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);
}