Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Ubuntu Color VSCode Deep Dark is a shadcn/ui theme built around a vivid orange primary color (#ee823f) with neutral gray accents (#383838). The light mode uses a neutral background (#121212). Dark mode keeps the vivid orange primary (#ee823f) on a neutral background (#121212).
| Token | Light | Dark |
|---|---|---|
| Background | #121212black | #121212black |
| Foreground | #f0ffffazure | #f0ffffazure |
| Card | #0d0d0dblack | #0d0d0dblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0a0a0ablack | #0a0a0ablack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ee823fcoral | #ee823fcoral |
| Primary foreground | #000000black | #000000black |
| Secondary | #533b2ddarkolivegreen | #533b2ddarkolivegreen |
| Secondary foreground | #e4d6cdgainsboro | #e4d6cdgainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #383838darkslategray | #383838darkslategray |
| Accent foreground | #d1d1d1lightgrey | #d1d1d1lightgrey |
| Destructive | #f6423ctomato | #f6423ctomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1f1f1fblack | #1f1f1fblack |
| Input | #262626darkslategray | #262626darkslategray |
| Ring | #ee823fcoral | #ee823fcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.26:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.64:1 | AA Large |
| Text on background | 18.26:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Ubuntu Color VSCode Deep Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.182 0 164.055);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.146 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.158 0 169.695);
--card-foreground: oklch(1 0 180);
--border: oklch(0.238 0 161.565);
--input: oklch(0.27 0 180);
--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.341 0 158.199);
--accent-foreground: oklch(0.861 0 180);
--destructive: oklch(0.646 0.217 27.225);
--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.341 0 158.199);
--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.182 0 164.055);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.146 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.158 0 169.695);
--card-foreground: oklch(1 0 180);
--border: oklch(0.238 0 161.565);
--input: oklch(0.27 0 180);
--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.341 0 158.199);
--accent-foreground: oklch(0.861 0 180);
--destructive: oklch(0.646 0.217 27.225);
--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.341 0 158.199);
--chart-4: oklch(0.405 0.045 52.923);
--chart-5: oklch(0.718 0.16 49.423);
}