Intecs Portal v3 is a shadcn/ui theme built around a vivid blue primary color (#0046be) with muted light blue accents (#ced2e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#0046be) on a blue-tinted background (#06080e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06080eblack |
| Foreground | #040611black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #080912black |
| Card foreground | #03050cblack | #ffffffwhite |
| Popover | #fcfcfcsnow | #080912black |
| Popover foreground | #03050cblack | #ffffffwhite |
| Primary | #0046bemediumblue | #0046bemediumblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7d55c8slateblue | #7d55c8slateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7d9e0gainsboro | #1f2128black |
| Muted foreground | #555868dimgray | #979baadarkgray |
| Accent | #ced2e3lightgrey | #ced2e3lightgrey |
| Accent foreground | #000000black | #000000black |
| Destructive | #b41e28firebrick | #b41e28firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0046bemediumblue | #0046bemediumblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 5.24:1 | AA |
| Muted text | 4.97:1 | AA |
| Accent | 13.95:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 5.24:1 | AA |
| Muted text | 5.80:1 | AA |
| Accent | 13.95:1 | AAA |
| Destructive | 6.65:1 | AA |
Paste this into your globals.css to use Intecs Portal v3 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.026 268.939);
--muted: oklch(0.885 0.01 276.021);
--muted-foreground: oklch(0.464 0.025 275.387);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.114 0.022 268.251);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.114 0.022 268.251);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.444 0.198 261.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.549 0.172 296.331);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.866 0.024 275.319);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.498 0.184 24.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.444 0.198 261.469);
--chart-1: oklch(0.444 0.198 261.469);
--chart-2: oklch(0.549 0.172 296.331);
--chart-3: oklch(0.866 0.024 275.319);
--chart-4: oklch(0.579 0.16 297.179);
--chart-5: oklch(0.445 0.203 261.516);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.016 272.261);
--foreground: oklch(0.991 0.001 276.148);
--muted: oklch(0.249 0.013 275.396);
--muted-foreground: oklch(0.691 0.023 275.711);
--popover: oklch(0.144 0.019 273.129);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.019 273.129);
--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.444 0.198 261.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.549 0.172 296.331);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.866 0.024 275.319);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.498 0.184 24.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.444 0.198 261.469);
--chart-1: oklch(0.444 0.198 261.469);
--chart-2: oklch(0.549 0.172 296.331);
--chart-3: oklch(0.866 0.024 275.319);
--chart-4: oklch(0.579 0.16 297.179);
--chart-5: oklch(0.445 0.203 261.516);
}