Corsage is a shadcn/ui theme built around a green primary color (#c5e490) with muted light green accents (#cdd1c7). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the green primary (#c5e490) on a neutral background (#060802).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #060802black |
| Foreground | #0f1505black | #ffffffwhite |
| Card | #fafbf8snow | #090c03black |
| Card foreground | #0c1004black | #ffffffwhite |
| Popover | #fdfdfcwhite | #060802black |
| Popover foreground | #0f1505black | #ffffffwhite |
| Primary | #c5e490khaki | #c5e490khaki |
| Primary foreground | #27350ddarkgreen | #27350ddarkgreen |
| Secondary | #e1e2dfgainsboro | #2a2d25darkslategray |
| Secondary foreground | #484a45darkslategray | #c3c8bcsilver |
| Muted | #e8efdcbeige | #1c2310black |
| Muted foreground | #5f6850dimgray | #a6af97darkgray |
| Accent | #cdd1c7lightgrey | #434b35darkslategray |
| Accent foreground | #34382edarkslategray | #dadfd2gainsboro |
| Destructive | #7d3108saddlebrown | #f05e0forangered |
| Destructive foreground | #fbd2bcpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5e490khaki | #c5e490khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.27:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 9.30:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 4.96:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.11:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 9.30:1 | AAA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 6.77:1 | AA |
| Destructive | 6.29:1 | AA |
Paste this into your globals.css to use Corsage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 122.961);
--foreground: oklch(0.182 0.032 125.133);
--muted: oklch(0.941 0.025 123.343);
--muted-foreground: oklch(0.502 0.038 124.122);
--popover: oklch(0.994 0.002 122.961);
--popover-foreground: oklch(0.182 0.032 125.133);
--card: oklch(0.988 0.004 122.994);
--card-foreground: oklch(0.165 0.028 124.179);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.114 125.068);
--primary-foreground: oklch(0.307 0.065 127.096);
--secondary: oklch(0.91 0.003 122.986);
--secondary-foreground: oklch(0.406 0.01 123.297);
--accent: oklch(0.855 0.014 123.188);
--accent-foreground: oklch(0.334 0.018 123.772);
--destructive: oklch(0.414 0.116 43.4);
--destructive-foreground: oklch(0.893 0.055 49.931);
--ring: oklch(0.877 0.114 125.068);
--chart-1: oklch(0.877 0.114 125.068);
--chart-2: oklch(0.91 0.003 122.986);
--chart-3: oklch(0.855 0.014 123.188);
--chart-4: oklch(0.933 0.003 122.971);
--chart-5: oklch(0.882 0.119 125.165);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.02 122.375);
--foreground: oklch(1 0 180);
--muted: oklch(0.242 0.034 125.28);
--muted-foreground: oklch(0.741 0.035 123.657);
--popover: oklch(0.129 0.02 122.375);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.023 122.73);
--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.877 0.114 125.068);
--primary-foreground: oklch(0.307 0.065 127.096);
--secondary: oklch(0.291 0.015 123.73);
--secondary-foreground: oklch(0.826 0.017 123.254);
--accent: oklch(0.398 0.036 124.386);
--accent-foreground: oklch(0.897 0.018 123.24);
--destructive: oklch(0.662 0.195 42.02);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.877 0.114 125.068);
--chart-1: oklch(0.877 0.114 125.068);
--chart-2: oklch(0.291 0.015 123.73);
--chart-3: oklch(0.398 0.036 124.386);
--chart-4: oklch(0.323 0.017 123.763);
--chart-5: oklch(0.882 0.119 125.165);
}