Adjective for shadcn/ui

Adjective is a shadcn/ui theme built around a vivid orange primary color (#f0bf6a) with vivid blue accents (#6a9cf0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f0bf6a) on an orange-tinted background (#0a0805).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0805black
Foreground
#0c0903black
#fdfdfcwhite
Card
#fcfcfcsnow
#0e0b07black
Card foreground
#080602black
#ffffffwhite
Popover
#ffffffwhite
#0a0805black
Popover foreground
#0c0903black
#fdfdfcwhite
Primary
#f0bf6asandybrown
#f0bf6asandybrown
Primary foreground
#251904black
#251904black
Secondary
#6a9cf0cornflowerblue
#6a9cf0cornflowerblue
Secondary foreground
#041025black
#041025black
Muted
#dfe6f1lavender
#0e1520black
Muted foreground
#4f5869dimgray
#96a0b0darkgray
Accent
#6a9cf0cornflowerblue
#6a9cf0cornflowerblue
Accent foreground
#041025black
#041025black
Destructive
#7b0e04maroon
#f6210ered
Destructive foreground
#fcbbb5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0bf6asandybrown
#f0bf6asandybrown

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.81:1AAA
Primary button10.16:1AAA
Secondary button6.87:1AA
Muted text5.69:1AA
Accent6.87:1AA
Destructive6.76:1AA
Dark mode
Text on background19.62:1AAA
Text on card19.63:1AAA
Primary button10.16:1AAA
Secondary button6.87:1AA
Muted text6.95:1AA
Accent6.87:1AA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.141 0.017 87.639);
  --muted: oklch(0.922 0.017 261.5);
  --muted-foreground: oklch(0.46 0.029 261.377);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.141 0.017 87.639);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.123 0.015 88.374);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.832 0.117 79.695);
  --primary-foreground: oklch(0.223 0.04 79.409);
  --secondary: oklch(0.694 0.136 260.755);
  --secondary-foreground: oklch(0.175 0.048 258.512);
  --accent: oklch(0.694 0.136 260.755);
  --accent-foreground: oklch(0.175 0.048 258.512);
  --destructive: oklch(0.374 0.143 30.326);
  --destructive-foreground: oklch(0.851 0.076 24.685);
  --ring: oklch(0.832 0.117 79.695);
  --chart-1: oklch(0.832 0.117 79.695);
  --chart-2: oklch(0.694 0.136 260.755);
  --chart-3: oklch(0.694 0.136 260.755);
  --chart-4: oklch(0.721 0.123 260.875);
  --chart-5: oklch(0.836 0.121 79.545);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.009 85.451);
  --foreground: oklch(0.993 0.001 81.514);
  --muted: oklch(0.193 0.025 261.087);
  --muted-foreground: oklch(0.703 0.026 261.461);
  --popover: oklch(0.137 0.009 85.451);
  --popover-foreground: oklch(0.993 0.001 81.514);
  --card: oklch(0.151 0.01 83.05);
  --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.832 0.117 79.695);
  --primary-foreground: oklch(0.223 0.04 79.409);
  --secondary: oklch(0.694 0.136 260.755);
  --secondary-foreground: oklch(0.175 0.048 258.512);
  --accent: oklch(0.694 0.136 260.755);
  --accent-foreground: oklch(0.175 0.048 258.512);
  --destructive: oklch(0.621 0.242 30.072);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.832 0.117 79.695);
  --chart-1: oklch(0.832 0.117 79.695);
  --chart-2: oklch(0.694 0.136 260.755);
  --chart-3: oklch(0.694 0.136 260.755);
  --chart-4: oklch(0.721 0.123 260.875);
  --chart-5: oklch(0.836 0.121 79.545);
}