Reasoning is a shadcn/ui theme built around a vivid pink primary color (#ef255b) with muted light pink accents (#d6c7cb). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid pink primary (#ef255b) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070304black |
| Foreground | #000000black | #fbf9fasnow |
| Card | #fefbfcsnow | #070304black |
| Card foreground | #000000black | #fbf9fasnow |
| Popover | #fefbfcsnow | #070304black |
| Popover foreground | #000000black | #fbf9fasnow |
| Primary | #ef255bcrimson | #ef255bcrimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6c7cblightgrey | #1d1618black |
| Secondary foreground | #3e2e32darkslategray | #bea7addarkgray |
| Muted | #efe7e9linen | #181012black |
| Muted foreground | #5d4c50dimgray | #b3a2a7darkgray |
| Accent | #d6c7cblightgrey | #1d1618black |
| Accent foreground | #3e2e32darkslategray | #bea7addarkgray |
| Destructive | #621804maroon | #f5410forangered |
| Destructive foreground | #fbb19dlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ef255bcrimson | #ef255bcrimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 4.14:1 | AA Large |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.58:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 4.14:1 | AA Large |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Reasoning in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 358.866);
--foreground: oklch(0 0 0);
--muted: oklch(0.934 0.009 359.066);
--muted-foreground: oklch(0.434 0.024 0.289);
--popover: oklch(0.991 0.003 358.866);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 358.866);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.617 0.23 13.73);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.844 0.017 359.354);
--secondary-foreground: oklch(0.319 0.025 0.894);
--accent: oklch(0.844 0.017 359.354);
--accent-foreground: oklch(0.319 0.025 0.894);
--destructive: oklch(0.332 0.109 35.494);
--destructive-foreground: oklch(0.826 0.091 36.087);
--ring: oklch(0.617 0.23 13.73);
--chart-1: oklch(0.617 0.23 13.73);
--chart-2: oklch(0.844 0.017 359.354);
--chart-3: oklch(0.844 0.017 359.354);
--chart-4: oklch(0.869 0.014 359.247);
--chart-5: oklch(0.622 0.234 14.368);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.01 358.703);
--foreground: oklch(0.984 0.002 358.837);
--muted: oklch(0.186 0.014 0.888);
--muted-foreground: oklch(0.729 0.021 359.574);
--popover: oklch(0.11 0.01 358.703);
--popover-foreground: oklch(0.984 0.002 358.837);
--card: oklch(0.11 0.01 358.703);
--card-foreground: oklch(0.984 0.002 358.837);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.617 0.23 13.73);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.209 0.013 0.49);
--secondary-foreground: oklch(0.75 0.028 359.822);
--accent: oklch(0.209 0.013 0.49);
--accent-foreground: oklch(0.75 0.028 359.822);
--destructive: oklch(0.64 0.222 34.274);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.617 0.23 13.73);
--chart-1: oklch(0.617 0.23 13.73);
--chart-2: oklch(0.209 0.013 0.49);
--chart-3: oklch(0.209 0.013 0.49);
--chart-4: oklch(0.24 0.016 0.647);
--chart-5: oklch(0.622 0.234 14.368);
}