Hello Spring Starfish is a shadcn/ui theme built around a green primary color (#4ed465) with purple accents (#d446cc). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#4ed465) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020803black |
| Foreground | #010402black | #f5f9f6whitesmoke |
| Card | #fcfcfcsnow | #040c05black |
| Card foreground | #000000black | #f8fbf9mintcream |
| Popover | #fcfcfcsnow | #040c05black |
| Popover foreground | #000000black | #f8fbf9mintcream |
| Primary | #4ed465mediumseagreen | #4ed465mediumseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #654ed4slateblue | #654ed4slateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6e3f2lavender | #100d1cblack |
| Muted foreground | #494659darkslategray | #aaa6b9darkgray |
| Accent | #d446ccmediumorchid | #d4654eindianred |
| Accent foreground | #000000black | #000000black |
| Destructive | #c7310ffirebrick | #ed3a12orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e9e3gainsboro | #1f2821black |
| Input | #e2e9e3gainsboro | #1f2821black |
| Ring | #4ed465mediumseagreen | #4ed465mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 10.95:1 | AAA |
| Secondary button | 5.82:1 | AA |
| Muted text | 7.22:1 | AAA |
| Accent | 5.53:1 | AA |
| Destructive | 5.41:1 | AA |
| Text on background | 19.03:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 10.95:1 | AAA |
| Secondary button | 5.82:1 | AA |
| Muted text | 8.09:1 | AAA |
| Accent | 5.76:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Hello Spring Starfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.097 0.016 149.843);
--muted: oklch(0.923 0.02 293.661);
--muted-foreground: oklch(0.403 0.032 292.556);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.927 0.009 150.681);
--input: oklch(0.927 0.009 150.681);
--primary: oklch(0.773 0.192 146.417);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.526 0.196 285.052);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.64 0.23 330.262);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.546 0.191 33.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.192 146.417);
--chart-1: oklch(0.773 0.192 146.417);
--chart-2: oklch(0.526 0.196 285.052);
--chart-3: oklch(0.64 0.23 330.262);
--chart-4: oklch(0.557 0.183 286.485);
--chart-5: oklch(0.78 0.199 146.235);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.019 149.914);
--foreground: oklch(0.979 0.007 150.73);
--muted: oklch(0.171 0.03 290.473);
--muted-foreground: oklch(0.735 0.027 293.367);
--popover: oklch(0.14 0.022 149.856);
--popover-foreground: oklch(0.986 0.004 150.761);
--card: oklch(0.14 0.022 149.856);
--card-foreground: oklch(0.986 0.004 150.761);
--border: oklch(0.266 0.018 149.859);
--input: oklch(0.266 0.018 149.859);
--primary: oklch(0.773 0.192 146.417);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.526 0.196 285.052);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.636 0.146 32.813);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.621 0.22 33.133);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.192 146.417);
--chart-1: oklch(0.773 0.192 146.417);
--chart-2: oklch(0.526 0.196 285.052);
--chart-3: oklch(0.636 0.146 32.813);
--chart-4: oklch(0.557 0.183 286.485);
--chart-5: oklch(0.78 0.199 146.235);
}