Dependable is a shadcn/ui theme built around a vivid teal primary color (#0affde) with vivid blue accents (#0aa5ff). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#0affde) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020303black |
| Foreground | #051513black | #f9fbfamintcream |
| Card | #fbfefewhite | #020303black |
| Card foreground | #051513black | #f9fbfamintcream |
| Popover | #fbfefewhite | #020303black |
| Popover foreground | #051513black | #f9fbfamintcream |
| Primary | #0affdeaqua | #0affdeaqua |
| Primary foreground | #003d35darkslategray | #003d35darkslategray |
| Secondary | #0aff64springgreen | #0aff64springgreen |
| Secondary foreground | #003d16darkgreen | #003d16darkgreen |
| Muted | #d6dbd8gainsboro | #242926darkslategray |
| Muted foreground | #49504cdarkslategray | #afb6b2darkgray |
| Accent | #0aa5ffdeepskyblue | #0aa5ffdeepskyblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #7e2302maroon | #e23f03orangered |
| Destructive foreground | #fec7b4peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0affdeaqua | #0affdeaqua |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.42:1 | AAA |
| Text on card | 18.42:1 | AAA |
| Primary button | 9.52:1 | AAA |
| Secondary button | 9.23:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 9.52:1 | AAA |
| Secondary button | 9.23:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Dependable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 187.672);
--foreground: oklch(0.18 0.024 184.497);
--muted: oklch(0.888 0.007 158.539);
--muted-foreground: oklch(0.423 0.01 158.193);
--popover: oklch(0.994 0.003 187.672);
--popover-foreground: oklch(0.18 0.024 184.497);
--card: oklch(0.994 0.003 187.672);
--card-foreground: oklch(0.18 0.024 184.497);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.163 178.876);
--primary-foreground: oklch(0.323 0.058 180.489);
--secondary: oklch(0.872 0.256 147.313);
--secondary-foreground: oklch(0.315 0.088 149.443);
--accent: oklch(0.697 0.171 244.383);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.397 0.131 37.197);
--destructive-foreground: oklch(0.874 0.068 40.909);
--ring: oklch(0.896 0.163 178.876);
--chart-1: oklch(0.896 0.163 178.876);
--chart-2: oklch(0.872 0.256 147.313);
--chart-3: oklch(0.697 0.171 244.383);
--chart-4: oklch(0.874 0.247 148.233);
--chart-5: oklch(0.905 0.165 178.66);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.008 187.372);
--foreground: oklch(0.986 0.002 187.708);
--muted: oklch(0.274 0.01 157.921);
--muted-foreground: oklch(0.769 0.009 158.472);
--popover: oklch(0.097 0.008 187.372);
--popover-foreground: oklch(0.986 0.002 187.708);
--card: oklch(0.097 0.008 187.372);
--card-foreground: oklch(0.986 0.002 187.708);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.896 0.163 178.876);
--primary-foreground: oklch(0.323 0.058 180.489);
--secondary: oklch(0.872 0.256 147.313);
--secondary-foreground: oklch(0.315 0.088 149.443);
--accent: oklch(0.697 0.171 244.383);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.605 0.207 35.738);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.163 178.876);
--chart-1: oklch(0.896 0.163 178.876);
--chart-2: oklch(0.872 0.256 147.313);
--chart-3: oklch(0.697 0.171 244.383);
--chart-4: oklch(0.874 0.247 148.233);
--chart-5: oklch(0.905 0.165 178.66);
}