Disengagement is a shadcn/ui theme built around a teal primary color (#36d9d6) with yellow accents (#d9d636). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#36d9d6) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #061413black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #061413black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #061413black | #ffffffwhite |
| Primary | #36d9d6turquoise | #36d9d6turquoise |
| Primary foreground | #0b3837darkslategray | #0b3837darkslategray |
| Secondary | #d636d9mediumorchid | #d636d9mediumorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9d2eagainsboro | #2d152dblack |
| Muted foreground | #574c57dimgray | #b3a8b3darkgray |
| Accent | #d9d636goldenrod | #d9d636goldenrod |
| Accent foreground | #38370bdarkolivegreen | #38370bdarkolivegreen |
| Destructive | #9b3103saddlebrown | #e14705orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #36d9d6turquoise | #36d9d6turquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 3.90:1 | AA Large |
| Muted text | 5.77:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 7.42:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 3.90:1 | AA Large |
| Muted text | 7.29:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Disengagement in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.176 0.02 194.166);
--muted: oklch(0.89 0.041 325.414);
--muted-foreground: oklch(0.431 0.023 325.47);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.176 0.02 194.166);
--card: oklch(1 0 180);
--card-foreground: oklch(0.176 0.02 194.166);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.805 0.128 193.195);
--primary-foreground: oklch(0.31 0.047 193.363);
--secondary: oklch(0.637 0.257 327.345);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.852 0.169 108.508);
--accent-foreground: oklch(0.328 0.062 108.423);
--destructive: oklch(0.467 0.149 38.492);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.128 193.195);
--chart-1: oklch(0.805 0.128 193.195);
--chart-2: oklch(0.637 0.257 327.345);
--chart-3: oklch(0.852 0.169 108.508);
--chart-4: oklch(0.652 0.247 327.249);
--chart-5: oklch(0.814 0.131 193.142);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.241 0.055 326.512);
--muted-foreground: oklch(0.744 0.021 325.29);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.805 0.128 193.195);
--primary-foreground: oklch(0.31 0.047 193.363);
--secondary: oklch(0.637 0.257 327.345);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.852 0.169 108.508);
--accent-foreground: oklch(0.328 0.062 108.423);
--destructive: oklch(0.611 0.2 37.617);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.128 193.195);
--chart-1: oklch(0.805 0.128 193.195);
--chart-2: oklch(0.637 0.257 327.345);
--chart-3: oklch(0.852 0.169 108.508);
--chart-4: oklch(0.652 0.247 327.249);
--chart-5: oklch(0.814 0.131 193.142);
}