Delphi (Classic) is a shadcn/ui theme built around a near-white primary color (#f0f0f0) with vivid indigo accents (#0000cc). The light mode uses an indigo-tinted background (#000080). Dark mode keeps the near-white primary (#f0f0f0) on an indigo-tinted background (#000080).
| Token | Light | Dark |
|---|---|---|
| Background | #000080navy | #000080navy |
| Foreground | #ffff00yellow | #ffff00yellow |
| Card | #000075navy | #000075navy |
| Card foreground | #ffff19yellow | #ffff19yellow |
| Popover | #000070navy | #000070navy |
| Popover foreground | #ffff33yellow | #ffff33yellow |
| Primary | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
| Primary foreground | #575757dimgray | #575757dimgray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #414153darkslategray | #414153darkslategray |
| Muted foreground | #c3c3d0silver | #c3c3d0silver |
| Accent | #0000ccmediumblue | #0000ccmediumblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e9342bcrimson | #e9342bcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #080891darkblue | #080891darkblue |
| Input | #0808a0darkblue | #0808a0darkblue |
| Ring | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.93:1 | AAA |
| Text on card | 15.55:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.71:1 | AA |
| Accent | 11.21:1 | AAA |
| Destructive | 4.21:1 | AA Large |
| Text on background | 14.93:1 | AAA |
| Text on card | 15.55:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.71:1 | AA |
| Accent | 11.21:1 | AAA |
| Destructive | 4.21:1 | AA Large |
Paste this into your globals.css to use Delphi (Classic) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.27 0.187 264.052);
--foreground: oklch(0.968 0.211 109.769);
--muted: oklch(0.383 0.03 284.893);
--muted-foreground: oklch(0.821 0.018 286);
--popover: oklch(0.247 0.171 264.052);
--popover-foreground: oklch(0.969 0.201 109.623);
--card: oklch(0.255 0.176 264.052);
--card-foreground: oklch(0.968 0.208 109.724);
--border: oklch(0.305 0.2 265.825);
--input: oklch(0.326 0.216 265.647);
--primary: oklch(0.954 0 180);
--primary-foreground: oklch(0.456 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.382 0.265 264.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.61 0.217 28.57);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0 180);
--chart-1: oklch(0.954 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.382 0.265 264.052);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.954 0.001 17.175);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.27 0.187 264.052);
--foreground: oklch(0.968 0.211 109.769);
--muted: oklch(0.383 0.03 284.893);
--muted-foreground: oklch(0.821 0.018 286);
--popover: oklch(0.247 0.171 264.052);
--popover-foreground: oklch(0.969 0.201 109.623);
--card: oklch(0.255 0.176 264.052);
--card-foreground: oklch(0.968 0.208 109.724);
--border: oklch(0.305 0.2 265.825);
--input: oklch(0.326 0.216 265.647);
--primary: oklch(0.954 0 180);
--primary-foreground: oklch(0.456 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.382 0.265 264.052);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.61 0.217 28.57);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0 180);
--chart-1: oklch(0.954 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.382 0.265 264.052);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.954 0.001 17.175);
}