Dividend is a shadcn/ui theme built around a muted teal primary color (#455956) with muted yellow accents (#595645). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#455956) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #010907black | #f9fafaghostwhite |
| Card | #f7fdfcmintcream | #030303black |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #fbfefdwhite | #000000black |
| Popover foreground | #010907black | #f9fafaghostwhite |
| Primary | #455956darkslategray | #455956darkslategray |
| Primary foreground | #e5ebealavender | #e5ebealavender |
| Secondary | #564559darkslategray | #564559darkslategray |
| Secondary foreground | #eae5eblavender | #eae5eblavender |
| Muted | #f3eaf5whitesmoke | #130a15black |
| Muted foreground | #4a444bdarkslategray | #bab4bbsilver |
| Accent | #595645darkolivegreen | #595645darkolivegreen |
| Accent foreground | #ebeae5linen | #ebeae5linen |
| Destructive | #8d190cdarkred | #dd2713crimson |
| Destructive foreground | #fbd4d0bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #455956darkslategray | #455956darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 6.15:1 | AA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.08:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 9.56:1 | AAA |
| Accent | 6.15:1 | AA |
| Destructive | 4.81:1 | AA |
Paste this into your globals.css to use Dividend in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 184.226);
--foreground: oklch(0.127 0.018 184.024);
--muted: oklch(0.948 0.017 320.008);
--muted-foreground: oklch(0.394 0.014 320.024);
--popover: oklch(0.994 0.003 184.226);
--popover-foreground: oklch(0.127 0.018 184.024);
--card: oklch(0.989 0.006 184.139);
--card-foreground: oklch(0.101 0.014 184.024);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.447 0.026 182.673);
--primary-foreground: oklch(0.935 0.007 184.125);
--secondary: oklch(0.415 0.04 320.071);
--secondary-foreground: oklch(0.928 0.01 320.001);
--accent: oklch(0.45 0.027 96.8);
--accent-foreground: oklch(0.936 0.007 96.254);
--destructive: oklch(0.417 0.152 30.509);
--destructive-foreground: oklch(0.902 0.044 25.459);
--ring: oklch(0.447 0.026 182.673);
--chart-1: oklch(0.447 0.026 182.673);
--chart-2: oklch(0.415 0.04 320.071);
--chart-3: oklch(0.45 0.027 96.8);
--chart-4: oklch(0.442 0.043 320.072);
--chart-5: oklch(0.452 0.031 182.312);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.001 184.282);
--muted: oklch(0.162 0.027 320.098);
--muted-foreground: oklch(0.777 0.012 320.005);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.001 184.282);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 184.297);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.447 0.026 182.673);
--primary-foreground: oklch(0.935 0.007 184.125);
--secondary: oklch(0.415 0.04 320.071);
--secondary-foreground: oklch(0.928 0.01 320.001);
--accent: oklch(0.45 0.027 96.8);
--accent-foreground: oklch(0.936 0.007 96.254);
--destructive: oklch(0.578 0.217 30.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.447 0.026 182.673);
--chart-1: oklch(0.447 0.026 182.673);
--chart-2: oklch(0.415 0.04 320.071);
--chart-3: oklch(0.45 0.027 96.8);
--chart-4: oklch(0.442 0.043 320.072);
--chart-5: oklch(0.452 0.031 182.312);
}