Dependable is a shadcn/ui theme built around a muted purple primary color (#bc85b9) with muted teal accents (#85b9bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#bc85b9) on a neutral background (#080307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080307black |
| Foreground | #150514black | #f9f6f9whitesmoke |
| Card | #ffffffwhite | #080307black |
| Card foreground | #150514black | #f9f6f9whitesmoke |
| Popover | #ffffffwhite | #080307black |
| Popover foreground | #150514black | #f9f6f9whitesmoke |
| Primary | #bc85b9rosybrown | #bc85b9rosybrown |
| Primary foreground | #0a050ablack | #0a050ablack |
| Secondary | #b9bc85darkkhaki | #b9bc85darkkhaki |
| Secondary foreground | #0a0a05black | #0a0a05black |
| Muted | #e5e6d0gainsboro | #2e2f19darkslategray |
| Muted foreground | #6d6e5edimgray | #a0a191darkgray |
| Accent | #85b9bcmediumaquamarine | #85b9bcmediumaquamarine |
| Accent foreground | #050a0ablack | #050a0ablack |
| Destructive | #ca4312chocolate | #ee6a3atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bc85b9rosybrown | #bc85b9rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.94:1 | AA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 4.10:1 | AA Large |
| Accent | 9.19:1 | AAA |
| Destructive | 4.87:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 6.94:1 | AA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 5.22:1 | AA |
| Accent | 9.19:1 | AAA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Dependable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.042 329.192);
--muted: oklch(0.919 0.029 109.294);
--muted-foreground: oklch(0.533 0.025 109.551);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.042 329.192);
--card: oklch(1 0 180);
--card-foreground: oklch(0.151 0.042 329.192);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.689 0.097 328.254);
--primary-foreground: oklch(0.128 0.014 327.773);
--secondary: oklch(0.78 0.073 110.385);
--secondary-foreground: oklch(0.142 0.011 109.749);
--accent: oklch(0.751 0.055 200.161);
--accent-foreground: oklch(0.138 0.008 199.656);
--destructive: oklch(0.569 0.18 37.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.689 0.097 328.254);
--chart-1: oklch(0.689 0.097 328.254);
--chart-2: oklch(0.78 0.073 110.385);
--chart-3: oklch(0.751 0.055 200.161);
--chart-4: oklch(0.798 0.067 110.22);
--chart-5: oklch(0.688 0.107 328.37);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.022 328.279);
--foreground: oklch(0.976 0.005 327.081);
--muted: oklch(0.297 0.037 110.903);
--muted-foreground: oklch(0.704 0.023 109.311);
--popover: oklch(0.109 0.022 328.279);
--popover-foreground: oklch(0.976 0.005 327.081);
--card: oklch(0.109 0.022 328.279);
--card-foreground: oklch(0.976 0.005 327.081);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.689 0.097 328.254);
--primary-foreground: oklch(0.128 0.014 327.773);
--secondary: oklch(0.78 0.073 110.385);
--secondary-foreground: oklch(0.142 0.011 109.749);
--accent: oklch(0.751 0.055 200.161);
--accent-foreground: oklch(0.138 0.008 199.656);
--destructive: oklch(0.678 0.175 39.59);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.689 0.097 328.254);
--chart-1: oklch(0.689 0.097 328.254);
--chart-2: oklch(0.78 0.073 110.385);
--chart-3: oklch(0.751 0.055 200.161);
--chart-4: oklch(0.798 0.067 110.22);
--chart-5: oklch(0.688 0.107 328.37);
}