International is a shadcn/ui theme built around a vivid purple primary color (#e71db1) with vivid red accents (#e71d4c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid purple primary (#e71db1) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #170312black | #fbf8fbsnow |
| Card | #fcfcfcsnow | #070406black |
| Card foreground | #12020eblack | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #070406black |
| Popover foreground | #12020eblack | #fdfcfdwhite |
| Primary | #e71db1deeppink | #e71db1deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b81de7darkorchid | #b81de7darkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ddd1e0gainsboro | #2a1f2edarkslategray |
| Muted foreground | #676468dimgray | #9a979bdarkgray |
| Accent | #e71d4ccrimson | #e71d4ccrimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ab3b03saddlebrown | #fb5a09orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e71db1deeppink | #e71db1deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 4.80:1 | AA |
| Muted text | 3.97:1 | AA Large |
| Accent | 4.48:1 | AA Large |
| Destructive | 6.27:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 4.80:1 | AA |
| Muted text | 5.45:1 | AA |
| Accent | 4.48:1 | AA Large |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use International in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.05 338.473);
--muted: oklch(0.875 0.023 318.304);
--muted-foreground: oklch(0.507 0.007 318.316);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.134 0.044 337.572);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.134 0.044 337.572);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.63 0.258 342.819);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.275 315.767);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.227 16.916);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.506 0.157 40.195);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.63 0.258 342.819);
--chart-1: oklch(0.63 0.258 342.819);
--chart-2: oklch(0.589 0.275 315.767);
--chart-3: oklch(0.598 0.227 16.916);
--chart-4: oklch(0.604 0.269 316.324);
--chart-5: oklch(0.635 0.263 343.098);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.01 334.883);
--foreground: oklch(0.983 0.004 334.6);
--muted: oklch(0.259 0.031 318.2);
--muted-foreground: oklch(0.68 0.007 318.32);
--popover: oklch(0.111 0.012 334.883);
--popover-foreground: oklch(0.992 0.002 334.563);
--card: oklch(0.111 0.012 334.883);
--card-foreground: oklch(0.992 0.002 334.563);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.63 0.258 342.819);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.275 315.767);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.598 0.227 16.916);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.675 0.21 39.871);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.63 0.258 342.819);
--chart-1: oklch(0.63 0.258 342.819);
--chart-2: oklch(0.589 0.275 315.767);
--chart-3: oklch(0.598 0.227 16.916);
--chart-4: oklch(0.604 0.269 316.324);
--chart-5: oklch(0.635 0.263 343.098);
}