Seaweed is a shadcn/ui theme built around a vivid blue primary color (#337bf0) with vivid green accents (#7bf033). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#337bf0) on a blue-tinted background (#040910).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040910black |
| Foreground | #010204black | #f9fafbghostwhite |
| Card | #ffffffwhite | #040910black |
| Card foreground | #010204black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #040910black |
| Popover foreground | #010204black | #f9fafbghostwhite |
| Primary | #337bf0royalblue | #337bf0royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f0337bdeeppink | #f0337bdeeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f7eef1whitesmoke | #11080cblack |
| Muted foreground | #503f45darkslategray | #c0afb6silver |
| Accent | #7bf033yellowgreen | #7bf033yellowgreen |
| Accent foreground | #235106darkgreen | #235106darkgreen |
| Destructive | #622209maroon | #ed7140tomato |
| Destructive foreground | #f7bda6lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #337bf0royalblue | #337bf0royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 3.84:1 | AA Large |
| Muted text | 8.61:1 | AAA |
| Accent | 6.36:1 | AA |
| Destructive | 7.28:1 | AAA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 3.84:1 | AA Large |
| Muted text | 9.43:1 | AAA |
| Accent | 6.36:1 | AA |
| Destructive | 7.03:1 | AAA |
Paste this into your globals.css to use Seaweed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.086 0.011 251.455);
--muted: oklch(0.956 0.011 351.906);
--muted-foreground: oklch(0.388 0.026 353.418);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.086 0.011 251.455);
--card: oklch(1 0 180);
--card-foreground: oklch(0.086 0.011 251.455);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.602 0.19 259.682);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.636 0.226 3.866);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.853 0.238 136.653);
--accent-foreground: oklch(0.386 0.112 137.025);
--destructive: oklch(0.346 0.099 39.693);
--destructive-foreground: oklch(0.845 0.074 42.573);
--ring: oklch(0.602 0.19 259.682);
--chart-1: oklch(0.602 0.19 259.682);
--chart-2: oklch(0.636 0.226 3.866);
--chart-3: oklch(0.853 0.238 136.653);
--chart-4: oklch(0.651 0.216 2.244);
--chart-5: oklch(0.602 0.195 259.745);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.019 254.13);
--foreground: oklch(0.984 0.001 259.935);
--muted: oklch(0.151 0.017 354.317);
--muted-foreground: oklch(0.771 0.022 352.376);
--popover: oklch(0.137 0.019 254.13);
--popover-foreground: oklch(0.984 0.001 259.935);
--card: oklch(0.137 0.019 254.13);
--card-foreground: oklch(0.984 0.001 259.935);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.602 0.19 259.682);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.636 0.226 3.866);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.853 0.238 136.653);
--accent-foreground: oklch(0.386 0.112 137.025);
--destructive: oklch(0.688 0.166 41.084);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.602 0.19 259.682);
--chart-1: oklch(0.602 0.19 259.682);
--chart-2: oklch(0.636 0.226 3.866);
--chart-3: oklch(0.853 0.238 136.653);
--chart-4: oklch(0.651 0.216 2.244);
--chart-5: oklch(0.602 0.195 259.745);
}