Sizzling is a shadcn/ui theme built around an orange primary color (#7e5f3e) with neutral gray accents (#d4d4d4). The light mode uses a neutral background (#fefdfb). Dark mode keeps the orange primary (#7e5f3e) on an orange-tinted background (#0c0804).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #0c0804black |
| Foreground | #040301black | #fcfaf8snow |
| Card | #fdfaf7snow | #100a05black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdfaf7snow | #100a05black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #7e5f3esienna | #7e5f3esienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d4d4d4lightgrey | #1b1713black |
| Secondary foreground | #3b3b3bdarkslategray | #bdb0a3darkgray |
| Muted | #f7ededlinen | #120d08black |
| Muted foreground | #4c3939darkslategray | #c6bdb3silver |
| Accent | #d4d4d4lightgrey | #1b1713black |
| Accent foreground | #3b3b3bdarkslategray | #bdb0a3darkgray |
| Destructive | #c44303chocolate | #fc712ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7e5f3esienna | #7e5f3esienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 5.80:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 9.39:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 5.05:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 5.80:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 10.43:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 7.54:1 | AAA |
Paste this into your globals.css to use Sizzling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 69.623);
--foreground: oklch(0.095 0.013 79.131);
--muted: oklch(0.955 0.011 17.345);
--muted-foreground: oklch(0.365 0.026 18.438);
--popover: oklch(0.987 0.006 69.595);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 69.595);
--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.511 0.063 67.528);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.869 0 165.964);
--secondary-foreground: oklch(0.351 0 167.471);
--accent: oklch(0.869 0 165.964);
--accent-foreground: oklch(0.351 0 167.471);
--destructive: oklch(0.559 0.175 39.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.511 0.063 67.528);
--chart-1: oklch(0.511 0.063 67.528);
--chart-2: oklch(0.869 0 165.964);
--chart-3: oklch(0.869 0 165.964);
--chart-4: oklch(0.892 0 180);
--chart-5: oklch(0.514 0.068 67.224);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 76.553);
--foreground: oklch(0.986 0.003 69.619);
--muted: oklch(0.163 0.013 69.419);
--muted-foreground: oklch(0.803 0.017 69.436);
--popover: oklch(0.151 0.016 73.102);
--popover-foreground: oklch(0.993 0.002 69.635);
--card: oklch(0.151 0.016 73.102);
--card-foreground: oklch(0.993 0.002 69.635);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.511 0.063 67.528);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.208 0.01 69.113);
--secondary-foreground: oklch(0.766 0.025 69.308);
--accent: oklch(0.208 0.01 69.113);
--accent-foreground: oklch(0.766 0.025 69.308);
--destructive: oklch(0.708 0.186 43.597);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.511 0.063 67.528);
--chart-1: oklch(0.511 0.063 67.528);
--chart-2: oklch(0.208 0.01 69.113);
--chart-3: oklch(0.208 0.01 69.113);
--chart-4: oklch(0.242 0.013 69.046);
--chart-5: oklch(0.514 0.068 67.224);
}