QuettaNex Theme is a shadcn/ui theme built around a blue primary color (#26478c) with blue accents (#2394d1). The light mode uses a neutral background (#fafafa). Dark mode keeps the blue primary (#2394d1) on a blue-tinted background (#0f1624).
| Token | Light | Dark |
|---|---|---|
| Background | #fafafasnow | #0f1624black |
| Foreground | #000000black | #f2f2f2whitesmoke |
| Card | #fffdfdwhite | #0f1624black |
| Card foreground | #000000black | #f2f2f2whitesmoke |
| Popover | #ffffffwhite | #0f1624black |
| Popover foreground | #2f3b6adarkslategray | #f2f2f2whitesmoke |
| Primary | #26478cdarkslateblue | #2394d1dodgerblue |
| Primary foreground | #ffffffwhite | #f2f2f2whitesmoke |
| Secondary | #2394d1dodgerblue | #26478cdarkslateblue |
| Secondary foreground | #ffffffwhite | #f2f2f2whitesmoke |
| Muted | #eeeff2whitesmoke | #172136darkslategray |
| Muted foreground | #71778eslategray | #cccccclightgrey |
| Accent | #2394d1dodgerblue | #2394d1dodgerblue |
| Accent foreground | #ffffffwhite | #f2f2f2whitesmoke |
| Destructive | #e61a1acrimson | #cf1717firebrick |
| Destructive foreground | #ffffffwhite | #f2f2f2whitesmoke |
| Border | #dcdee4gainsboro | #1f2c47darkslategray |
| Input | #dcdee4gainsboro | #1f2c47darkslategray |
| Ring | #26478cdarkslateblue | #2394d1dodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.68:1 | AAA |
| Primary button | 8.91:1 | AAA |
| Secondary button | 3.35:1 | AA Large |
| Muted text | 3.84:1 | AA Large |
| Accent | 3.35:1 | AA Large |
| Destructive | 4.66:1 | AA |
| Text on background | 16.18:1 | AAA |
| Text on card | 16.18:1 | AAA |
| Primary button | 2.99:1 | Fail |
| Secondary button | 7.96:1 | AAA |
| Muted text | 10.04:1 | AAA |
| Accent | 2.99:1 | Fail |
| Destructive | 4.96:1 | AA |
Paste this into your globals.css to use QuettaNex Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0 170.538);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.004 274.979);
--muted-foreground: oklch(0.573 0.035 274.194);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.365 0.084 271.18);
--card: oklch(0.995 0.002 17.198);
--card-foreground: oklch(0 0 0);
--border: oklch(0.901 0.009 274.914);
--input: oklch(0.901 0.009 274.914);
--primary: oklch(0.412 0.122 263.341);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.636 0.132 238.687);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.636 0.132 238.687);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.587 0.23 28.262);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.412 0.122 263.341);
--chart-1: oklch(0.412 0.122 263.341);
--chart-2: oklch(0.636 0.132 238.687);
--chart-3: oklch(0.365 0.084 271.18);
--chart-4: oklch(0.636 0.132 238.687);
--chart-5: oklch(0.436 0.13 263.314);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.2 0.03 264.797);
--foreground: oklch(0.962 0 180);
--muted: oklch(0.248 0.042 264.573);
--muted-foreground: oklch(0.845 0 164.055);
--popover: oklch(0.2 0.03 264.797);
--popover-foreground: oklch(0.962 0 180);
--card: oklch(0.2 0.03 264.797);
--card-foreground: oklch(0.962 0 180);
--border: oklch(0.294 0.054 264.436);
--input: oklch(0.294 0.054 264.436);
--primary: oklch(0.636 0.132 238.687);
--primary-foreground: oklch(0.962 0 180);
--secondary: oklch(0.412 0.122 263.341);
--secondary-foreground: oklch(0.962 0 180);
--accent: oklch(0.636 0.132 238.687);
--accent-foreground: oklch(0.962 0 180);
--destructive: oklch(0.543 0.212 28.19);
--destructive-foreground: oklch(0.962 0 180);
--ring: oklch(0.636 0.132 238.687);
--chart-1: oklch(0.412 0.122 263.341);
--chart-2: oklch(0.636 0.132 238.687);
--chart-3: oklch(0.365 0.084 271.18);
--chart-4: oklch(0.636 0.132 238.687);
--chart-5: oklch(0.436 0.13 263.314);
}