Ubuntu Color VSCode Dark Highlight is a shadcn/ui theme built around a vivid orange primary color (#ee823f) with neutral gray accents (#4d4d4d). The light mode uses a neutral background (#262626). Dark mode keeps the vivid orange primary (#ee823f) on a neutral background (#262626).
| Token | Light | Dark |
|---|---|---|
| Background | #262626darkslategray | #262626darkslategray |
| Foreground | #f0ffffazure | #f0ffffazure |
| Card | #212121black | #212121black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1f1f1fblack | #1f1f1fblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ee823fcoral | #ee823fcoral |
| Primary foreground | #000000black | #000000black |
| Secondary | #533b2ddarkolivegreen | #533b2ddarkolivegreen |
| Secondary foreground | #e4d6cdgainsboro | #e4d6cdgainsboro |
| Muted | #362b2bdarkslategray | #362b2bdarkslategray |
| Muted foreground | #b9a6a6darkgray | #b9a6a6darkgray |
| Accent | #4d4d4ddarkslategray | #4d4d4ddarkslategray |
| Accent foreground | #e6e6e6gainsboro | #e6e6e6gainsboro |
| Destructive | #e61e14crimson | #e61e14crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #333333darkslategray | #333333darkslategray |
| Input | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Ring | #ee823fcoral | #ee823fcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.69:1 | AAA |
| Text on card | 16.07:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 4.60:1 | AA |
| Text on background | 14.69:1 | AAA |
| Text on card | 16.07:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 4.60:1 | AA |
Paste this into your globals.css to use Ubuntu Color VSCode Dark Highlight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.27 0 180);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.301 0.017 18.156);
--muted-foreground: oklch(0.743 0.022 17.661);
--popover: oklch(0.238 0 161.565);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.248 0 173.29);
--card-foreground: oklch(1 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.715 0.155 49.732);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.376 0.041 52.958);
--secondary-foreground: oklch(0.885 0.02 54.202);
--accent: oklch(0.418 0 173.29);
--accent-foreground: oklch(0.923 0 153.435);
--destructive: oklch(0.59 0.229 29.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.155 49.732);
--chart-1: oklch(0.715 0.155 49.732);
--chart-2: oklch(0.376 0.041 52.958);
--chart-3: oklch(0.418 0 173.29);
--chart-4: oklch(0.405 0.045 52.923);
--chart-5: oklch(0.718 0.16 49.423);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.27 0 180);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.301 0.017 18.156);
--muted-foreground: oklch(0.743 0.022 17.661);
--popover: oklch(0.238 0 161.565);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.248 0 173.29);
--card-foreground: oklch(1 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.715 0.155 49.732);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.376 0.041 52.958);
--secondary-foreground: oklch(0.885 0.02 54.202);
--accent: oklch(0.418 0 173.29);
--accent-foreground: oklch(0.923 0 153.435);
--destructive: oklch(0.59 0.229 29.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.155 49.732);
--chart-1: oklch(0.715 0.155 49.732);
--chart-2: oklch(0.376 0.041 52.958);
--chart-3: oklch(0.418 0 173.29);
--chart-4: oklch(0.405 0.045 52.923);
--chart-5: oklch(0.718 0.16 49.423);
}