Light (Visual Studio for Mac) is a shadcn/ui theme built around a muted deep blue primary color (#2b3d4f) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep blue primary (#2b3d4f) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #212121black | #212121black |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #141414black | #141414black |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #080808black | #080808black |
| Primary | #2b3d4fdarkslategray | #2b3d4fdarkslategray |
| Primary foreground | #cad6e2lightgrey | #cad6e2lightgrey |
| Secondary | #b3bfcbsilver | #b3bfcbsilver |
| Secondary foreground | #1f262edarkslategray | #1f262edarkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #bb1907firebrick | #bb1907firebrick |
| Destructive foreground | #fff6f5lavenderblush | #fff6f5lavenderblush |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #2b3d4fdarkslategray | #2b3d4fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.10:1 | AAA |
| Text on card | 17.63:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.07:1 | AA |
| Text on background | 16.10:1 | AAA |
| Text on card | 17.63:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.07:1 | AA |
Paste this into your globals.css to use Light (Visual Studio for Mac) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.248 0 173.29);
--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.132 0 165.964);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.193 0 164.055);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.353 0.039 248.97);
--primary-foreground: oklch(0.871 0.021 248.067);
--secondary: oklch(0.8 0.022 248.1);
--secondary-foreground: oklch(0.266 0.017 248.472);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.506 0.196 30.445);
--destructive-foreground: oklch(0.98 0.009 25.068);
--ring: oklch(0.353 0.039 248.97);
--chart-1: oklch(0.353 0.039 248.97);
--chart-2: oklch(0.8 0.022 248.1);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.824 0.019 248.059);
--chart-5: oklch(0.353 0.043 249.111);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.248 0 173.29);
--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.132 0 165.964);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.193 0 164.055);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.353 0.039 248.97);
--primary-foreground: oklch(0.871 0.021 248.067);
--secondary: oklch(0.8 0.022 248.1);
--secondary-foreground: oklch(0.266 0.017 248.472);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.506 0.196 30.445);
--destructive-foreground: oklch(0.98 0.009 25.068);
--ring: oklch(0.353 0.039 248.97);
--chart-1: oklch(0.353 0.039 248.97);
--chart-2: oklch(0.8 0.022 248.1);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.824 0.019 248.059);
--chart-5: oklch(0.353 0.043 249.111);
}