Aloe Plant is a shadcn/ui theme built around a muted green primary color (#b7bc8a) with muted green accents (#9ebc8a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#b7bc8a) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030401black |
| Foreground | #040401black | #fafaf5whitesmoke |
| Card | #ffffffwhite | #030401black |
| Card foreground | #040401black | #fafaf5whitesmoke |
| Popover | #ffffffwhite | #030401black |
| Popover foreground | #040401black | #fafaf5whitesmoke |
| Primary | #b7bc8atan | #b7bc8atan |
| Primary foreground | #0c0d07black | #0c0d07black |
| Secondary | #bca88atan | #bca88atan |
| Secondary foreground | #0d0b07black | #0d0b07black |
| Muted | #efedeclinen | #131210black |
| Muted foreground | #64594adimgray | #b5ab9bdarkgray |
| Accent | #9ebc8adarkseagreen | #9ebc8adarkseagreen |
| Accent foreground | #0a0d07black | #0a0d07black |
| Destructive | #cf4a0cchocolate | #f25d18chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e8e8e3gainsboro | #1f1f19black |
| Input | #e8e8e3gainsboro | #1f1f19black |
| Ring | #b7bc8atan | #b7bc8atan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 9.82:1 | AAA |
| Secondary button | 8.53:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 9.33:1 | AAA |
| Destructive | 4.52:1 | AA |
| Text on background | 19.64:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 9.82:1 | AAA |
| Secondary button | 8.53:1 | AAA |
| Muted text | 8.24:1 | AAA |
| Accent | 9.33:1 | AAA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use Aloe Plant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.015 112.436);
--muted: oklch(0.948 0.003 78.304);
--muted-foreground: oklch(0.471 0.028 77.952);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.015 112.436);
--card: oklch(1 0 180);
--card-foreground: oklch(0.104 0.015 112.436);
--border: oklch(0.93 0.008 111.165);
--input: oklch(0.93 0.008 111.165);
--primary: oklch(0.779 0.067 112.602);
--primary-foreground: oklch(0.156 0.012 112.213);
--secondary: oklch(0.741 0.047 77.903);
--secondary-foreground: oklch(0.15 0.008 79.571);
--accent: oklch(0.76 0.076 133.171);
--accent-foreground: oklch(0.153 0.013 132.243);
--destructive: oklch(0.586 0.18 39.796);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.779 0.067 112.602);
--chart-1: oklch(0.779 0.067 112.602);
--chart-2: oklch(0.741 0.047 77.903);
--chart-3: oklch(0.76 0.076 133.171);
--chart-4: oklch(0.764 0.043 77.979);
--chart-5: oklch(0.786 0.074 112.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.012 112.147);
--foreground: oklch(0.984 0.007 111.156);
--muted: oklch(0.183 0.004 78.231);
--muted-foreground: oklch(0.745 0.025 78.162);
--popover: oklch(0.101 0.012 112.147);
--popover-foreground: oklch(0.984 0.007 111.156);
--card: oklch(0.101 0.012 112.147);
--card-foreground: oklch(0.984 0.007 111.156);
--border: oklch(0.237 0.011 111.911);
--input: oklch(0.237 0.011 111.911);
--primary: oklch(0.779 0.067 112.602);
--primary-foreground: oklch(0.156 0.012 112.213);
--secondary: oklch(0.741 0.047 77.903);
--secondary-foreground: oklch(0.15 0.008 79.571);
--accent: oklch(0.76 0.076 133.171);
--accent-foreground: oklch(0.153 0.013 132.243);
--destructive: oklch(0.664 0.197 40.635);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.779 0.067 112.602);
--chart-1: oklch(0.779 0.067 112.602);
--chart-2: oklch(0.741 0.047 77.903);
--chart-3: oklch(0.76 0.076 133.171);
--chart-4: oklch(0.764 0.043 77.979);
--chart-5: oklch(0.786 0.074 112.749);
}