Reasonable is a shadcn/ui theme built around a vivid pink primary color (#ed7d9f) with vivid teal accents (#7dedcc). The light mode uses a neutral background (#fbf8f9). Dark mode keeps the vivid pink primary (#ed7d9f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8f9snow | #000000black |
| Foreground | #170309black | #fdfcfcsnow |
| Card | #fbf8f9snow | #000000black |
| Card foreground | #170309black | #fdfcfcsnow |
| Popover | #fbf8f9snow | #000000black |
| Popover foreground | #170309black | #fdfcfcsnow |
| Primary | #ed7d9fpalevioletred | #ed7d9fpalevioletred |
| Primary foreground | #310714black | #310714black |
| Secondary | #7dedccaquamarine | #7dedccaquamarine |
| Secondary foreground | #073125black | #073125black |
| Muted | #edf7f4whitesmoke | #08120fblack |
| Muted foreground | #414947darkslategray | #b6bebcsilver |
| Accent | #7dedccaquamarine | #7dedccaquamarine |
| Accent foreground | #073125black | #073125black |
| Destructive | #7a0905maroon | #f6251ecrimson |
| Destructive foreground | #fcb8b6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ed7d9fpalevioletred | #ed7d9fpalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.94:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 10.08:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 10.08:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 10.08:1 | AAA |
| Muted text | 10.05:1 | AAA |
| Accent | 10.08:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Reasonable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 356.763);
--foreground: oklch(0.143 0.041 0.461);
--muted: oklch(0.969 0.011 176.318);
--muted-foreground: oklch(0.397 0.012 175.79);
--popover: oklch(0.983 0.004 356.763);
--popover-foreground: oklch(0.143 0.041 0.461);
--card: oklch(0.983 0.004 356.763);
--card-foreground: oklch(0.143 0.041 0.461);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.724 0.142 2.162);
--primary-foreground: oklch(0.214 0.069 7.05);
--secondary: oklch(0.871 0.115 171.77);
--secondary-foreground: oklch(0.282 0.051 168.307);
--accent: oklch(0.871 0.115 171.77);
--accent-foreground: oklch(0.282 0.051 168.307);
--destructive: oklch(0.37 0.145 29.229);
--destructive-foreground: oklch(0.845 0.079 21.113);
--ring: oklch(0.724 0.142 2.162);
--chart-1: oklch(0.724 0.142 2.162);
--chart-2: oklch(0.871 0.115 171.77);
--chart-3: oklch(0.871 0.115 171.77);
--chart-4: oklch(0.882 0.105 172.427);
--chart-5: oklch(0.724 0.147 2.405);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 356.713);
--muted: oklch(0.17 0.016 173.737);
--muted-foreground: oklch(0.795 0.01 176.297);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 356.713);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 356.713);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.724 0.142 2.162);
--primary-foreground: oklch(0.214 0.069 7.05);
--secondary: oklch(0.871 0.115 171.77);
--secondary-foreground: oklch(0.282 0.051 168.307);
--accent: oklch(0.871 0.115 171.77);
--accent-foreground: oklch(0.282 0.051 168.307);
--destructive: oklch(0.622 0.239 28.805);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.724 0.142 2.162);
--chart-1: oklch(0.724 0.142 2.162);
--chart-2: oklch(0.871 0.115 171.77);
--chart-3: oklch(0.871 0.115 171.77);
--chart-4: oklch(0.882 0.105 172.427);
--chart-5: oklch(0.724 0.147 2.405);
}