Demanding is a shadcn/ui theme built around a vivid blue primary color (#09669f) with muted blue accents (#b3c2cb). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid blue primary (#09669f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #010609black | #ffffffwhite |
| Card | #f2f8fcaliceblue | #030303black |
| Card foreground | #010305black | #ffffffwhite |
| Popover | #f7fbfdghostwhite | #000000black |
| Popover foreground | #010609black | #ffffffwhite |
| Primary | #09669fteal | #09669fteal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c8d0d5lightgrey | #252728darkslategray |
| Secondary foreground | #2f373ddarkslategray | #bdc0c2silver |
| Muted | #dae2e7gainsboro | #182025black |
| Muted foreground | #576670dimgray | #8f9fa8darkgray |
| Accent | #b3c2cbsilver | #373f43darkslategray |
| Accent foreground | #1f282edarkslategray | #d2d7dalightgrey |
| Destructive | #c7280ffirebrick | #d52a10firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #09669fteal | #09669fteal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 4.51:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 5.61:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.17:1 | AA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.04:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Demanding in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 234.585);
--foreground: oklch(0.115 0.017 225.257);
--muted: oklch(0.908 0.01 234.671);
--muted-foreground: oklch(0.502 0.025 235.297);
--popover: oklch(0.985 0.005 234.585);
--popover-foreground: oklch(0.115 0.017 225.257);
--card: oklch(0.977 0.008 234.626);
--card-foreground: oklch(0.092 0.013 225.257);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.491 0.119 244.642);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.853 0.011 234.69);
--secondary-foreground: oklch(0.332 0.015 235.213);
--accent: oklch(0.806 0.021 234.895);
--accent-foreground: oklch(0.27 0.016 235.497);
--destructive: oklch(0.539 0.198 31.467);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.491 0.119 244.642);
--chart-1: oklch(0.491 0.119 244.642);
--chart-2: oklch(0.853 0.011 234.69);
--chart-3: oklch(0.806 0.021 234.895);
--chart-4: oklch(0.877 0.009 234.655);
--chart-5: oklch(0.494 0.122 245.121);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.238 0.014 235.481);
--muted-foreground: oklch(0.692 0.023 235.016);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.491 0.119 244.642);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.27 0.004 234.695);
--secondary-foreground: oklch(0.805 0.004 234.585);
--accent: oklch(0.361 0.013 235.053);
--accent-foreground: oklch(0.877 0.007 234.62);
--destructive: oklch(0.567 0.209 31.444);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.491 0.119 244.642);
--chart-1: oklch(0.491 0.119 244.642);
--chart-2: oklch(0.27 0.004 234.695);
--chart-3: oklch(0.361 0.013 235.053);
--chart-4: oklch(0.301 0.004 234.704);
--chart-5: oklch(0.494 0.122 245.121);
}