MacOS Modern Light - Ventura Xcode for shadcn/ui

MacOS Modern Light - Ventura Xcode is a shadcn/ui theme built around a vivid blue primary color (#148eff) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#148eff) on a neutral background (#ffffff).

Color palette

TokenLightDark
Background
#ffffffwhite
#ffffffwhite
Foreground
#656f81dimgray
#656f81dimgray
Card
#fafafasnow
#fafafasnow
Card foreground
#5a6272dimgray
#5a6272dimgray
Popover
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Popover foreground
#4f5664dimgray
#4f5664dimgray
Primary
#148effdodgerblue
#148effdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acc0d2lightsteelblue
#acc0d2lightsteelblue
Secondary foreground
#1b2732darkslategray
#1b2732darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#d9d9d9gainsboro
#d9d9d9gainsboro
Accent foreground
#404040darkslategray
#404040darkslategray
Destructive
#ae0f0ffirebrick
#ae0f0ffirebrick
Destructive foreground
#fef1f1lavenderblush
#fef1f1lavenderblush
Border
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Input
#ebebeblinen
#ebebeblinen
Ring
#148effdodgerblue
#148effdodgerblue

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background5.06:1AA
Text on card5.86:1AA
Primary button3.32:1AA Large
Secondary button8.11:1AAA
Muted text7.22:1AAA
Accent7.32:1AAA
Destructive6.65:1AA
Dark mode
Text on background5.06:1AA
Text on card5.86:1AA
Primary button3.32:1AA Large
Secondary button8.11:1AAA
Muted text7.22:1AAA
Accent7.32:1AAA
Destructive6.65:1AA

CSS variables

Paste this into your globals.css to use MacOS Modern Light - Ventura Xcode in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.539 0.03 262.859);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.977 0 180);
  --popover-foreground: oklch(0.452 0.025 262.868);
  --card: oklch(0.985 0 180);
  --card-foreground: oklch(0.496 0.028 262.863);
  --border: oklch(0.962 0 180);
  --input: oklch(0.939 0 180);
  --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.885 0 180);
  --accent-foreground: oklch(0.371 0 168.69);
  --destructive: oklch(0.476 0.188 28.354);
  --destructive-foreground: oklch(0.968 0.014 17.396);
  --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.885 0 180);
  --chart-4: oklch(0.823 0.03 246.378);
  --chart-5: oklch(0.648 0.199 253.66);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.539 0.03 262.859);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.977 0 180);
  --popover-foreground: oklch(0.452 0.025 262.868);
  --card: oklch(0.985 0 180);
  --card-foreground: oklch(0.496 0.028 262.863);
  --border: oklch(0.962 0 180);
  --input: oklch(0.939 0 180);
  --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.885 0 180);
  --accent-foreground: oklch(0.371 0 168.69);
  --destructive: oklch(0.476 0.188 28.354);
  --destructive-foreground: oklch(0.968 0.014 17.396);
  --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.885 0 180);
  --chart-4: oklch(0.823 0.03 246.378);
  --chart-5: oklch(0.648 0.199 253.66);
}