Applewood is a shadcn/ui theme built around a neutral gray primary color (#d5d2d4) with muted light pink accents (#e2d4db). The light mode uses a neutral background (#fdf6fa). Dark mode keeps the neutral gray primary (#d5d2d4) on a pink-tinted background (#0f050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fasnow | #0f050ablack |
| Foreground | #110309black | #fcf8fasnow |
| Card | #fdf2f7lavenderblush | #13060cblack |
| Card foreground | #0d0207black | #fdfcfcsnow |
| Popover | #fdf6fasnow | #0f050ablack |
| Popover foreground | #110309black | #fcf8fasnow |
| Primary | #d5d2d4lightgrey | #d5d2d4lightgrey |
| Primary foreground | #3c393adarkslategray | #3c393adarkslategray |
| Secondary | #ede8ealinen | #36262ddarkslategray |
| Secondary foreground | #5d4650dimgray | #d0bdc6silver |
| Muted | #efe1e7mistyrose | #1e1016black |
| Muted foreground | #47383fdarkslategray | #c7b8besilver |
| Accent | #e2d4dbgainsboro | #4a2b39darkslategray |
| Accent foreground | #503541darkslategray | #dfc8d3thistle |
| Destructive | #8e1106darkred | #f63d2corangered |
| Destructive foreground | #fdcdc9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5d2d4lightgrey | #d5d2d4lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.04:1 | AAA |
| Muted text | 8.72:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 9.65:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Applewood in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.009 348.054);
--foreground: oklch(0.132 0.034 349.869);
--muted: oklch(0.923 0.016 348.296);
--muted-foreground: oklch(0.36 0.024 349.575);
--popover: oklch(0.981 0.009 348.054);
--popover-foreground: oklch(0.132 0.034 349.869);
--card: oklch(0.971 0.013 348.179);
--card-foreground: oklch(0.119 0.03 347.969);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.867 0.003 347.915);
--primary-foreground: oklch(0.348 0.006 348.245);
--secondary: oklch(0.935 0.007 348.018);
--secondary-foreground: oklch(0.423 0.035 349.955);
--accent: oklch(0.884 0.018 348.359);
--accent-foreground: oklch(0.364 0.042 350.782);
--destructive: oklch(0.414 0.159 30.188);
--destructive-foreground: oklch(0.889 0.054 24.278);
--ring: oklch(0.867 0.003 347.915);
--chart-1: oklch(0.867 0.003 347.915);
--chart-2: oklch(0.935 0.007 348.018);
--chart-3: oklch(0.884 0.018 348.359);
--chart-4: oklch(0.96 0.004 347.937);
--chart-5: oklch(0.866 0.007 348.018);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.024 349.4);
--foreground: oklch(0.983 0.004 347.933);
--muted: oklch(0.195 0.025 351.054);
--muted-foreground: oklch(0.796 0.02 348.479);
--popover: oklch(0.136 0.024 349.4);
--popover-foreground: oklch(0.983 0.004 347.933);
--card: oklch(0.148 0.027 351.228);
--card-foreground: oklch(0.991 0.002 347.872);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.867 0.003 347.915);
--primary-foreground: oklch(0.348 0.006 348.245);
--secondary: oklch(0.29 0.026 350.149);
--secondary-foreground: oklch(0.818 0.024 348.613);
--accent: oklch(0.334 0.049 351.601);
--accent-foreground: oklch(0.856 0.029 348.706);
--destructive: oklch(0.641 0.223 29.714);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.867 0.003 347.915);
--chart-1: oklch(0.867 0.003 347.915);
--chart-2: oklch(0.29 0.026 350.149);
--chart-3: oklch(0.334 0.049 351.601);
--chart-4: oklch(0.319 0.03 350.231);
--chart-5: oklch(0.866 0.007 348.018);
}