Prostrate is a shadcn/ui theme built around an orange primary color (#8e523e) with violet accents (#523e8e). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the orange primary (#8e523e) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #080402black |
| Foreground | #100805black | #ffffffwhite |
| Card | #fcf9f8snow | #0c0503black |
| Card foreground | #0c0604black | #ffffffwhite |
| Popover | #fcf9f8snow | #0c0503black |
| Popover foreground | #0c0604black | #ffffffwhite |
| Primary | #8e523esienna | #8e523esienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3e8e52seagreen | #3e8e52seagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7e0d9gainsboro | #1f2821black |
| Muted foreground | #424342darkslategray | #bcbdbcsilver |
| Accent | #523e8edarkslateblue | #523e8edarkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #cc250ffirebrick | #ed2b12orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8e523esienna | #8e523esienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 7.35:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 5.46:1 | AA |
| Text on background | 20.44:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 8.02:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 4.22:1 | AA Large |
Paste this into your globals.css to use Prostrate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 39.498);
--foreground: oklch(0.143 0.017 44.279);
--muted: oklch(0.897 0.014 153.616);
--muted-foreground: oklch(0.381 0.002 153.769);
--popover: oklch(0.984 0.003 39.488);
--popover-foreground: oklch(0.129 0.014 46.025);
--card: oklch(0.984 0.003 39.488);
--card-foreground: oklch(0.129 0.014 46.025);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.504 0.086 39.148);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.581 0.12 149.454);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.428 0.127 291.671);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.546 0.203 30.96);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.086 39.148);
--chart-1: oklch(0.504 0.086 39.148);
--chart-2: oklch(0.581 0.12 149.454);
--chart-3: oklch(0.428 0.127 291.671);
--chart-4: oklch(0.612 0.127 149.419);
--chart-5: oklch(0.505 0.092 39.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.014 47.273);
--foreground: oklch(1 0 180);
--muted: oklch(0.267 0.018 152.648);
--muted-foreground: oklch(0.798 0.002 153.834);
--popover: oklch(0.128 0.016 46.923);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.128 0.016 46.923);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.504 0.086 39.148);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.581 0.12 149.454);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.428 0.127 291.671);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.61 0.229 30.929);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.086 39.148);
--chart-1: oklch(0.504 0.086 39.148);
--chart-2: oklch(0.581 0.12 149.454);
--chart-3: oklch(0.428 0.127 291.671);
--chart-4: oklch(0.612 0.127 149.419);
--chart-5: oklch(0.505 0.092 39.115);
}