Admirable for shadcn/ui

Admirable is a shadcn/ui theme built around a blue primary color (#7bb8db) with orange accents (#db9e7b). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the blue primary (#7bb8db) on a blue-tinted background (#070b0e).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#070b0eblack
Foreground
#050f15black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#070b0eblack
Card foreground
#050f15black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#070b0eblack
Popover foreground
#050f15black
#fcfdfdwhite
Primary
#7bb8dbskyblue
#7bb8dbskyblue
Primary foreground
#08151cblack
#08151cblack
Secondary
#db9e7bdarksalmon
#db9e7bdarksalmon
Secondary foreground
#1c0f08black
#1c0f08black
Muted
#f4efeclinen
#130e0bblack
Muted foreground
#4c433ddarkslategray
#c2b8b3silver
Accent
#db9e7bdarksalmon
#db9e7bdarksalmon
Accent foreground
#1c0f08black
#1c0f08black
Destructive
#850d00maroon
#ff1e05red
Destructive foreground
#ffbfb8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7bb8dbskyblue
#7bb8dbskyblue

Contrast

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

Light mode
Text on background18.54:1AAA
Text on card18.54:1AAA
Primary button8.54:1AAA
Secondary button8.19:1AAA
Muted text8.42:1AAA
Accent8.19:1AAA
Destructive6.53:1AA
Dark mode
Text on background19.38:1AAA
Text on card19.38:1AAA
Primary button8.54:1AAA
Secondary button8.19:1AAA
Muted text9.84:1AAA
Accent8.19:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.005 232.646);
  --foreground: oklch(0.161 0.021 232.674);
  --muted: oklch(0.954 0.007 52.481);
  --muted-foreground: oklch(0.39 0.016 52.047);
  --popover: oklch(0.985 0.005 232.646);
  --popover-foreground: oklch(0.161 0.021 232.674);
  --card: oklch(0.985 0.005 232.646);
  --card-foreground: oklch(0.161 0.021 232.674);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.753 0.081 234.732);
  --primary-foreground: oklch(0.186 0.024 235.113);
  --secondary: oklch(0.749 0.087 51.036);
  --secondary-foreground: oklch(0.185 0.026 51.146);
  --accent: oklch(0.749 0.087 51.036);
  --accent-foreground: oklch(0.185 0.026 51.146);
  --destructive: oklch(0.393 0.153 31.023);
  --destructive-foreground: oklch(0.86 0.075 25.941);
  --ring: oklch(0.753 0.081 234.732);
  --chart-1: oklch(0.753 0.081 234.732);
  --chart-2: oklch(0.749 0.087 51.036);
  --chart-3: oklch(0.749 0.087 51.036);
  --chart-4: oklch(0.772 0.079 51.256);
  --chart-5: oklch(0.754 0.084 234.885);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.146 0.01 231.47);
  --foreground: oklch(0.992 0.001 232.592);
  --muted: oklch(0.17 0.011 51.769);
  --muted-foreground: oklch(0.789 0.013 52.353);
  --popover: oklch(0.146 0.01 231.47);
  --popover-foreground: oklch(0.992 0.001 232.592);
  --card: oklch(0.146 0.01 231.47);
  --card-foreground: oklch(0.992 0.001 232.592);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.753 0.081 234.732);
  --primary-foreground: oklch(0.186 0.024 235.113);
  --secondary: oklch(0.749 0.087 51.036);
  --secondary-foreground: oklch(0.185 0.026 51.146);
  --accent: oklch(0.749 0.087 51.036);
  --accent-foreground: oklch(0.185 0.026 51.146);
  --destructive: oklch(0.635 0.251 30.27);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.753 0.081 234.732);
  --chart-1: oklch(0.753 0.081 234.732);
  --chart-2: oklch(0.749 0.087 51.036);
  --chart-3: oklch(0.749 0.087 51.036);
  --chart-4: oklch(0.772 0.079 51.256);
  --chart-5: oklch(0.754 0.084 234.885);
}