Storage is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#070303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #070303black |
| Foreground | #090202black | #fbf9f9snow |
| Card | #faf5f5whitesmoke | #0a0505black |
| Card foreground | #040101black | #fdfcfcsnow |
| Popover | #faf5f5whitesmoke | #0a0505black |
| Popover foreground | #040101black | #fdfcfcsnow |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #ffffffwhite | #ffffffwhite |
| Secondary foreground | #333333darkslategray | #333333darkslategray |
| Muted | #ede3e3mistyrose | #1c1212black |
| Muted foreground | #676565dimgray | #9a9898darkgray |
| Accent | #ffffffwhite | #ffffffwhite |
| Accent foreground | #333333darkslategray | #333333darkslategray |
| Destructive | #6d0503maroon | #f40a06red |
| Destructive foreground | #fda7a5lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 4.61:1 | AA |
| Accent | 12.63:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 12.63:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Storage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 17.218);
--foreground: oklch(0.101 0.023 21.939);
--muted: oklch(0.924 0.011 17.347);
--muted-foreground: oklch(0.509 0.003 17.241);
--popover: oklch(0.974 0.005 17.25);
--popover-foreground: oklch(0.08 0.018 21.939);
--card: oklch(0.974 0.005 17.25);
--card-foreground: oklch(0.08 0.018 21.939);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.34 0.135 29.148);
--destructive-foreground: oklch(0.812 0.102 20.598);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.011 19.049);
--foreground: oklch(0.983 0.003 17.204);
--muted: oklch(0.195 0.016 18.632);
--muted-foreground: oklch(0.681 0.002 17.216);
--popover: oklch(0.124 0.013 19.05);
--popover-foreground: oklch(0.991 0.001 17.181);
--card: oklch(0.124 0.013 19.05);
--card-foreground: oklch(0.991 0.001 17.181);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(1 0 180);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.609 0.247 29.197);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(1 0 180);
--chart-3: oklch(1 0 180);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(1 0 180);
}