Awesome for shadcn/ui

Awesome is a shadcn/ui theme built around a neutral gray primary color (#998f96) with neutral gray accents (#8f9699). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#998f96) on a purple-tinted background (#0f050c).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f050cblack
Foreground
#140610black
#ffffffwhite
Card
#ffffffwhite
#0f050cblack
Card foreground
#140610black
#ffffffwhite
Popover
#ffffffwhite
#0f050cblack
Popover foreground
#140610black
#ffffffwhite
Primary
#998f96lightslategray
#998f96lightslategray
Primary foreground
#000000black
#000000black
Secondary
#96998fdarkseagreen
#96998fdarkseagreen
Secondary foreground
#000000black
#000000black
Muted
#e4e5e1gainsboro
#1d1e1ablack
Muted foreground
#565d46darkolivegreen
#b2b9a2darkgray
Accent
#8f9699lightslategray
#8f9699lightslategray
Accent foreground
#000000black
#000000black
Destructive
#830c0cmaroon
#eb2424crimson
Destructive foreground
#fac7c7pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#998f96lightslategray
#998f96lightslategray

Contrast

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

Light mode
Text on background19.75:1AAA
Text on card19.75:1AAA
Primary button6.70:1AA
Secondary button7.26:1AAA
Muted text5.42:1AA
Accent6.98:1AA
Destructive6.96:1AA
Dark mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button6.70:1AA
Secondary button7.26:1AAA
Muted text8.28:1AAA
Accent6.98:1AA
Destructive4.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.15 0.032 338.935);
  --muted: oklch(0.919 0.005 120.123);
  --muted-foreground: oklch(0.466 0.037 121.388);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.15 0.032 338.935);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.15 0.032 338.935);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.66 0.017 336.336);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.678 0.016 120.433);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.668 0.01 225.155);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.389 0.15 28.001);
  --destructive-foreground: oklch(0.874 0.058 18.323);
  --ring: oklch(0.66 0.017 336.336);
  --chart-1: oklch(0.66 0.017 336.336);
  --chart-2: oklch(0.678 0.016 120.433);
  --chart-3: oklch(0.668 0.01 225.155);
  --chart-4: oklch(0.702 0.015 120.389);
  --chart-5: oklch(0.657 0.027 336.615);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.026 337.925);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.232 0.007 120.513);
  --muted-foreground: oklch(0.773 0.033 120.752);
  --popover: oklch(0.137 0.026 337.925);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.026 337.925);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.66 0.017 336.336);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.678 0.016 120.433);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.668 0.01 225.155);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.602 0.229 27.705);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.66 0.017 336.336);
  --chart-1: oklch(0.66 0.017 336.336);
  --chart-2: oklch(0.678 0.016 120.433);
  --chart-3: oklch(0.668 0.01 225.155);
  --chart-4: oklch(0.702 0.015 120.389);
  --chart-5: oklch(0.657 0.027 336.615);
}