Tropic Canary Bobolink is a shadcn/ui theme built around a yellow primary color (#bdc43b) with muted light yellow accents (#d8d8cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#bdc43b) on a neutral background (#080802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080802black |
| Foreground | #000000black | #fcfcf8snow |
| Card | #fcfcfcsnow | #0b0c04black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #080802black |
| Popover foreground | #000000black | #fcfcf8snow |
| Primary | #bdc43byellowgreen | #bdc43byellowgreen |
| Primary foreground | #26270cblack | #26270cblack |
| Secondary | #d8d8cflightgrey | #22231ablack |
| Secondary foreground | #404135darkslategray | #c1c2aesilver |
| Muted | #ebecdabeige | #242513black |
| Muted foreground | #676850dimgray | #aeaf97darkgray |
| Accent | #d8d8cflightgrey | #22231ablack |
| Accent foreground | #404135darkslategray | #c1c2aesilver |
| Destructive | #6b0101maroon | #fe1616red |
| Destructive foreground | #ff9f9flightsalmon | #ffffffwhite |
| Border | #f3f3f2whitesmoke | #1d1d1bblack |
| Input | #f3f3f2whitesmoke | #1d1d1bblack |
| Ring | #bdc43byellowgreen | #bdc43byellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.75:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 8.75:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Tropic Canary Bobolink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.937 0.023 109.161);
--muted-foreground: oklch(0.508 0.036 109.985);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.963 0.002 108.742);
--input: oklch(0.963 0.002 108.742);
--primary: oklch(0.792 0.155 112.286);
--primary-foreground: oklch(0.265 0.044 111.673);
--secondary: oklch(0.879 0.012 108.955);
--secondary-foreground: oklch(0.369 0.019 109.662);
--accent: oklch(0.879 0.012 108.955);
--accent-foreground: oklch(0.369 0.019 109.662);
--destructive: oklch(0.331 0.135 29.143);
--destructive-foreground: oklch(0.798 0.115 19.917);
--ring: oklch(0.792 0.155 112.286);
--chart-1: oklch(0.792 0.155 112.286);
--chart-2: oklch(0.879 0.012 108.955);
--chart-3: oklch(0.879 0.012 108.955);
--chart-4: oklch(0.901 0.01 108.906);
--chart-5: oklch(0.802 0.161 112.386);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.017 110.439);
--foreground: oklch(0.989 0.005 108.802);
--muted: oklch(0.257 0.03 110.786);
--muted-foreground: oklch(0.747 0.033 109.518);
--popover: oklch(0.13 0.017 110.439);
--popover-foreground: oklch(0.989 0.005 108.802);
--card: oklch(0.149 0.02 110.596);
--card-foreground: oklch(0.995 0.002 108.756);
--border: oklch(0.231 0.005 109.128);
--input: oklch(0.231 0.005 109.128);
--primary: oklch(0.792 0.155 112.286);
--primary-foreground: oklch(0.265 0.044 111.673);
--secondary: oklch(0.252 0.016 109.82);
--secondary-foreground: oklch(0.806 0.027 109.33);
--accent: oklch(0.252 0.016 109.82);
--accent-foreground: oklch(0.806 0.027 109.33);
--destructive: oklch(0.631 0.252 28.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.792 0.155 112.286);
--chart-1: oklch(0.792 0.155 112.286);
--chart-2: oklch(0.252 0.016 109.82);
--chart-3: oklch(0.252 0.016 109.82);
--chart-4: oklch(0.287 0.019 109.884);
--chart-5: oklch(0.802 0.161 112.386);
}