Adoption is a shadcn/ui theme built around a vivid light pink primary color (#fbdae9) with muted light pink accents (#e1dbde). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fbdae9) on a neutral background (#080205).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080205black |
| Foreground | #040102black | #fdfcfcsnow |
| Card | #ffffffwhite | #080205black |
| Card foreground | #040102black | #fdfcfcsnow |
| Popover | #ffffffwhite | #080205black |
| Popover foreground | #040102black | #fdfcfcsnow |
| Primary | #fbdae9mistyrose | #fbdae9mistyrose |
| Primary foreground | #94104dbrown | #94104dbrown |
| Secondary | #e1dbdegainsboro | #201d1eblack |
| Secondary foreground | #4c3e44darkslategray | #bbb4b7silver |
| Muted | #f3edefwhitesmoke | #120c0fblack |
| Muted foreground | #4c3942darkslategray | #c6b3bcsilver |
| Accent | #e1dbdegainsboro | #201d1eblack |
| Accent foreground | #4c3e44darkslategray | #bbb4b7silver |
| Destructive | #8a1d05darkred | #f85d3atomato |
| Destructive foreground | #fdcec4pink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbdae9mistyrose | #fbdae9mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.78:1 | AAA |
| Text on card | 20.78:1 | AAA |
| Primary button | 6.68:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 9.19:1 | AAA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 6.68:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 9.72:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.61:1 | AA |
Paste this into your globals.css to use Adoption in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.014 346.663);
--muted: oklch(0.951 0.008 347.121);
--muted-foreground: oklch(0.368 0.03 348.963);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.085 0.014 346.663);
--card: oklch(1 0 180);
--card-foreground: oklch(0.085 0.014 346.663);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.92 0.042 348.088);
--primary-foreground: oklch(0.437 0.167 0.458);
--secondary: oklch(0.896 0.008 347.157);
--secondary-foreground: oklch(0.38 0.022 348.384);
--accent: oklch(0.896 0.008 347.157);
--accent-foreground: oklch(0.38 0.022 348.384);
--destructive: oklch(0.415 0.147 33.263);
--destructive-foreground: oklch(0.89 0.055 32.81);
--ring: oklch(0.92 0.042 348.088);
--chart-1: oklch(0.92 0.042 348.088);
--chart-2: oklch(0.896 0.008 347.157);
--chart-3: oklch(0.896 0.008 347.157);
--chart-4: oklch(0.92 0.006 347.093);
--chart-5: oklch(0.92 0.043 348.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.021 346.623);
--foreground: oklch(0.992 0.001 346.938);
--muted: oklch(0.165 0.012 348.763);
--muted-foreground: oklch(0.786 0.024 347.72);
--popover: oklch(0.106 0.021 346.623);
--popover-foreground: oklch(0.992 0.001 346.938);
--card: oklch(0.106 0.021 346.623);
--card-foreground: oklch(0.992 0.001 346.938);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.92 0.042 348.088);
--primary-foreground: oklch(0.437 0.167 0.458);
--secondary: oklch(0.235 0.005 347.516);
--secondary-foreground: oklch(0.777 0.009 347.228);
--accent: oklch(0.235 0.005 347.516);
--accent-foreground: oklch(0.777 0.009 347.228);
--destructive: oklch(0.677 0.196 34.133);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.92 0.042 348.088);
--chart-1: oklch(0.92 0.042 348.088);
--chart-2: oklch(0.235 0.005 347.516);
--chart-3: oklch(0.235 0.005 347.516);
--chart-4: oklch(0.267 0.007 347.557);
--chart-5: oklch(0.92 0.043 348.132);
}