Shimmering is a shadcn/ui theme built around a neutral gray primary color (#636363) with neutral gray accents (#636363). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the neutral gray primary (#636363) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #080202black |
| Foreground | #0d0303black | #ffffffwhite |
| Card | #fdf7f7snow | #080202black |
| Card foreground | #0d0303black | #ffffffwhite |
| Popover | #fdf7f7snow | #080202black |
| Popover foreground | #0d0303black | #ffffffwhite |
| Primary | #636363dimgray | #636363dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #636363dimgray | #636363dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1e9e9linen | #160e0eblack |
| Muted foreground | #686464dimgray | #9b9797darkgray |
| Accent | #636363dimgray | #636363dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #da240bfirebrick | #f44a34tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #636363dimgray | #636363dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.20:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 5.96:1 | AA |
| Secondary button | 5.96:1 | AA |
| Muted text | 4.89:1 | AA |
| Accent | 5.96:1 | AA |
| Destructive | 4.95:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 5.96:1 | AA |
| Secondary button | 5.96:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 5.96:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Shimmering in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.265);
--foreground: oklch(0.117 0.025 21.618);
--muted: oklch(0.941 0.009 17.308);
--muted-foreground: oklch(0.507 0.005 17.327);
--popover: oklch(0.981 0.006 17.265);
--popover-foreground: oklch(0.117 0.025 21.618);
--card: oklch(0.981 0.006 17.265);
--card-foreground: oklch(0.117 0.025 21.618);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.501 0 180);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.501 0 180);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.501 0 180);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.57 0.217 30.841);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.501 0 180);
--chart-1: oklch(0.501 0 180);
--chart-2: oklch(0.501 0 180);
--chart-3: oklch(0.501 0 180);
--chart-4: oklch(0.528 0 180);
--chart-5: oklch(0.496 0.008 17.414);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.019 20.998);
--foreground: oklch(1 0 180);
--muted: oklch(0.174 0.014 18.537);
--muted-foreground: oklch(0.68 0.005 17.274);
--popover: oklch(0.103 0.019 20.998);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.103 0.019 20.998);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.501 0 180);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.501 0 180);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.501 0 180);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.21 30.837);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.501 0 180);
--chart-1: oklch(0.501 0 180);
--chart-2: oklch(0.501 0 180);
--chart-3: oklch(0.501 0 180);
--chart-4: oklch(0.528 0 180);
--chart-5: oklch(0.496 0.008 17.414);
}