Romance is a shadcn/ui theme built around a light cyan primary color (#d9f2f7) with muted cyan accents (#b1c0c3). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#d9f2f7) on a cyan-tinted background (#040a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040a0bblack |
| Foreground | #000000black | #f9fbfbghostwhite |
| Card | #fbfdfewhite | #040a0bblack |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #fbfdfewhite | #040a0bblack |
| Popover foreground | #000000black | #f9fbfbghostwhite |
| Primary | #d9f2f7lightcyan | #d9f2f7lightcyan |
| Primary foreground | #0a282fblack | #0a282fblack |
| Secondary | #cacdcelightgrey | #2d3739darkslategray |
| Secondary foreground | #313435darkslategray | #c6d0d2lightgrey |
| Muted | #eef1f2whitesmoke | #0d1011black |
| Muted foreground | #444546darkslategray | #b9bbbbsilver |
| Accent | #b1c0c3silver | #3a5459darkslategray |
| Accent foreground | #1d2425black | #dde7e9gainsboro |
| Destructive | #a2360bsaddlebrown | #f16c37tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d9f2f7lightcyan | #d9f2f7lightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 13.22:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 8.40:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.20:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 13.22:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 9.87:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Romance in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 212.663);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.003 212.664);
--muted-foreground: oklch(0.391 0.002 212.664);
--popover: oklch(0.994 0.003 212.663);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 212.663);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.944 0.027 212.725);
--primary-foreground: oklch(0.257 0.037 215.32);
--secondary: oklch(0.847 0.004 212.665);
--secondary-foreground: oklch(0.323 0.005 212.681);
--accent: oklch(0.797 0.017 212.698);
--accent-foreground: oklch(0.254 0.011 212.793);
--destructive: oklch(0.486 0.151 38.387);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.944 0.027 212.725);
--chart-1: oklch(0.944 0.027 212.725);
--chart-2: oklch(0.847 0.004 212.665);
--chart-3: oklch(0.797 0.017 212.698);
--chart-4: oklch(0.87 0.003 212.664);
--chart-5: oklch(0.944 0.028 212.73);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.012 209.797);
--foreground: oklch(0.986 0.002 212.663);
--muted: oklch(0.172 0.005 212.727);
--muted-foreground: oklch(0.79 0.001 212.662);
--popover: oklch(0.137 0.012 209.797);
--popover-foreground: oklch(0.986 0.002 212.663);
--card: oklch(0.137 0.012 209.797);
--card-foreground: oklch(0.986 0.002 212.663);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.944 0.027 212.725);
--primary-foreground: oklch(0.257 0.037 215.32);
--secondary: oklch(0.328 0.014 212.801);
--secondary-foreground: oklch(0.85 0.011 212.678);
--accent: oklch(0.427 0.032 213.123);
--accent-foreground: oklch(0.92 0.011 212.675);
--destructive: oklch(0.685 0.178 40.637);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.944 0.027 212.725);
--chart-1: oklch(0.944 0.027 212.725);
--chart-2: oklch(0.328 0.014 212.801);
--chart-3: oklch(0.427 0.032 213.123);
--chart-4: oklch(0.359 0.016 212.808);
--chart-5: oklch(0.944 0.028 212.73);
}