Sense is a shadcn/ui theme built around a vivid light cyan primary color (#93d9f1) with vivid light orange accents (#f1aa93). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid light cyan primary (#93d9f1) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #010304black |
| Foreground | #020708black | #f8fbfbghostwhite |
| Card | #f8fbfcghostwhite | #010304black |
| Card foreground | #020708black | #f8fbfbghostwhite |
| Popover | #f8fbfcghostwhite | #010304black |
| Popover foreground | #020708black | #f8fbfbghostwhite |
| Primary | #93d9f1skyblue | #93d9f1skyblue |
| Primary foreground | #093948darkslategray | #093948darkslategray |
| Secondary | #f1aa93burlywood | #f1aa93burlywood |
| Secondary foreground | #481909maroon | #481909maroon |
| Muted | #ede9e8linen | #171312black |
| Muted foreground | #594e4adarkolivegreen | #b5aaa6darkgray |
| Accent | #f1aa93burlywood | #f1aa93burlywood |
| Accent foreground | #481909maroon | #481909maroon |
| Destructive | #cd1c13firebrick | #e52015crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #93d9f1skyblue | #93d9f1skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 7.70:1 | AAA |
| Destructive | 5.54:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 8.13:1 | AAA |
| Accent | 7.70:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Sense in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 219.534);
--foreground: oklch(0.119 0.013 214.558);
--muted: oklch(0.937 0.005 39.473);
--muted-foreground: oklch(0.433 0.016 39.324);
--popover: oklch(0.986 0.004 219.534);
--popover-foreground: oklch(0.119 0.013 214.558);
--card: oklch(0.986 0.004 219.534);
--card-foreground: oklch(0.119 0.013 214.558);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.848 0.078 220.881);
--primary-foreground: oklch(0.32 0.055 225.516);
--secondary: oklch(0.8 0.09 39.209);
--secondary-foreground: oklch(0.284 0.077 38.285);
--accent: oklch(0.8 0.09 39.209);
--accent-foreground: oklch(0.284 0.077 38.285);
--destructive: oklch(0.543 0.209 29.296);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.078 220.881);
--chart-1: oklch(0.848 0.078 220.881);
--chart-2: oklch(0.8 0.09 39.209);
--chart-3: oklch(0.8 0.09 39.209);
--chart-4: oklch(0.824 0.078 39.219);
--chart-5: oklch(0.85 0.08 220.963);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.008 215.211);
--foreground: oklch(0.986 0.003 219.526);
--muted: oklch(0.191 0.008 39.314);
--muted-foreground: oklch(0.745 0.014 39.399);
--popover: oklch(0.094 0.008 215.211);
--popover-foreground: oklch(0.986 0.003 219.526);
--card: oklch(0.094 0.008 215.211);
--card-foreground: oklch(0.986 0.003 219.526);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.848 0.078 220.881);
--primary-foreground: oklch(0.32 0.055 225.516);
--secondary: oklch(0.8 0.09 39.209);
--secondary-foreground: oklch(0.284 0.077 38.285);
--accent: oklch(0.8 0.09 39.209);
--accent-foreground: oklch(0.284 0.077 38.285);
--destructive: oklch(0.588 0.227 29.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.078 220.881);
--chart-1: oklch(0.848 0.078 220.881);
--chart-2: oklch(0.8 0.09 39.209);
--chart-3: oklch(0.8 0.09 39.209);
--chart-4: oklch(0.824 0.078 39.219);
--chart-5: oklch(0.85 0.08 220.963);
}