Prostanoid is a shadcn/ui theme built around a vivid light red primary color (#fbdfe4) with vivid light blue accents (#dfe4fb). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid light red primary (#fbdfe4) on a red-tinted background (#0c0305).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0c0305black |
| Foreground | #120205black | #f8f7f7whitesmoke |
| Card | #fcf8f8snow | #100407black |
| Card foreground | #0e0204black | #faf9fasnow |
| Popover | #fcf8f8snow | #100407black |
| Popover foreground | #0e0204black | #faf9fasnow |
| Primary | #fbdfe4mistyrose | #fbdfe4mistyrose |
| Primary foreground | #95132bbrown | #95132bbrown |
| Secondary | #e4fbdfbeige | #e4fbdfbeige |
| Secondary foreground | #113b08darkgreen | #113b08darkgreen |
| Muted | #dae3d9gainsboro | #1e261cblack |
| Muted foreground | #555954dimgray | #a7aba6darkgray |
| Accent | #dfe4fblavender | #dfe4fblavender |
| Accent foreground | #132b95midnightblue | #132b95midnightblue |
| Destructive | #9b2308firebrick | #f45734tomato |
| Destructive foreground | #fddfd8mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbdfe4mistyrose | #fbdfe4mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 11.59:1 | AAA |
| Muted text | 5.43:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 11.59:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use Prostanoid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 4.377);
--foreground: oklch(0.129 0.036 6.752);
--muted: oklch(0.907 0.017 139.974);
--muted-foreground: oklch(0.46 0.01 139.972);
--popover: oklch(0.982 0.005 4.444);
--popover-foreground: oklch(0.115 0.031 5.449);
--card: oklch(0.982 0.005 4.444);
--card-foreground: oklch(0.115 0.031 5.449);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.929 0.031 5.184);
--primary-foreground: oklch(0.433 0.161 18.848);
--secondary: oklch(0.964 0.043 139.952);
--secondary-foreground: oklch(0.31 0.091 140.436);
--accent: oklch(0.923 0.031 275.705);
--accent-foreground: oklch(0.357 0.174 266.377);
--destructive: oklch(0.453 0.16 33.204);
--destructive-foreground: oklch(0.926 0.035 32.714);
--ring: oklch(0.929 0.031 5.184);
--chart-1: oklch(0.929 0.031 5.184);
--chart-2: oklch(0.964 0.043 139.952);
--chart-3: oklch(0.923 0.031 275.705);
--chart-4: oklch(0.979 0.025 139.968);
--chart-5: oklch(0.928 0.032 5.219);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.021 4.922);
--foreground: oklch(0.976 0.002 4.362);
--muted: oklch(0.258 0.023 139.921);
--muted-foreground: oklch(0.736 0.009 139.98);
--popover: oklch(0.133 0.025 5.986);
--popover-foreground: oklch(0.984 0.001 4.345);
--card: oklch(0.133 0.025 5.986);
--card-foreground: oklch(0.984 0.001 4.345);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.929 0.031 5.184);
--primary-foreground: oklch(0.433 0.161 18.848);
--secondary: oklch(0.964 0.043 139.952);
--secondary-foreground: oklch(0.31 0.091 140.436);
--accent: oklch(0.923 0.031 275.705);
--accent-foreground: oklch(0.357 0.174 266.377);
--destructive: oklch(0.663 0.199 34.088);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.929 0.031 5.184);
--chart-1: oklch(0.929 0.031 5.184);
--chart-2: oklch(0.964 0.043 139.952);
--chart-3: oklch(0.923 0.031 275.705);
--chart-4: oklch(0.979 0.025 139.968);
--chart-5: oklch(0.928 0.032 5.219);
}