Licensing for shadcn/ui

Licensing is a shadcn/ui theme built around a light blue primary color (#eeeff6) with muted light blue accents (#c7c9db). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#eeeff6) on a blue-tinted background (#03040c).

Color palette

TokenLightDark
Background
#ffffffwhite
#03040cblack
Foreground
#04040cblack
#fbfcfdwhite
Card
#ffffffwhite
#03040cblack
Card foreground
#04040cblack
#fbfcfdwhite
Popover
#ffffffwhite
#03040cblack
Popover foreground
#04040cblack
#fbfcfdwhite
Primary
#eeeff6whitesmoke
#eeeff6whitesmoke
Primary foreground
#3e4375darkslateblue
#3e4375darkslateblue
Secondary
#dfe0e7gainsboro
#1e1f24black
Secondary foreground
#404254darkslategray
#b4b5c0silver
Muted
#e4e5eclavender
#13141bblack
Muted foreground
#565761dimgray
#9e9fa9darkgray
Accent
#c7c9dblightgrey
#292b3ddarkslategray
Accent foreground
#2c2e44darkslategray
#c2c4d6lightsteelblue
Destructive
#af1a04firebrick
#eb2305orangered
Destructive foreground
#fee9e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eeeff6whitesmoke
#eeeff6whitesmoke

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button8.09:1AAA
Secondary button7.51:1AAA
Muted text5.69:1AA
Accent8.10:1AAA
Destructive6.05:1AA
Dark mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button8.09:1AAA
Secondary button8.08:1AAA
Muted text7.00:1AAA
Accent8.04:1AAA
Destructive4.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.114 0.02 275.96);
  --muted: oklch(0.923 0.01 281.11);
  --muted-foreground: oklch(0.461 0.016 280.704);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.114 0.02 275.96);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.114 0.02 275.96);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.954 0.01 281.125);
  --primary-foreground: oklch(0.403 0.084 277.156);
  --secondary: oklch(0.908 0.009 281.128);
  --secondary-foreground: oklch(0.385 0.029 279.945);
  --accent: oklch(0.84 0.025 280.786);
  --accent-foreground: oklch(0.31 0.04 278.896);
  --destructive: oklch(0.484 0.184 31.29);
  --destructive-foreground: oklch(0.951 0.024 28.077);
  --ring: oklch(0.954 0.01 281.125);
  --chart-1: oklch(0.954 0.01 281.125);
  --chart-2: oklch(0.908 0.009 281.128);
  --chart-3: oklch(0.84 0.025 280.786);
  --chart-4: oklch(0.933 0.006 281.176);
  --chart-5: oklch(0.953 0.01 281.108);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.022 275.183);
  --foreground: oklch(0.99 0.002 281.248);
  --muted: oklch(0.192 0.015 279.91);
  --muted-foreground: oklch(0.704 0.014 280.951);
  --popover: oklch(0.112 0.022 275.183);
  --popover-foreground: oklch(0.99 0.002 281.248);
  --card: oklch(0.112 0.022 275.183);
  --card-foreground: oklch(0.99 0.002 281.248);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.954 0.01 281.125);
  --primary-foreground: oklch(0.403 0.084 277.156);
  --secondary: oklch(0.24 0.01 280.566);
  --secondary-foreground: oklch(0.776 0.016 280.952);
  --accent: oklch(0.296 0.032 279.342);
  --accent-foreground: oklch(0.825 0.024 280.796);
  --destructive: oklch(0.601 0.232 31.018);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.954 0.01 281.125);
  --chart-1: oklch(0.954 0.01 281.125);
  --chart-2: oklch(0.24 0.01 280.566);
  --chart-3: oklch(0.296 0.032 279.342);
  --chart-4: oklch(0.27 0.012 280.518);
  --chart-5: oklch(0.953 0.01 281.108);
}