Smoke is a shadcn/ui theme built around a neutral gray primary color (#74797b) with neutral gray accents (#797b74). The light mode uses a neutral background (#f6fbfd). Dark mode keeps the neutral gray primary (#74797b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fbfdghostwhite | #000000black |
| Foreground | #020608black | #ffffffwhite |
| Card | #f6fbfdghostwhite | #000000black |
| Card foreground | #020608black | #ffffffwhite |
| Popover | #f6fbfdghostwhite | #000000black |
| Popover foreground | #020608black | #ffffffwhite |
| Primary | #74797bgray | #74797bgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7b7479gray | #7b7479gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8dee5gainsboro | #21171eblack |
| Muted foreground | #644a5bdimgray | #b59baddarkgray |
| Accent | #797b74gray | #797b74gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #621804maroon | #f6582ctomato |
| Destructive foreground | #fbb19dlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #74797bgray | #74797bgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 4.53:1 | AA |
| Muted text | 5.97:1 | AA |
| Accent | 4.26:1 | AA Large |
| Destructive | 7.17:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 4.53:1 | AA |
| Muted text | 6.85:1 | AA |
| Accent | 4.26:1 | AA Large |
| Destructive | 6.36:1 | AA |
Paste this into your globals.css to use Smoke in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.006 228.827);
--foreground: oklch(0.117 0.014 221.91);
--muted: oklch(0.91 0.015 337.593);
--muted-foreground: oklch(0.442 0.044 339.157);
--popover: oklch(0.985 0.006 228.827);
--popover-foreground: oklch(0.117 0.014 221.91);
--card: oklch(0.985 0.006 228.827);
--card-foreground: oklch(0.117 0.014 221.91);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.573 0.007 228.91);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.568 0.011 337.664);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.58 0.011 121.803);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.332 0.109 35.494);
--destructive-foreground: oklch(0.826 0.091 36.087);
--ring: oklch(0.573 0.007 228.91);
--chart-1: oklch(0.573 0.007 228.91);
--chart-2: oklch(0.568 0.011 337.664);
--chart-3: oklch(0.58 0.011 121.803);
--chart-4: oklch(0.594 0.012 337.666);
--chart-5: oklch(0.574 0.014 229.08);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.22 0.021 339.122);
--muted-foreground: oklch(0.719 0.039 338.318);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.573 0.007 228.91);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.568 0.011 337.664);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.58 0.011 121.803);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.667 0.202 35.778);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.573 0.007 228.91);
--chart-1: oklch(0.573 0.007 228.91);
--chart-2: oklch(0.568 0.011 337.664);
--chart-3: oklch(0.58 0.011 121.803);
--chart-4: oklch(0.594 0.012 337.666);
--chart-5: oklch(0.574 0.014 229.08);
}