Siva is a shadcn/ui theme built around a muted deep teal primary color (#203131) with muted deep red accents (#312120). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#203131) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #f9fbfbghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #f9fbfbghostwhite |
| Primary | #203131darkslategray | #203131darkslategray |
| Primary foreground | #b5cdcflightsteelblue | #b5cdcflightsteelblue |
| Secondary | #312120darkslategray | #312120darkslategray |
| Secondary foreground | #cfb6b5silver | #cfb6b5silver |
| Muted | #f3e8e8linen | #170d0cblack |
| Muted foreground | #4a3c3bdarkslategray | #c4b6b5silver |
| Accent | #312120darkslategray | #312120darkslategray |
| Accent foreground | #cfb6b5silver | #cfb6b5silver |
| Destructive | #631103maroon | #f93c1aorangered |
| Destructive foreground | #fcaa9clightsalmon | #ffffffwhite |
| Border | #f1f3f3whitesmoke | #232929darkslategray |
| Input | #f1f3f3whitesmoke | #232929darkslategray |
| Ring | #203131darkslategray | #203131darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 8.75:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 9.73:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Siva in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.94 0.011 21.045);
--muted-foreground: oklch(0.37 0.02 21.623);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.963 0.002 200.863);
--input: oklch(0.963 0.002 200.863);
--primary: oklch(0.297 0.022 200.162);
--primary-foreground: oklch(0.832 0.026 200.526);
--secondary: oklch(0.268 0.025 22.302);
--secondary-foreground: oklch(0.797 0.028 21.362);
--accent: oklch(0.268 0.025 22.302);
--accent-foreground: oklch(0.797 0.028 21.362);
--destructive: oklch(0.327 0.118 32.743);
--destructive-foreground: oklch(0.815 0.1 30.393);
--ring: oklch(0.297 0.022 200.162);
--chart-1: oklch(0.297 0.022 200.162);
--chart-2: oklch(0.268 0.025 22.302);
--chart-3: oklch(0.268 0.025 22.302);
--chart-4: oklch(0.297 0.029 22.377);
--chart-5: oklch(0.3 0.024 200.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 200.859);
--muted: oklch(0.173 0.018 22.502);
--muted-foreground: oklch(0.788 0.016 21.151);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 200.859);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 200.859);
--border: oklch(0.275 0.008 200.543);
--input: oklch(0.275 0.008 200.543);
--primary: oklch(0.297 0.022 200.162);
--primary-foreground: oklch(0.832 0.026 200.526);
--secondary: oklch(0.268 0.025 22.302);
--secondary-foreground: oklch(0.797 0.028 21.362);
--accent: oklch(0.268 0.025 22.302);
--accent-foreground: oklch(0.797 0.028 21.362);
--destructive: oklch(0.643 0.229 32.134);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.297 0.022 200.162);
--chart-1: oklch(0.297 0.022 200.162);
--chart-2: oklch(0.268 0.025 22.302);
--chart-3: oklch(0.268 0.025 22.302);
--chart-4: oklch(0.297 0.029 22.377);
--chart-5: oklch(0.3 0.024 200.107);
}