Mature is a shadcn/ui theme built around a light pink primary color (#e6c7d1) with muted light pink accents (#e3d9dc). The light mode uses a neutral background (#fcf7f9). Dark mode keeps the light pink primary (#e6c7d1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f9snow | #000000black |
| Foreground | #040102black | #fbf9f9snow |
| Card | #fcf7f9snow | #000000black |
| Card foreground | #040102black | #fbf9f9snow |
| Popover | #fcf7f9snow | #000000black |
| Popover foreground | #040102black | #fbf9f9snow |
| Primary | #e6c7d1thistle | #e6c7d1thistle |
| Primary foreground | #542635darkslategray | #542635darkslategray |
| Secondary | #e3d9dcgainsboro | #151414black |
| Secondary foreground | #4f3b41darkslategray | #b0abaddarkgray |
| Muted | #eddee3gainsboro | #211217black |
| Muted foreground | #524247darkslategray | #bdadb2darkgray |
| Accent | #e3d9dcgainsboro | #151414black |
| Accent foreground | #4f3b41darkslategray | #b0abaddarkgray |
| Destructive | #d94608orangered | #e24a08orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6c7d1thistle | #e6c7d1thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 4.35:1 | AA Large |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.41:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Mature in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 354.753);
--foreground: oklch(0.083 0.016 354.217);
--muted: oklch(0.914 0.018 355.151);
--muted-foreground: oklch(0.397 0.024 356.263);
--popover: oklch(0.982 0.006 354.753);
--popover-foreground: oklch(0.083 0.016 354.217);
--card: oklch(0.982 0.006 354.753);
--card-foreground: oklch(0.083 0.016 354.217);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.858 0.037 355.813);
--primary-foreground: oklch(0.338 0.072 0.53);
--secondary: oklch(0.894 0.012 354.965);
--secondary-foreground: oklch(0.376 0.031 356.861);
--accent: oklch(0.894 0.012 354.965);
--accent-foreground: oklch(0.376 0.031 356.861);
--destructive: oklch(0.597 0.192 38.087);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.037 355.813);
--chart-1: oklch(0.858 0.037 355.813);
--chart-2: oklch(0.894 0.012 354.965);
--chart-3: oklch(0.894 0.012 354.965);
--chart-4: oklch(0.919 0.009 354.868);
--chart-5: oklch(0.857 0.04 355.911);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 354.677);
--muted: oklch(0.205 0.027 358.178);
--muted-foreground: oklch(0.763 0.02 355.336);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 354.677);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.003 354.677);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.858 0.037 355.813);
--primary-foreground: oklch(0.338 0.072 0.53);
--secondary: oklch(0.192 0.002 354.906);
--secondary-foreground: oklch(0.746 0.006 354.821);
--accent: oklch(0.192 0.002 354.906);
--accent-foreground: oklch(0.746 0.006 354.821);
--destructive: oklch(0.617 0.199 38.012);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.037 355.813);
--chart-1: oklch(0.858 0.037 355.813);
--chart-2: oklch(0.192 0.002 354.906);
--chart-3: oklch(0.192 0.002 354.906);
--chart-4: oklch(0.225 0.003 354.945);
--chart-5: oklch(0.857 0.04 355.911);
}