Viow Arabian - Mix is a shadcn/ui theme built around a violet primary color (#7b36e2) with deep violet accents (#32294c). The light mode uses a violet-tinted background (#110e1b). Dark mode keeps the violet primary (#7b36e2) on a violet-tinted background (#110e1b).
| Token | Light | Dark |
|---|---|---|
| Background | #110e1bblack | #110e1bblack |
| Foreground | #a497b5darkgray | #a497b5darkgray |
| Card | #0d0b14black | #0d0b14black |
| Card foreground | #b1a5c0darkgray | #b1a5c0darkgray |
| Popover | #0b0911black | #0b0911black |
| Popover foreground | #beb4casilver | #beb4casilver |
| Primary | #7b36e2blueviolet | #7b36e2blueviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bbacd2silver | #bbacd2silver |
| Secondary foreground | #241b32darkslategray | #241b32darkslategray |
| Muted | #24222bdarkslategray | #24222bdarkslategray |
| Muted foreground | #a09bb0darkgray | #a09bb0darkgray |
| Accent | #32294cdarkslategray | #32294cdarkslategray |
| Accent foreground | #cdc7e1thistle | #cdc7e1thistle |
| Destructive | #fc3d36tomato | #fc3d36tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1e1b28black | #1e1b28black |
| Input | #252131darkslategray | #252131darkslategray |
| Ring | #7b36e2blueviolet | #7b36e2blueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.94:1 | AA |
| Text on card | 8.39:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 8.25:1 | AAA |
| Destructive | 3.58:1 | AA Large |
| Text on background | 6.94:1 | AA |
| Text on card | 8.39:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 8.25:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Viow Arabian - Mix in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.175 0.025 295.148);
--foreground: oklch(0.696 0.046 304.858);
--muted: oklch(0.257 0.017 296.614);
--muted-foreground: oklch(0.701 0.031 297.024);
--popover: oklch(0.146 0.017 295.893);
--popover-foreground: oklch(0.786 0.032 305.199);
--card: oklch(0.156 0.02 295.518);
--card-foreground: oklch(0.741 0.039 305.041);
--border: oklch(0.23 0.026 295.786);
--input: oklch(0.258 0.031 295.648);
--primary: oklch(0.527 0.239 294.92);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.77 0.056 303.297);
--secondary-foreground: oklch(0.244 0.044 301.626);
--accent: oklch(0.309 0.062 293.927);
--accent-foreground: oklch(0.842 0.036 297.052);
--destructive: oklch(0.651 0.227 27.692);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.527 0.239 294.92);
--chart-1: oklch(0.527 0.239 294.92);
--chart-2: oklch(0.77 0.056 303.297);
--chart-3: oklch(0.309 0.062 293.927);
--chart-4: oklch(0.798 0.049 303.464);
--chart-5: oklch(0.526 0.246 294.35);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.175 0.025 295.148);
--foreground: oklch(0.696 0.046 304.858);
--muted: oklch(0.257 0.017 296.614);
--muted-foreground: oklch(0.701 0.031 297.024);
--popover: oklch(0.146 0.017 295.893);
--popover-foreground: oklch(0.786 0.032 305.199);
--card: oklch(0.156 0.02 295.518);
--card-foreground: oklch(0.741 0.039 305.041);
--border: oklch(0.23 0.026 295.786);
--input: oklch(0.258 0.031 295.648);
--primary: oklch(0.527 0.239 294.92);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.77 0.056 303.297);
--secondary-foreground: oklch(0.244 0.044 301.626);
--accent: oklch(0.309 0.062 293.927);
--accent-foreground: oklch(0.842 0.036 297.052);
--destructive: oklch(0.651 0.227 27.692);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.527 0.239 294.92);
--chart-1: oklch(0.527 0.239 294.92);
--chart-2: oklch(0.77 0.056 303.297);
--chart-3: oklch(0.309 0.062 293.927);
--chart-4: oklch(0.798 0.049 303.464);
--chart-5: oklch(0.526 0.246 294.35);
}