Scented is a shadcn/ui theme built around a teal primary color (#86c1ac) with cyan accents (#86b8c1). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#86c1ac) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #04150fblack | #fcfdfdwhite |
| Card | #fbfefdwhite | #000000black |
| Card foreground | #04150fblack | #fcfdfdwhite |
| Popover | #fbfefdwhite | #000000black |
| Popover foreground | #04150fblack | #fcfdfdwhite |
| Primary | #86c1acdarkseagreen | #86c1acdarkseagreen |
| Primary foreground | #070d0bblack | #070d0bblack |
| Secondary | #86c18fdarkseagreen | #86c18fdarkseagreen |
| Secondary foreground | #070d08black | #070d08black |
| Muted | #ecefecwhitesmoke | #101311black |
| Muted foreground | #545955dimgray | #a6aba6darkgray |
| Accent | #86b8c1mediumaquamarine | #86b8c1mediumaquamarine |
| Accent foreground | #070c0dblack | #070c0dblack |
| Destructive | #ab4512sienna | #e7601dchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #86c1acdarkseagreen | #86c1acdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.47:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 9.34:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 9.00:1 | AAA |
| Destructive | 5.86:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 9.51:1 | AAA |
| Secondary button | 9.34:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 9.00:1 | AAA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Scented in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 173.476);
--foreground: oklch(0.18 0.028 169.101);
--muted: oklch(0.948 0.004 150.186);
--muted-foreground: oklch(0.459 0.01 149.97);
--popover: oklch(0.994 0.003 173.476);
--popover-foreground: oklch(0.18 0.028 169.101);
--card: oklch(0.994 0.003 173.476);
--card-foreground: oklch(0.18 0.028 169.101);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.763 0.068 170.64);
--primary-foreground: oklch(0.153 0.012 172.094);
--secondary: oklch(0.756 0.094 148.473);
--secondary-foreground: oklch(0.152 0.016 149.341);
--accent: oklch(0.75 0.054 209.604);
--accent-foreground: oklch(0.151 0.01 208.816);
--destructive: oklch(0.52 0.146 42.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.763 0.068 170.64);
--chart-1: oklch(0.763 0.068 170.64);
--chart-2: oklch(0.756 0.094 148.473);
--chart-3: oklch(0.75 0.054 209.604);
--chart-4: oklch(0.776 0.086 148.686);
--chart-5: oklch(0.768 0.074 170.368);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 173.514);
--muted: oklch(0.184 0.007 149.766);
--muted-foreground: oklch(0.735 0.009 150.094);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 173.514);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 173.514);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.763 0.068 170.64);
--primary-foreground: oklch(0.153 0.012 172.094);
--secondary: oklch(0.756 0.094 148.473);
--secondary-foreground: oklch(0.152 0.016 149.341);
--accent: oklch(0.75 0.054 209.604);
--accent-foreground: oklch(0.151 0.01 208.816);
--destructive: oklch(0.653 0.183 42.554);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.763 0.068 170.64);
--chart-1: oklch(0.763 0.068 170.64);
--chart-2: oklch(0.756 0.094 148.473);
--chart-3: oklch(0.75 0.054 209.604);
--chart-4: oklch(0.776 0.086 148.686);
--chart-5: oklch(0.768 0.074 170.368);
}