Dependent is a shadcn/ui theme built around a light cyan primary color (#e1f5fa) with light blue accents (#e1e9fa). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#e1f5fa) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #020303black |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #f7fcfdghostwhite | #030607black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #020303black |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #e1f5falightcyan | #e1f5falightcyan |
| Primary foreground | #0a3138darkslategray | #0a3138darkslategray |
| Secondary | #e1faf1lightcyan | #e1faf1lightcyan |
| Secondary foreground | #0a3829darkslategray | #0a3829darkslategray |
| Muted | #e0f1eblavender | #0e1f1ablack |
| Muted foreground | #404f4adarkslategray | #b0bfbasilver |
| Accent | #e1e9falavender | #e1e9falavender |
| Accent foreground | #19418fdarkslateblue | #19418fdarkslateblue |
| Destructive | #dc2c04orangered | #fa461eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1f5falightcyan | #e1f5falightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 12.37:1 | AAA |
| Secondary button | 11.85:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 4.77:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 12.37:1 | AAA |
| Secondary button | 11.85:1 | AAA |
| Muted text | 8.91:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Dependent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 211.042);
--foreground: oklch(0.097 0.011 207.095);
--muted: oklch(0.943 0.019 173.974);
--muted-foreground: oklch(0.412 0.02 173.11);
--popover: oklch(0.994 0.003 211.042);
--popover-foreground: oklch(0.097 0.011 207.095);
--card: oklch(0.987 0.005 211.04);
--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.958 0.023 211.048);
--primary-foreground: oklch(0.289 0.044 213.877);
--secondary: oklch(0.964 0.028 173.705);
--secondary-foreground: oklch(0.307 0.057 166.155);
--accent: oklch(0.933 0.024 264.45);
--accent-foreground: oklch(0.396 0.138 262.165);
--destructive: oklch(0.579 0.214 32.49);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.958 0.023 211.048);
--chart-1: oklch(0.958 0.023 211.048);
--chart-2: oklch(0.964 0.028 173.705);
--chart-3: oklch(0.933 0.024 264.45);
--chart-4: oklch(0.979 0.016 174.097);
--chart-5: oklch(0.958 0.024 211.049);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 208.636);
--foreground: oklch(0.993 0.001 211.044);
--muted: oklch(0.224 0.026 170.573);
--muted-foreground: oklch(0.791 0.017 173.945);
--popover: oklch(0.095 0.006 208.636);
--popover-foreground: oklch(0.993 0.001 211.044);
--card: oklch(0.119 0.008 208.636);
--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.958 0.023 211.048);
--primary-foreground: oklch(0.289 0.044 213.877);
--secondary: oklch(0.964 0.028 173.705);
--secondary-foreground: oklch(0.307 0.057 166.155);
--accent: oklch(0.933 0.024 264.45);
--accent-foreground: oklch(0.396 0.138 262.165);
--destructive: oklch(0.655 0.222 33.577);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.958 0.023 211.048);
--chart-1: oklch(0.958 0.023 211.048);
--chart-2: oklch(0.964 0.028 173.705);
--chart-3: oklch(0.933 0.024 264.45);
--chart-4: oklch(0.979 0.016 174.097);
--chart-5: oklch(0.958 0.024 211.049);
}