Deposition is a shadcn/ui theme built around a neutral gray primary color (#5e5e5e) with muted light red accents (#dcc6c6). The light mode uses a neutral background (#fefbfb). Dark mode keeps the neutral gray primary (#5e5e5e) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040101black |
| Foreground | #000000black | #f8f6f6whitesmoke |
| Card | #fefbfbsnow | #040101black |
| Card foreground | #000000black | #f8f6f6whitesmoke |
| Popover | #fefbfbsnow | #040101black |
| Popover foreground | #000000black | #f8f6f6whitesmoke |
| Primary | #5e5e5edimgray | #5e5e5edimgray |
| Primary foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Secondary | #ece4e4linen | #171212black |
| Secondary foreground | #5c4242darkolivegreen | #b6a4a4darkgray |
| Muted | #f4f0f0whitesmoke | #0f0b0bblack |
| Muted foreground | #6f5858dimgray | #a79090rosybrown |
| Accent | #dcc6c6thistle | #2a1d1dblack |
| Accent foreground | #462b2bdarkslategray | #c9b1b1silver |
| Destructive | #6c0b04maroon | #f84235tomato |
| Destructive foreground | #fcaca6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5e5e5edimgray | #5e5e5edimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Deposition in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 17.217);
--foreground: oklch(0 0 0);
--muted: oklch(0.959 0.004 17.234);
--muted-foreground: oklch(0.483 0.032 18.306);
--popover: oklch(0.99 0.004 17.217);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.004 17.217);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.483 0 180);
--primary-foreground: oklch(0.977 0 180);
--secondary: oklch(0.926 0.008 17.301);
--secondary-foreground: oklch(0.408 0.035 18.707);
--accent: oklch(0.845 0.025 17.655);
--accent-foreground: oklch(0.321 0.04 19.517);
--destructive: oklch(0.341 0.13 30.048);
--destructive-foreground: oklch(0.82 0.095 23.861);
--ring: oklch(0.483 0 180);
--chart-1: oklch(0.483 0 180);
--chart-2: oklch(0.926 0.008 17.301);
--chart-3: oklch(0.845 0.025 17.655);
--chart-4: oklch(0.951 0.005 17.25);
--chart-5: oklch(0.478 0.007 17.412);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.013 20.215);
--foreground: oklch(0.976 0.002 17.191);
--muted: oklch(0.154 0.007 17.955);
--muted-foreground: oklch(0.674 0.029 17.888);
--popover: oklch(0.083 0.013 20.215);
--popover-foreground: oklch(0.976 0.002 17.191);
--card: oklch(0.083 0.013 20.215);
--card-foreground: oklch(0.976 0.002 17.191);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.483 0 180);
--primary-foreground: oklch(0.977 0 180);
--secondary: oklch(0.188 0.007 17.829);
--secondary-foreground: oklch(0.736 0.021 17.639);
--accent: oklch(0.248 0.02 18.617);
--accent-foreground: oklch(0.78 0.028 17.759);
--destructive: oklch(0.648 0.22 28.816);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.483 0 180);
--chart-1: oklch(0.483 0 180);
--chart-2: oklch(0.188 0.007 17.829);
--chart-3: oklch(0.248 0.02 18.617);
--chart-4: oklch(0.221 0.01 17.922);
--chart-5: oklch(0.478 0.007 17.412);
}