Intelligent for shadcn/ui

Intelligent is a shadcn/ui theme built around a blue primary color (#374881) with green accents (#488137). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the blue primary (#374881) on a blue-tinted background (#04060b).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#04060bblack
Foreground
#010204black
#f8f9fbghostwhite
Card
#f8f9fcghostwhite
#04060bblack
Card foreground
#010204black
#f8f9fbghostwhite
Popover
#f8f9fcghostwhite
#04060bblack
Popover foreground
#010204black
#f8f9fbghostwhite
Primary
#374881darkslateblue
#374881darkslateblue
Primary foreground
#f1f3f9whitesmoke
#f1f3f9whitesmoke
Secondary
#813748brown
#813748brown
Secondary foreground
#f9f1f3whitesmoke
#f9f1f3whitesmoke
Muted
#ded3d6gainsboro
#2c2123darkslategray
Muted foreground
#404040darkslategray
#bfbfbfsilver
Accent
#488137darkolivegreen
#488137darkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a54209saddlebrown
#f5813dcoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#374881darkslateblue
#374881darkslateblue

Contrast

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

Light mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button7.85:1AAA
Secondary button7.36:1AAA
Muted text7.11:1AAA
Accent4.72:1AA
Destructive6.22:1AA
Dark mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button7.85:1AAA
Secondary button7.36:1AAA
Muted text8.49:1AAA
Accent4.72:1AA
Destructive8.05:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 272.604);
  --foreground: oklch(0.079 0.016 262.111);
  --muted: oklch(0.877 0.013 1.377);
  --muted-foreground: oklch(0.371 0 168.69);
  --popover: oklch(0.981 0.005 272.604);
  --popover-foreground: oklch(0.079 0.016 262.111);
  --card: oklch(0.981 0.005 272.604);
  --card-foreground: oklch(0.079 0.016 262.111);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.417 0.096 269.17);
  --primary-foreground: oklch(0.963 0.009 272.564);
  --secondary: oklch(0.441 0.103 7.687);
  --secondary-foreground: oklch(0.964 0.009 1.224);
  --accent: oklch(0.545 0.122 138.904);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.506 0.144 43.667);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.417 0.096 269.17);
  --chart-1: oklch(0.417 0.096 269.17);
  --chart-2: oklch(0.441 0.103 7.687);
  --chart-3: oklch(0.545 0.122 138.904);
  --chart-4: oklch(0.466 0.11 7.77);
  --chart-5: oklch(0.414 0.104 268.823);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.013 267.626);
  --foreground: oklch(0.982 0.003 272.623);
  --muted: oklch(0.26 0.018 2.857);
  --muted-foreground: oklch(0.805 0 169.695);
  --popover: oklch(0.122 0.013 267.626);
  --popover-foreground: oklch(0.982 0.003 272.623);
  --card: oklch(0.122 0.013 267.626);
  --card-foreground: oklch(0.982 0.003 272.623);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.417 0.096 269.17);
  --primary-foreground: oklch(0.963 0.009 272.564);
  --secondary: oklch(0.441 0.103 7.687);
  --secondary-foreground: oklch(0.964 0.009 1.224);
  --accent: oklch(0.545 0.122 138.904);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.722 0.163 47.919);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.417 0.096 269.17);
  --chart-1: oklch(0.417 0.096 269.17);
  --chart-2: oklch(0.441 0.103 7.687);
  --chart-3: oklch(0.545 0.122 138.904);
  --chart-4: oklch(0.466 0.11 7.77);
  --chart-5: oklch(0.414 0.104 268.823);
}