Arrogance for shadcn/ui

Arrogance is a shadcn/ui theme built around a vivid orange primary color (#fb9856) with vivid blue accents (#56b9fb). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the vivid orange primary (#fb9856) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fdf9f7snow
#070503black
Foreground
#150b05black
#ffffffwhite
Card
#fdf9f7snow
#070503black
Card foreground
#150b05black
#ffffffwhite
Popover
#fdf9f7snow
#070503black
Popover foreground
#150b05black
#ffffffwhite
Primary
#fb9856sandybrown
#fb9856sandybrown
Primary foreground
#1e0c01black
#1e0c01black
Secondary
#56b9fbcornflowerblue
#56b9fbcornflowerblue
Secondary foreground
#01121eblack
#01121eblack
Muted
#e0e3e5gainsboro
#1a1d1fblack
Muted foreground
#42494ddarkslategray
#b2b9bdsilver
Accent
#56b9fbcornflowerblue
#56b9fbcornflowerblue
Accent foreground
#01121eblack
#01121eblack
Destructive
#bc3310firebrick
#ef6643tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fb9856sandybrown
#fb9856sandybrown

Contrast

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

Light mode
Text on background18.57:1AAA
Text on card18.57:1AAA
Primary button8.75:1AAA
Secondary button8.76:1AAA
Muted text7.13:1AAA
Accent8.76:1AAA
Destructive5.82:1AA
Dark mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button8.75:1AAA
Secondary button8.76:1AAA
Muted text8.56:1AAA
Accent8.76:1AAA
Destructive6.62:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.005 56.358);
  --foreground: oklch(0.161 0.022 58.352);
  --muted: oklch(0.915 0.004 236.502);
  --muted-foreground: oklch(0.399 0.012 236.876);
  --popover: oklch(0.985 0.005 56.358);
  --popover-foreground: oklch(0.161 0.022 58.352);
  --card: oklch(0.985 0.005 56.358);
  --card-foreground: oklch(0.161 0.022 58.352);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.77 0.144 52.617);
  --primary-foreground: oklch(0.179 0.04 59.666);
  --secondary: oklch(0.753 0.133 240.894);
  --secondary-foreground: oklch(0.174 0.036 236.93);
  --accent: oklch(0.753 0.133 240.894);
  --accent-foreground: oklch(0.174 0.036 236.93);
  --destructive: oklch(0.527 0.179 34.134);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.77 0.144 52.617);
  --chart-1: oklch(0.77 0.144 52.617);
  --chart-2: oklch(0.753 0.133 240.894);
  --chart-3: oklch(0.753 0.133 240.894);
  --chart-4: oklch(0.773 0.122 240.106);
  --chart-5: oklch(0.772 0.148 52.416);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.01 62.883);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.226 0.006 236.829);
  --muted-foreground: oklch(0.781 0.01 236.621);
  --popover: oklch(0.116 0.01 62.883);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.116 0.01 62.883);
  --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.77 0.144 52.617);
  --primary-foreground: oklch(0.179 0.04 59.666);
  --secondary: oklch(0.753 0.133 240.894);
  --secondary-foreground: oklch(0.174 0.036 236.93);
  --accent: oklch(0.753 0.133 240.894);
  --accent-foreground: oklch(0.174 0.036 236.93);
  --destructive: oklch(0.675 0.177 35.2);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.77 0.144 52.617);
  --chart-1: oklch(0.77 0.144 52.617);
  --chart-2: oklch(0.753 0.133 240.894);
  --chart-3: oklch(0.753 0.133 240.894);
  --chart-4: oklch(0.773 0.122 240.106);
  --chart-5: oklch(0.772 0.148 52.416);
}