Soil is a shadcn/ui theme built around a vivid deep pink primary color (#86092c) with vivid deep teal accents (#098663). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#86092c) on a neutral background (#080204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080204black |
| Foreground | #040102black | #fcf8f9snow |
| Card | #ffffffwhite | #080204black |
| Card foreground | #040102black | #fcf8f9snow |
| Popover | #ffffffwhite | #080204black |
| Popover foreground | #040102black | #fcf8f9snow |
| Primary | #86092cdarkred | #86092cdarkred |
| Primary foreground | #fbc5d5pink | #fbc5d5pink |
| Secondary | #098663teal | #098663teal |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dee8e5gainsboro | #17211eblack |
| Muted foreground | #475c56darkslategray | #a3b8b2darkgray |
| Accent | #098663teal | #098663teal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #740701maroon | #fd2217red |
| Destructive foreground | #feada9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #86092cdarkred | #86092cdarkred |
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.71:1 | AA |
| Secondary button | 4.55:1 | AA |
| Muted text | 5.72:1 | AA |
| Accent | 4.55:1 | AA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 4.55:1 | AA |
| Muted text | 7.89:1 | AAA |
| Accent | 4.55:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Soil in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.081 0.019 357.412);
--muted: oklch(0.923 0.011 177.352);
--muted-foreground: oklch(0.456 0.028 175.825);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.081 0.019 357.412);
--card: oklch(1 0 180);
--card-foreground: oklch(0.081 0.019 357.412);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.399 0.154 14.554);
--primary-foreground: oklch(0.877 0.064 359.734);
--secondary: oklch(0.551 0.112 166.04);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.551 0.112 166.04);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.355 0.14 30.075);
--destructive-foreground: oklch(0.825 0.096 22.677);
--ring: oklch(0.399 0.154 14.554);
--chart-1: oklch(0.399 0.154 14.554);
--chart-2: oklch(0.551 0.112 166.04);
--chart-3: oklch(0.551 0.112 166.04);
--chart-4: oklch(0.594 0.122 165.872);
--chart-5: oklch(0.402 0.157 15.205);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.019 357.481);
--foreground: oklch(0.983 0.004 357.825);
--muted: oklch(0.237 0.015 175.673);
--muted-foreground: oklch(0.765 0.025 176.742);
--popover: oklch(0.105 0.019 357.481);
--popover-foreground: oklch(0.983 0.004 357.825);
--card: oklch(0.105 0.019 357.481);
--card-foreground: oklch(0.983 0.004 357.825);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.399 0.154 14.554);
--primary-foreground: oklch(0.877 0.064 359.734);
--secondary: oklch(0.551 0.112 166.04);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.551 0.112 166.04);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.634 0.246 29.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.399 0.154 14.554);
--chart-1: oklch(0.399 0.154 14.554);
--chart-2: oklch(0.551 0.112 166.04);
--chart-3: oklch(0.551 0.112 166.04);
--chart-4: oklch(0.594 0.122 165.872);
--chart-5: oklch(0.402 0.157 15.205);
}