Incense is a shadcn/ui theme built around a light blue primary color (#e7ecf3) with muted light blue accents (#cdd0d5). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the light blue primary (#e7ecf3) on a blue-tinted background (#07090d).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f9fdghostwhite | #07090dblack |
| Foreground | #010204black | #f9fafbghostwhite |
| Card | #f6f9fdghostwhite | #07090dblack |
| Card foreground | #010204black | #f9fafbghostwhite |
| Popover | #f6f9fdghostwhite | #07090dblack |
| Popover foreground | #010204black | #f9fafbghostwhite |
| Primary | #e7ecf3lavender | #e7ecf3lavender |
| Primary foreground | #394e6fdarkslategray | #394e6fdarkslategray |
| Secondary | #cdd0d5lightgrey | #1a1e23black |
| Secondary foreground | #33373ddarkslategray | #adb5c2silver |
| Muted | #dcdfe4gainsboro | #1b1e23black |
| Muted foreground | #40444adarkslategray | #b5b9bfsilver |
| Accent | #cdd0d5lightgrey | #1a1e23black |
| Accent foreground | #33373ddarkslategray | #adb5c2silver |
| Destructive | #b34809saddlebrown | #f36716chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7ecf3lavender | #e7ecf3lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use Incense in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 259.941);
--foreground: oklch(0.087 0.009 252.759);
--muted: oklch(0.904 0.007 259.942);
--muted-foreground: oklch(0.384 0.011 259.942);
--popover: oklch(0.982 0.006 259.941);
--popover-foreground: oklch(0.087 0.009 252.759);
--card: oklch(0.982 0.006 259.941);
--card-foreground: oklch(0.087 0.009 252.759);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.011 259.944);
--primary-foreground: oklch(0.421 0.061 259.656);
--secondary: oklch(0.857 0.008 259.943);
--secondary-foreground: oklch(0.335 0.012 259.936);
--accent: oklch(0.857 0.008 259.943);
--accent-foreground: oklch(0.335 0.012 259.936);
--destructive: oklch(0.538 0.154 43.468);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.011 259.944);
--chart-1: oklch(0.941 0.011 259.944);
--chart-2: oklch(0.857 0.008 259.943);
--chart-3: oklch(0.857 0.008 259.943);
--chart-4: oklch(0.881 0.006 259.941);
--chart-5: oklch(0.941 0.012 259.945);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.01 257.257);
--foreground: oklch(0.984 0.002 259.936);
--muted: oklch(0.233 0.011 259.925);
--muted-foreground: oklch(0.785 0.009 259.944);
--popover: oklch(0.141 0.01 257.257);
--popover-foreground: oklch(0.984 0.002 259.936);
--card: oklch(0.141 0.01 257.257);
--card-foreground: oklch(0.984 0.002 259.936);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.011 259.944);
--primary-foreground: oklch(0.421 0.061 259.656);
--secondary: oklch(0.232 0.012 259.913);
--secondary-foreground: oklch(0.771 0.021 259.944);
--accent: oklch(0.232 0.012 259.913);
--accent-foreground: oklch(0.771 0.021 259.944);
--destructive: oklch(0.679 0.19 44.162);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.941 0.011 259.944);
--chart-1: oklch(0.941 0.011 259.944);
--chart-2: oklch(0.232 0.012 259.913);
--chart-3: oklch(0.232 0.012 259.913);
--chart-4: oklch(0.263 0.015 259.907);
--chart-5: oklch(0.941 0.012 259.945);
}