Considerate is a shadcn/ui theme built around a blue primary color (#8595e0) with muted light blue accents (#ccced7). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#8595e0) on a blue-tinted background (#040710).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #040710black |
| Foreground | #040716black | #fcfcfdwhite |
| Card | #fbfcfewhite | #040710black |
| Card foreground | #040716black | #fcfcfdwhite |
| Popover | #fbfcfewhite | #040710black |
| Popover foreground | #040716black | #fcfcfdwhite |
| Primary | #8595e0cornflowerblue | #8595e0cornflowerblue |
| Primary foreground | #0a1029black | #0a1029black |
| Secondary | #ccced7lightgrey | #131316black |
| Secondary foreground | #31343fdarkslategray | #a7a9b4darkgray |
| Muted | #e3e4e8gainsboro | #17181cblack |
| Muted foreground | #464a5ddarkslategray | #a2a6b9darkgray |
| Accent | #ccced7lightgrey | #131316black |
| Accent foreground | #31343fdarkslategray | #a7a9b4darkgray |
| Destructive | #732407maroon | #f26836tomato |
| Destructive foreground | #fac5b2lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8595e0cornflowerblue | #8595e0cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.81:1 | AA |
Paste this into your globals.css to use Considerate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 276.13);
--foreground: oklch(0.135 0.033 268.538);
--muted: oklch(0.92 0.005 276.101);
--muted-foreground: oklch(0.414 0.032 275.035);
--popover: oklch(0.99 0.003 276.13);
--popover-foreground: oklch(0.135 0.033 268.538);
--card: oklch(0.99 0.003 276.13);
--card-foreground: oklch(0.135 0.033 268.538);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.689 0.112 273.473);
--primary-foreground: oklch(0.183 0.051 271.029);
--secondary: oklch(0.851 0.013 275.969);
--secondary-foreground: oklch(0.326 0.02 275.293);
--accent: oklch(0.851 0.013 275.969);
--accent-foreground: oklch(0.326 0.02 275.293);
--destructive: oklch(0.379 0.117 37.918);
--destructive-foreground: oklch(0.867 0.066 40.915);
--ring: oklch(0.689 0.112 273.473);
--chart-1: oklch(0.689 0.112 273.473);
--chart-2: oklch(0.851 0.013 275.969);
--chart-3: oklch(0.851 0.013 275.969);
--chart-4: oklch(0.877 0.01 276.009);
--chart-5: oklch(0.685 0.118 273.294);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.023 270.121);
--foreground: oklch(0.992 0.001 276.154);
--muted: oklch(0.211 0.007 275.733);
--muted-foreground: oklch(0.728 0.027 275.646);
--popover: oklch(0.129 0.023 270.121);
--popover-foreground: oklch(0.992 0.001 276.154);
--card: oklch(0.129 0.023 270.121);
--card-foreground: oklch(0.992 0.001 276.154);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.689 0.112 273.473);
--primary-foreground: oklch(0.183 0.051 271.029);
--secondary: oklch(0.189 0.005 275.772);
--secondary-foreground: oklch(0.737 0.016 275.883);
--accent: oklch(0.189 0.005 275.772);
--accent-foreground: oklch(0.737 0.016 275.883);
--destructive: oklch(0.681 0.182 39.363);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.689 0.112 273.473);
--chart-1: oklch(0.689 0.112 273.473);
--chart-2: oklch(0.189 0.005 275.772);
--chart-3: oklch(0.189 0.005 275.772);
--chart-4: oklch(0.221 0.007 275.717);
--chart-5: oklch(0.685 0.118 273.294);
}