Sleet is a shadcn/ui theme built around a near-black primary color (#000000) with muted light red accents (#d9c4c4). The light mode uses a neutral background (#fefbfb). Dark mode keeps the near-black primary (#000000) on a red-tinted background (#0f0606).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0f0606black |
| Foreground | #000000black | #fbf9f9snow |
| Card | #fefbfbsnow | #0f0606black |
| Card foreground | #000000black | #fbf9f9snow |
| Popover | #fefbfbsnow | #0f0606black |
| Popover foreground | #000000black | #fbf9f9snow |
| Primary | #000000black | #000000black |
| Primary foreground | #999999darkgray | #999999darkgray |
| Secondary | #e2d9d9gainsboro | #212121black |
| Secondary foreground | #4e3b3bdarkslategray | #bbb9b9silver |
| Muted | #e7e4e4gainsboro | #1b1818black |
| Muted foreground | #625b5bdimgray | #a49d9ddarkgray |
| Accent | #d9c4c4thistle | #3a3131darkslategray |
| Accent foreground | #412a2adarkslategray | #d3cacalightgrey |
| Destructive | #be1b09firebrick | #f64f3ctomato |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000000black | #000000black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Sleet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 17.203);
--foreground: oklch(0 0 0);
--muted: oklch(0.921 0.004 17.228);
--muted-foreground: oklch(0.477 0.01 17.501);
--popover: oklch(0.991 0.003 17.203);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.003 17.203);
--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 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0.893 0.01 17.347);
--secondary-foreground: oklch(0.374 0.027 18.447);
--accent: oklch(0.838 0.023 17.62);
--accent-foreground: oklch(0.313 0.034 19.135);
--destructive: oklch(0.513 0.197 30.452);
--destructive-foreground: oklch(0.99 0.005 25.027);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0.893 0.01 17.347);
--chart-3: oklch(0.838 0.023 17.62);
--chart-4: oklch(0.918 0.008 17.298);
--chart-5: oklch(0 0 0);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.018 19.604);
--foreground: oklch(0.983 0.002 17.191);
--muted: oklch(0.212 0.006 17.609);
--muted-foreground: oklch(0.702 0.009 17.367);
--popover: oklch(0.135 0.018 19.604);
--popover-foreground: oklch(0.983 0.002 17.191);
--card: oklch(0.135 0.018 19.604);
--card-foreground: oklch(0.983 0.002 17.191);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0.248 0.001 17.225);
--secondary-foreground: oklch(0.788 0.002 17.191);
--accent: oklch(0.323 0.014 17.899);
--accent-foreground: oklch(0.847 0.01 17.348);
--destructive: oklch(0.658 0.206 29.884);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0.248 0.001 17.225);
--chart-3: oklch(0.323 0.014 17.899);
--chart-4: oklch(0.279 0.001 17.229);
--chart-5: oklch(0 0 0);
}