Sizzling is a shadcn/ui theme built around a vivid light violet primary color (#d9b6fc) with vivid light purple accents (#fcb6fc). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light violet primary (#d9b6fc) on a violet-tinted background (#08040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #08040bblack |
| Foreground | #08020eblack | #faf8fcghostwhite |
| Card | #faf7fdghostwhite | #0a060fblack |
| Card foreground | #050109black | #fcfbfdsnow |
| Popover | #fcfbfewhite | #08040bblack |
| Popover foreground | #08020eblack | #faf8fcghostwhite |
| Primary | #d9b6fcthistle | #d9b6fcthistle |
| Primary foreground | #40057aindigo | #40057aindigo |
| Secondary | #b6b6fclightsteelblue | #b6b6fclightsteelblue |
| Secondary foreground | #05057anavy | #05057anavy |
| Muted | #d2d2eagainsboro | #15152dblack |
| Muted foreground | #5a5a6cdimgray | #9393a5darkgray |
| Accent | #fcb6fcplum | #fcb6fcplum |
| Accent foreground | #7a057apurple | #7a057apurple |
| Destructive | #a21e01firebrick | #fe380borangered |
| Destructive foreground | #ffded6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d9b6fcthistle | #d9b6fcthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 8.43:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 6.19:1 | AA |
| Destructive | 6.09:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 8.43:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 6.19:1 | AA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Sizzling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 308.414);
--foreground: oklch(0.109 0.038 310.232);
--muted: oklch(0.87 0.034 285.679);
--muted-foreground: oklch(0.476 0.029 285.261);
--popover: oklch(0.99 0.004 308.414);
--popover-foreground: oklch(0.109 0.038 310.232);
--card: oklch(0.98 0.008 308.367);
--card-foreground: oklch(0.095 0.033 310.939);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.829 0.103 307.064);
--primary-foreground: oklch(0.319 0.167 297.176);
--secondary: oklch(0.8 0.099 283.937);
--secondary-foreground: oklch(0.269 0.177 265.773);
--accent: oklch(0.862 0.121 326.565);
--accent-foreground: oklch(0.41 0.185 328.319);
--destructive: oklch(0.463 0.171 32.857);
--destructive-foreground: oklch(0.925 0.038 32.727);
--ring: oklch(0.829 0.103 307.064);
--chart-1: oklch(0.829 0.103 307.064);
--chart-2: oklch(0.8 0.099 283.937);
--chart-3: oklch(0.862 0.121 326.565);
--chart-4: oklch(0.84 0.078 284.59);
--chart-5: oklch(0.828 0.107 307.014);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.02 309.561);
--foreground: oklch(0.982 0.006 308.397);
--muted: oklch(0.21 0.048 281.475);
--muted-foreground: oklch(0.668 0.026 285.668);
--popover: oklch(0.121 0.02 309.561);
--popover-foreground: oklch(0.982 0.006 308.397);
--card: oklch(0.133 0.022 308.22);
--card-foreground: oklch(0.991 0.003 308.429);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.829 0.103 307.064);
--primary-foreground: oklch(0.319 0.167 297.176);
--secondary: oklch(0.8 0.099 283.937);
--secondary-foreground: oklch(0.269 0.177 265.773);
--accent: oklch(0.862 0.121 326.565);
--accent-foreground: oklch(0.41 0.185 328.319);
--destructive: oklch(0.648 0.236 32.68);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.103 307.064);
--chart-1: oklch(0.829 0.103 307.064);
--chart-2: oklch(0.8 0.099 283.937);
--chart-3: oklch(0.862 0.121 326.565);
--chart-4: oklch(0.84 0.078 284.59);
--chart-5: oklch(0.828 0.107 307.014);
}