ReUI II Dark (Italic) is a shadcn/ui theme built around a neutral gray primary color (#dedede) with muted blue accents (#3c475d). The light mode uses a blue-tinted background (#1e232e). Dark mode keeps the neutral gray primary (#dedede) on a blue-tinted background (#1e232e).
| Token | Light | Dark |
|---|---|---|
| Background | #1e232edarkslategray | #1e232edarkslategray |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #1a1f28black | #1a1f28black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #181c25black | #181c25black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #dededegainsboro | #dededegainsboro |
| Primary foreground | #454545darkslategray | #454545darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #2b2e36darkslategray | #2b2e36darkslategray |
| Muted foreground | #a6acb9darkgray | #a6acb9darkgray |
| Accent | #3c475ddarkslategray | #3c475ddarkslategray |
| Accent foreground | #e0e4eblavender | #e0e4eblavender |
| Destructive | #e11b09red | #e11b09red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2d3139darkslategray | #2d3139darkslategray |
| Input | #343841darkslategray | #343841darkslategray |
| Ring | #dededegainsboro | #dededegainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.67:1 | AAA |
| Text on card | 16.57:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 4.80:1 | AA |
| Text on background | 15.67:1 | AAA |
| Text on card | 16.57:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 4.80:1 | AA |
Paste this into your globals.css to use ReUI II Dark (Italic) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.257 0.022 265.413);
--foreground: oklch(1 0 180);
--muted: oklch(0.302 0.015 265.703);
--muted-foreground: oklch(0.745 0.02 265.867);
--popover: oklch(0.227 0.018 265.463);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.237 0.02 265.445);
--card-foreground: oklch(1 0 180);
--border: oklch(0.313 0.015 265.731);
--input: oklch(0.341 0.016 265.721);
--primary: oklch(0.9 0 188.746);
--primary-foreground: oklch(0.39 0 165.964);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.397 0.04 265.283);
--accent-foreground: oklch(0.917 0.011 265.952);
--destructive: oklch(0.58 0.227 30.052);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0 188.746);
--chart-1: oklch(0.9 0 188.746);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.397 0.04 265.283);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.899 0.002 17.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.257 0.022 265.413);
--foreground: oklch(1 0 180);
--muted: oklch(0.302 0.015 265.703);
--muted-foreground: oklch(0.745 0.02 265.867);
--popover: oklch(0.227 0.018 265.463);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.237 0.02 265.445);
--card-foreground: oklch(1 0 180);
--border: oklch(0.313 0.015 265.731);
--input: oklch(0.341 0.016 265.721);
--primary: oklch(0.9 0 188.746);
--primary-foreground: oklch(0.39 0 165.964);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.397 0.04 265.283);
--accent-foreground: oklch(0.917 0.011 265.952);
--destructive: oklch(0.58 0.227 30.052);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0 188.746);
--chart-1: oklch(0.9 0 188.746);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.397 0.04 265.283);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.899 0.002 17.198);
}