Indolent is a shadcn/ui theme built around a teal primary color (#2c817c) with red accents (#812c32). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the teal primary (#2c817c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #000000black |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #f3fcfbmintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f3fcfbmintcream | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #2c817cseagreen | #2c817cseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #812c32brown | #812c32brown |
| Secondary foreground | #f7e8e9linen | #f7e8e9linen |
| Muted | #f3f2f2whitesmoke | #0d0c0cblack |
| Muted foreground | #624b4ddimgray | #b49d9fdarkgray |
| Accent | #812c32brown | #812c32brown |
| Accent foreground | #f7e8e9linen | #f7e8e9linen |
| Destructive | #921c0cdarkred | #ec2c13orangered |
| Destructive foreground | #fcd9d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2c817cseagreen | #2c817cseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 4.61:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.61:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.25:1 | AA Large |
Paste this into your globals.css to use Indolent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 192.299);
--foreground: oklch(0.099 0.011 191.398);
--muted: oklch(0.961 0.001 12.457);
--muted-foreground: oklch(0.439 0.031 13.919);
--popover: oklch(0.983 0.009 192.235);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.009 192.235);
--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.552 0.08 188.835);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.421 0.117 19.838);
--secondary-foreground: oklch(0.944 0.016 12.79);
--accent: oklch(0.421 0.117 19.838);
--accent-foreground: oklch(0.944 0.016 12.79);
--destructive: oklch(0.43 0.156 31.029);
--destructive-foreground: oklch(0.913 0.039 26.783);
--ring: oklch(0.552 0.08 188.835);
--chart-1: oklch(0.552 0.08 188.835);
--chart-2: oklch(0.421 0.117 19.838);
--chart-3: oklch(0.421 0.117 19.838);
--chart-4: oklch(0.447 0.125 19.946);
--chart-5: oklch(0.559 0.084 188.673);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 192.4);
--muted: oklch(0.156 0.002 12.718);
--muted-foreground: oklch(0.716 0.027 13.211);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.552 0.08 188.835);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.421 0.117 19.838);
--secondary-foreground: oklch(0.944 0.016 12.79);
--accent: oklch(0.421 0.117 19.838);
--accent-foreground: oklch(0.944 0.016 12.79);
--destructive: oklch(0.609 0.227 30.952);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.552 0.08 188.835);
--chart-1: oklch(0.552 0.08 188.835);
--chart-2: oklch(0.421 0.117 19.838);
--chart-3: oklch(0.421 0.117 19.838);
--chart-4: oklch(0.447 0.125 19.946);
--chart-5: oklch(0.559 0.084 188.673);
}