Careless is a shadcn/ui theme built around a muted pink primary color (#6c515a) with muted red accents (#6c5551). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the muted pink primary (#6c515a) on a pink-tinted background (#0f0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #0f0509black |
| Foreground | #0f0509black | #fdfbfcsnow |
| Card | #fcf2f6lavenderblush | #13070bblack |
| Card foreground | #0c0406black | #ffffffwhite |
| Popover | #fcf2f6lavenderblush | #13070bblack |
| Popover foreground | #0c0406black | #ffffffwhite |
| Primary | #6c515adimgray | #6c515adimgray |
| Primary foreground | #f8f6f7whitesmoke | #f8f6f7whitesmoke |
| Secondary | #6c5168dimgray | #6c5168dimgray |
| Secondary foreground | #f8f6f8whitesmoke | #f8f6f8whitesmoke |
| Muted | #e0d2degainsboro | #2d1f2bdarkslategray |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #6c5551dimgray | #6c5551dimgray |
| Accent foreground | #f8f7f6whitesmoke | #f8f7f6whitesmoke |
| Destructive | #d42b11firebrick | #ee452btomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6c515adimgray | #6c515adimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.93:1 | AAA |
| Text on card | 18.56:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 6.48:1 | AA |
| Muted text | 6.58:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 5.04:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 6.48:1 | AA |
| Muted text | 8.03:1 | AAA |
| Accent | 6.42:1 | AA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Careless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 353.799);
--foreground: oklch(0.135 0.023 354.899);
--muted: oklch(0.878 0.022 330.564);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(0.971 0.012 353.916);
--popover-foreground: oklch(0.122 0.02 353.419);
--card: oklch(0.971 0.012 353.916);
--card-foreground: oklch(0.122 0.02 353.419);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.466 0.038 355.801);
--primary-foreground: oklch(0.976 0.002 353.647);
--secondary: oklch(0.471 0.049 331.516);
--secondary-foreground: oklch(0.976 0.003 330.29);
--accent: oklch(0.472 0.031 29.841);
--accent-foreground: oklch(0.976 0.002 29.475);
--destructive: oklch(0.565 0.207 31.478);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.466 0.038 355.801);
--chart-1: oklch(0.466 0.038 355.801);
--chart-2: oklch(0.471 0.049 331.516);
--chart-3: oklch(0.472 0.031 29.841);
--chart-4: oklch(0.497 0.052 331.528);
--chart-5: oklch(0.463 0.046 356.292);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.022 354.855);
--foreground: oklch(0.991 0.002 353.642);
--muted: oklch(0.262 0.029 331.615);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0.148 0.025 356.8);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.025 356.8);
--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.466 0.038 355.801);
--primary-foreground: oklch(0.976 0.002 353.647);
--secondary: oklch(0.471 0.049 331.516);
--secondary-foreground: oklch(0.976 0.003 330.29);
--accent: oklch(0.472 0.031 29.841);
--accent-foreground: oklch(0.976 0.002 29.475);
--destructive: oklch(0.633 0.21 31.647);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.466 0.038 355.801);
--chart-1: oklch(0.466 0.038 355.801);
--chart-2: oklch(0.471 0.049 331.516);
--chart-3: oklch(0.472 0.031 29.841);
--chart-4: oklch(0.497 0.052 331.528);
--chart-5: oklch(0.463 0.046 356.292);
}