Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Career for shadcn/ui

Career is a shadcn/ui theme built around a near-black primary color (#000501) with near-black accents (#050004). The light mode uses a neutral background (#fbfefc). Dark mode keeps the near-black primary (#000501) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefcwhite
#000000black
Foreground
#000000black
#f6f9f7whitesmoke
Card
#f7fdf9mintcream
#030303black
Card foreground
#000000black
#f9fbf9mintcream
Popover
#fbfefcwhite
#000000black
Popover foreground
#000000black
#f6f9f7whitesmoke
Primary
#000501black
#000501black
Primary foreground
#0cc63alimegreen
#0cc63alimegreen
Secondary
#050004black
#050004black
Secondary foreground
#f443c8hotpink
#f443c8hotpink
Muted
#e5d2e0gainsboro
#2d1a28black
Muted foreground
#6a6268dimgray
#9d959bdarkgray
Accent
#050004black
#050004black
Accent foreground
#f443c8hotpink
#f443c8hotpink
Destructive
#bd260ffirebrick
#f05942tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#000501black
#000501black

Contrast

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

Light mode
Text on background20.65:1AAA
Text on card20.31:1AAA
Primary button8.95:1AAA
Secondary button6.42:1AA
Muted text4.10:1AA Large
Accent6.42:1AA
Destructive6.09:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.88:1AAA
Primary button8.95:1AAA
Secondary button6.42:1AA
Muted text5.56:1AA
Accent6.42:1AA
Destructive6.21:1AA

CSS variables

Paste this into your globals.css to use Career in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 153.813);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.883 0.028 334.395);
  --muted-foreground: oklch(0.506 0.014 334.335);
  --popover: oklch(0.994 0.004 153.813);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.007 153.748);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.1 0.024 152.844);
  --primary-foreground: oklch(0.718 0.223 145.141);
  --secondary: oklch(0.081 0.031 335.069);
  --secondary-foreground: oklch(0.683 0.248 339.973);
  --accent: oklch(0.081 0.031 335.069);
  --accent-foreground: oklch(0.683 0.248 339.973);
  --destructive: oklch(0.518 0.189 31.513);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.1 0.024 152.844);
  --chart-1: oklch(0.1 0.024 152.844);
  --chart-2: oklch(0.081 0.031 335.069);
  --chart-3: oklch(0.081 0.031 335.069);
  --chart-4: oklch(0.133 0.05 337.2);
  --chart-5: oklch(0.101 0.024 152.811);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.004 153.816);
  --muted: oklch(0.25 0.038 336.24);
  --muted-foreground: oklch(0.678 0.013 334.196);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.004 153.816);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.002 153.837);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.1 0.024 152.844);
  --primary-foreground: oklch(0.718 0.223 145.141);
  --secondary: oklch(0.081 0.031 335.069);
  --secondary-foreground: oklch(0.683 0.248 339.973);
  --accent: oklch(0.081 0.031 335.069);
  --accent-foreground: oklch(0.683 0.248 339.973);
  --destructive: oklch(0.661 0.189 31.29);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.1 0.024 152.844);
  --chart-1: oklch(0.1 0.024 152.844);
  --chart-2: oklch(0.081 0.031 335.069);
  --chart-3: oklch(0.081 0.031 335.069);
  --chart-4: oklch(0.133 0.05 337.2);
  --chart-5: oklch(0.101 0.024 152.811);
}