Scented is a shadcn/ui theme built around a light teal primary color (#f0faf6) with light cyan accents (#f0f9fa). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#f0faf6) on a teal-tinted background (#060f0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060f0bblack |
| Foreground | #010403black | #f8fcfamintcream |
| Card | #fcfcfcsnow | #07130eblack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fcfcfcsnow | #07130eblack |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #f0faf6whitesmoke | #f0faf6whitesmoke |
| Primary foreground | #143e2cdarkslategray | #143e2cdarkslategray |
| Secondary | #f0faf0honeydew | #f0faf0honeydew |
| Secondary foreground | #143e17darkgreen | #143e17darkgreen |
| Muted | #e4e7e4gainsboro | #181b18black |
| Muted foreground | #5c665ddimgray | #99a39adarkgray |
| Accent | #f0f9faaliceblue | #f0f9faaliceblue |
| Accent foreground | #143a3edarkslategray | #143a3edarkslategray |
| Destructive | #682508maroon | #ef733etomato |
| Destructive foreground | #f8c1aalightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0faf6whitesmoke | #f0faf6whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 11.21:1 | AAA |
| Secondary button | 11.33:1 | AAA |
| Muted text | 4.80:1 | AA |
| Accent | 11.52:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 11.21:1 | AAA |
| Secondary button | 11.33:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 11.52:1 | AAA |
| Destructive | 7.19:1 | AAA |
Paste this into your globals.css to use Scented in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.015 169.981);
--muted: oklch(0.925 0.006 147.998);
--muted-foreground: oklch(0.498 0.018 147.67);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.976 0.012 169.309);
--primary-foreground: oklch(0.327 0.056 162.927);
--secondary: oklch(0.975 0.017 147.883);
--secondary-foreground: oklch(0.323 0.079 144.912);
--accent: oklch(0.976 0.01 203.487);
--accent-foreground: oklch(0.323 0.043 203.471);
--destructive: oklch(0.36 0.103 40.544);
--destructive-foreground: oklch(0.855 0.071 44.325);
--ring: oklch(0.976 0.012 169.309);
--chart-1: oklch(0.976 0.012 169.309);
--chart-2: oklch(0.975 0.017 147.883);
--chart-3: oklch(0.976 0.01 203.487);
--chart-4: oklch(0.994 0.004 148.02);
--chart-5: oklch(0.977 0.013 169.288);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.017 167.727);
--foreground: oklch(0.987 0.004 169.552);
--muted: oklch(0.218 0.008 147.657);
--muted-foreground: oklch(0.705 0.017 147.811);
--popover: oklch(0.172 0.02 166.286);
--popover-foreground: oklch(0.993 0.002 169.612);
--card: oklch(0.172 0.02 166.286);
--card-foreground: oklch(0.993 0.002 169.612);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.976 0.012 169.309);
--primary-foreground: oklch(0.327 0.056 162.927);
--secondary: oklch(0.975 0.017 147.883);
--secondary-foreground: oklch(0.323 0.079 144.912);
--accent: oklch(0.976 0.01 203.487);
--accent-foreground: oklch(0.323 0.043 203.471);
--destructive: oklch(0.693 0.168 42.288);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.976 0.012 169.309);
--chart-1: oklch(0.976 0.012 169.309);
--chart-2: oklch(0.975 0.017 147.883);
--chart-3: oklch(0.976 0.01 203.487);
--chart-4: oklch(0.994 0.004 148.02);
--chart-5: oklch(0.977 0.013 169.288);
}