Abstract Goldfish is a shadcn/ui theme built around a yellow primary color (#e4cc96) with blue accents (#96ade4). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#e4cc96) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0d0a02black | #fbfaf9snow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0d0a02black | #fbfaf9snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0d0a02black | #fbfaf9snow |
| Primary | #e4cc96burlywood | #e4cc96burlywood |
| Primary foreground | #392c0fblack | #392c0fblack |
| Secondary | #96ade4lightsteelblue | #96ade4lightsteelblue |
| Secondary foreground | #0f1b39midnightblue | #0f1b39midnightblue |
| Muted | #e7e9eflavender | #101318black |
| Muted foreground | #4f545fdimgray | #a0a5b0darkgray |
| Accent | #96ade4lightsteelblue | #96ade4lightsteelblue |
| Accent foreground | #0f1b39midnightblue | #0f1b39midnightblue |
| Destructive | #630903maroon | #f71808red |
| Destructive foreground | #fca29clightsalmon | #ffffffwhite |
| Border | #e7e6e4gainsboro | #1d1c1bblack |
| Input | #e7e6e4gainsboro | #1d1c1bblack |
| Ring | #e4cc96burlywood | #e4cc96burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 8.69:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.24:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 6.86:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 8.69:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 7.59:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Abstract Goldfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.144 0.021 93.035);
--muted: oklch(0.934 0.008 267.368);
--muted-foreground: oklch(0.444 0.019 267.121);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.144 0.021 93.035);
--card: oklch(1 0 180);
--card-foreground: oklch(0.144 0.021 93.035);
--border: oklch(0.925 0.002 87.431);
--input: oklch(0.925 0.002 87.431);
--primary: oklch(0.853 0.076 87.438);
--primary-foreground: oklch(0.301 0.048 85.854);
--secondary: oklch(0.75 0.084 266.443);
--secondary-foreground: oklch(0.23 0.06 264.689);
--accent: oklch(0.75 0.084 266.443);
--accent-foreground: oklch(0.23 0.06 264.689);
--destructive: oklch(0.32 0.122 30.238);
--destructive-foreground: oklch(0.801 0.107 24.191);
--ring: oklch(0.853 0.076 87.438);
--chart-1: oklch(0.853 0.076 87.438);
--chart-2: oklch(0.75 0.084 266.443);
--chart-3: oklch(0.75 0.084 266.443);
--chart-4: oklch(0.779 0.073 266.631);
--chart-5: oklch(0.856 0.079 87.407);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 87.428);
--muted: oklch(0.186 0.012 266.908);
--muted-foreground: oklch(0.722 0.017 267.272);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 87.428);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 87.428);
--border: oklch(0.229 0.003 87.487);
--input: oklch(0.229 0.003 87.487);
--primary: oklch(0.853 0.076 87.438);
--primary-foreground: oklch(0.301 0.048 85.854);
--secondary: oklch(0.75 0.084 266.443);
--secondary-foreground: oklch(0.23 0.06 264.689);
--accent: oklch(0.75 0.084 266.443);
--accent-foreground: oklch(0.23 0.06 264.689);
--destructive: oklch(0.619 0.246 29.746);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.853 0.076 87.438);
--chart-1: oklch(0.853 0.076 87.438);
--chart-2: oklch(0.75 0.084 266.443);
--chart-3: oklch(0.75 0.084 266.443);
--chart-4: oklch(0.779 0.073 266.631);
--chart-5: oklch(0.856 0.079 87.407);
}