Interconnection is a shadcn/ui theme built around a light red primary color (#efbdca) with light blue accents (#bdcaef). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#efbdca) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #150509black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #110407black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #150509black | #ffffffwhite |
| Primary | #efbdcapink | #efbdcapink |
| Primary foreground | #63172amaroon | #63172amaroon |
| Secondary | #caefbdlightgrey | #caefbdlightgrey |
| Secondary foreground | #071104black | #071104black |
| Muted | #d1e8calightgrey | #1f3517darkgreen |
| Muted foreground | #4a5247darkslategray | #b0b8addarkgray |
| Accent | #bdcaeflightsteelblue | #bdcaeflightsteelblue |
| Accent foreground | #172a63midnightblue | #172a63midnightblue |
| Destructive | #b53608firebrick | #f6571eorangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #efbdcapink | #efbdcapink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 15.25:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.00:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 15.25:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.29:1 | AA |
Paste this into your globals.css to use Interconnection in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.033 3.195);
--muted: oklch(0.905 0.047 137.855);
--muted-foreground: oklch(0.427 0.02 137.846);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.033 3.195);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.132 0.029 1.493);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.847 0.06 1.807);
--primary-foreground: oklch(0.339 0.108 10.493);
--secondary: oklch(0.914 0.078 137.928);
--secondary-foreground: oklch(0.161 0.032 136.586);
--accent: oklch(0.84 0.055 270.686);
--accent-foreground: oklch(0.308 0.104 266.384);
--destructive: oklch(0.519 0.171 36.66);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.847 0.06 1.807);
--chart-1: oklch(0.847 0.06 1.807);
--chart-2: oklch(0.914 0.078 137.928);
--chart-3: oklch(0.84 0.055 270.686);
--chart-4: oklch(0.929 0.064 137.889);
--chart-5: oklch(0.845 0.063 1.905);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.302 0.058 138.316);
--muted-foreground: oklch(0.773 0.017 137.802);
--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.847 0.06 1.807);
--primary-foreground: oklch(0.339 0.108 10.493);
--secondary: oklch(0.914 0.078 137.928);
--secondary-foreground: oklch(0.161 0.032 136.586);
--accent: oklch(0.84 0.055 270.686);
--accent-foreground: oklch(0.308 0.104 266.384);
--destructive: oklch(0.664 0.204 37.919);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.847 0.06 1.807);
--chart-1: oklch(0.847 0.06 1.807);
--chart-2: oklch(0.914 0.078 137.928);
--chart-3: oklch(0.84 0.055 270.686);
--chart-4: oklch(0.929 0.064 137.889);
--chart-5: oklch(0.845 0.063 1.905);
}