MacOS Modern Dark - Ventura Xcode Civic is a shadcn/ui theme built around a vivid blue primary color (#148eff) with neutral gray accents (#4b4949). The light mode uses a neutral background (#242323). Dark mode keeps the vivid blue primary (#148eff) on a neutral background (#242323).
| Token | Light | Dark |
|---|---|---|
| Background | #242323black | #242323black |
| Foreground | #dededegainsboro | #dededegainsboro |
| Card | #1f1e1eblack | #1f1e1eblack |
| Card foreground | #ebebeblinen | #ebebeblinen |
| Popover | #1c1c1cblack | #1c1c1cblack |
| Popover foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Primary | #148effdodgerblue | #148effdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acc0d2lightsteelblue | #acc0d2lightsteelblue |
| Secondary foreground | #1b2732darkslategray | #1b2732darkslategray |
| Muted | #332828darkslategray | #332828darkslategray |
| Muted foreground | #b7a4a4darkgray | #b7a4a4darkgray |
| Accent | #4b4949darkslategray | #4b4949darkslategray |
| Accent foreground | #e3e3e3gainsboro | #e3e3e3gainsboro |
| Destructive | #f24a2ctomato | #f24a2ctomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #303030darkslategray | #303030darkslategray |
| Input | #383838darkslategray | #383838darkslategray |
| Ring | #148effdodgerblue | #148effdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.61:1 | AAA |
| Text on card | 13.91:1 | AAA |
| Primary button | 3.32:1 | AA Large |
| Secondary button | 8.11:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 3.64:1 | AA Large |
| Text on background | 11.61:1 | AAA |
| Text on card | 13.91:1 | AAA |
| Primary button | 3.32:1 | AA Large |
| Secondary button | 8.11:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use MacOS Modern Dark - Ventura Xcode Civic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.258 0.001 17.226);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.291 0.016 18.142);
--muted-foreground: oklch(0.734 0.023 17.686);
--popover: oklch(0.226 0.001 17.221);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.237 0.001 17.223);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.311 0 180);
--input: oklch(0.341 0 158.199);
--primary: oklch(0.646 0.194 253.302);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.798 0.034 246.451);
--secondary-foreground: oklch(0.265 0.027 247.166);
--accent: oklch(0.408 0.002 17.238);
--accent-foreground: oklch(0.915 0.001 17.169);
--destructive: oklch(0.644 0.209 32.381);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.646 0.194 253.302);
--chart-1: oklch(0.646 0.194 253.302);
--chart-2: oklch(0.798 0.034 246.451);
--chart-3: oklch(0.408 0.002 17.238);
--chart-4: oklch(0.823 0.03 246.378);
--chart-5: oklch(0.648 0.199 253.66);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.258 0.001 17.226);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.291 0.016 18.142);
--muted-foreground: oklch(0.734 0.023 17.686);
--popover: oklch(0.226 0.001 17.221);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.237 0.001 17.223);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.311 0 180);
--input: oklch(0.341 0 158.199);
--primary: oklch(0.646 0.194 253.302);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.798 0.034 246.451);
--secondary-foreground: oklch(0.265 0.027 247.166);
--accent: oklch(0.408 0.002 17.238);
--accent-foreground: oklch(0.915 0.001 17.169);
--destructive: oklch(0.644 0.209 32.381);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.646 0.194 253.302);
--chart-1: oklch(0.646 0.194 253.302);
--chart-2: oklch(0.798 0.034 246.451);
--chart-3: oklch(0.408 0.002 17.238);
--chart-4: oklch(0.823 0.03 246.378);
--chart-5: oklch(0.648 0.199 253.66);
}