Storage is a shadcn/ui theme built around a vivid green primary color (#47f83a) with vivid green accents (#3af88c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#47f83a) on a neutral background (#020802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020802black |
| Foreground | #030d03black | #f5faf5whitesmoke |
| Card | #fcfcfcsnow | #040c03black |
| Card foreground | #020902black | #f8fcf8mintcream |
| Popover | #fcfcfcsnow | #040c03black |
| Popover foreground | #020902black | #f8fcf8mintcream |
| Primary | #47f83alimegreen | #47f83alimegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #a6f83agreenyellow | #a6f83agreenyellow |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2ebd6gainsboro | #202914black |
| Muted foreground | #626959dimgray | #9fa696darkgray |
| Accent | #3af88cmediumspringgreen | #3af88cmediumspringgreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #d64705orangered | #f95d15orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #47f83alimegreen | #47f83alimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 14.73:1 | AAA |
| Secondary button | 16.08:1 | AAA |
| Muted text | 4.63:1 | AA |
| Accent | 14.97:1 | AAA |
| Destructive | 4.40:1 | AA Large |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 14.73:1 | AAA |
| Secondary button | 16.08:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 14.97:1 | AAA |
| Destructive | 6.61:1 | AA |
Paste this into your globals.css to use Storage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.032 141.614);
--muted: oklch(0.927 0.029 126.166);
--muted-foreground: oklch(0.509 0.025 126.415);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.124 0.028 141.586);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.124 0.028 141.586);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.857 0.264 142.126);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.893 0.224 130.898);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.864 0.208 152.689);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.594 0.189 38.836);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.857 0.264 142.126);
--chart-1: oklch(0.857 0.264 142.126);
--chart-2: oklch(0.893 0.224 130.898);
--chart-3: oklch(0.864 0.208 152.689);
--chart-4: oklch(0.899 0.214 130.302);
--chart-5: oklch(0.864 0.269 142.126);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.025 141.806);
--foreground: oklch(0.98 0.009 143.588);
--muted: oklch(0.266 0.038 127.896);
--muted-foreground: oklch(0.715 0.023 126.179);
--popover: oklch(0.141 0.029 141.826);
--popover-foreground: oklch(0.987 0.006 143.604);
--card: oklch(0.141 0.029 141.826);
--card-foreground: oklch(0.987 0.006 143.604);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.857 0.264 142.126);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.893 0.224 130.898);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.864 0.208 152.689);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.676 0.204 40.271);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.857 0.264 142.126);
--chart-1: oklch(0.857 0.264 142.126);
--chart-2: oklch(0.893 0.224 130.898);
--chart-3: oklch(0.864 0.208 152.689);
--chart-4: oklch(0.899 0.214 130.302);
--chart-5: oklch(0.864 0.269 142.126);
}