Unused for shadcn/ui

Unused is a shadcn/ui theme built around a blue primary color (#7ea9c9) with orange accents (#c99d7e). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#7ea9c9) on a blue-tinted background (#05080b).

Color palette

TokenLightDark
Background
#f7fafdghostwhite
#05080bblack
Foreground
#040b10black
#f5f8f9whitesmoke
Card
#f7fafdghostwhite
#05080bblack
Card foreground
#040b10black
#f5f8f9whitesmoke
Popover
#f7fafdghostwhite
#05080bblack
Popover foreground
#040b10black
#f5f8f9whitesmoke
Primary
#7ea9c9cornflowerblue
#7ea9c9cornflowerblue
Primary foreground
#060b0eblack
#060b0eblack
Secondary
#c99d7erosybrown
#c99d7erosybrown
Secondary foreground
#0e0a06black
#0e0a06black
Muted
#ddd8d4gainsboro
#2b2522darkslategray
Muted foreground
#5a5653dimgray
#aca8a5darkgray
Accent
#c99d7erosybrown
#c99d7erosybrown
Accent foreground
#0e0a06black
#0e0a06black
Destructive
#cf4307chocolate
#e74b08orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7ea9c9cornflowerblue
#7ea9c9cornflowerblue

Contrast

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

Light mode
Text on background18.94:1AAA
Text on card18.94:1AAA
Primary button7.94:1AAA
Secondary button8.07:1AAA
Muted text5.13:1AA
Accent8.07:1AAA
Destructive4.71:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button7.94:1AAA
Secondary button8.07:1AAA
Muted text6.37:1AA
Accent8.07:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.005 238.428);
  --foreground: oklch(0.145 0.018 235.381);
  --muted: oklch(0.885 0.008 58.238);
  --muted-foreground: oklch(0.456 0.007 58.148);
  --popover: oklch(0.984 0.005 238.428);
  --popover-foreground: oklch(0.145 0.018 235.381);
  --card: oklch(0.984 0.005 238.428);
  --card-foreground: oklch(0.145 0.018 235.381);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.716 0.066 239.913);
  --primary-foreground: oklch(0.145 0.012 236.548);
  --secondary: oklch(0.729 0.068 56.953);
  --secondary-foreground: oklch(0.147 0.012 61.526);
  --accent: oklch(0.729 0.068 56.953);
  --accent-foreground: oklch(0.147 0.012 61.526);
  --destructive: oklch(0.577 0.185 38.17);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.716 0.066 239.913);
  --chart-1: oklch(0.716 0.066 239.913);
  --chart-2: oklch(0.729 0.068 56.953);
  --chart-3: oklch(0.729 0.068 56.953);
  --chart-4: oklch(0.752 0.062 57.147);
  --chart-5: oklch(0.717 0.07 240.052);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.01 233.144);
  --foreground: oklch(0.977 0.003 238.409);
  --muted: oklch(0.271 0.011 57.815);
  --muted-foreground: oklch(0.733 0.006 58.244);
  --popover: oklch(0.131 0.01 233.144);
  --popover-foreground: oklch(0.977 0.003 238.409);
  --card: oklch(0.131 0.01 233.144);
  --card-foreground: oklch(0.977 0.003 238.409);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.716 0.066 239.913);
  --primary-foreground: oklch(0.145 0.012 236.548);
  --secondary: oklch(0.729 0.068 56.953);
  --secondary-foreground: oklch(0.147 0.012 61.526);
  --accent: oklch(0.729 0.068 56.953);
  --accent-foreground: oklch(0.147 0.012 61.526);
  --destructive: oklch(0.627 0.202 37.976);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.716 0.066 239.913);
  --chart-1: oklch(0.716 0.066 239.913);
  --chart-2: oklch(0.729 0.068 56.953);
  --chart-3: oklch(0.729 0.068 56.953);
  --chart-4: oklch(0.752 0.062 57.147);
  --chart-5: oklch(0.717 0.07 240.052);
}