Information for shadcn/ui

Information is a shadcn/ui theme built around a vivid light teal primary color (#b6fcf7) with muted light teal accents (#d2dada). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#b6fcf7) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#fbfefewhite
#050a0ablack
Foreground
#020e0dblack
#f9fbfbghostwhite
Card
#fbfefewhite
#050a0ablack
Card foreground
#020e0dblack
#f9fbfbghostwhite
Popover
#fbfefewhite
#050a0ablack
Popover foreground
#020e0dblack
#f9fbfbghostwhite
Primary
#b6fcf7paleturquoise
#b6fcf7paleturquoise
Primary foreground
#011817black
#011817black
Secondary
#d2dadalightgrey
#101818black
Secondary foreground
#374343darkslategray
#9dbebcdarkgray
Muted
#d6e5e4gainsboro
#1a2928darkslategray
Muted foreground
#566766dimgray
#98a9a8darkgray
Accent
#d2dadalightgrey
#101818black
Accent foreground
#374343darkslategray
#9dbebcdarkgray
Destructive
#893606saddlebrown
#f66d1echocolate
Destructive foreground
#fdd9c4bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6fcf7paleturquoise
#b6fcf7paleturquoise

Contrast

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

Light mode
Text on background19.33:1AAA
Text on card19.33:1AAA
Primary button15.90:1AAA
Secondary button7.23:1AAA
Muted text4.60:1AA
Accent7.23:1AAA
Destructive6.13:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button15.90:1AAA
Secondary button8.99:1AAA
Muted text6.18:1AA
Accent8.99:1AAA
Destructive7.10:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 192.357);
  --foreground: oklch(0.149 0.022 190.461);
  --muted: oklch(0.912 0.016 192.053);
  --muted-foreground: oklch(0.499 0.021 191.56);
  --popover: oklch(0.995 0.003 192.357);
  --popover-foreground: oklch(0.149 0.022 190.461);
  --card: oklch(0.995 0.003 192.357);
  --card-foreground: oklch(0.149 0.022 190.461);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.943 0.069 190.862);
  --primary-foreground: oklch(0.191 0.031 189.128);
  --secondary: oklch(0.883 0.009 192.217);
  --secondary-foreground: oklch(0.373 0.016 191.529);
  --accent: oklch(0.883 0.009 192.217);
  --accent-foreground: oklch(0.373 0.016 191.529);
  --destructive: oklch(0.443 0.125 43.89);
  --destructive-foreground: oklch(0.91 0.049 51.897);
  --ring: oklch(0.943 0.069 190.862);
  --chart-1: oklch(0.943 0.069 190.862);
  --chart-2: oklch(0.883 0.009 192.217);
  --chart-3: oklch(0.883 0.009 192.217);
  --chart-4: oklch(0.905 0.007 192.262);
  --chart-5: oklch(0.945 0.071 190.817);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 191.762);
  --foreground: oklch(0.986 0.002 192.395);
  --muted: oklch(0.266 0.021 190.765);
  --muted-foreground: oklch(0.722 0.019 191.874);
  --popover: oklch(0.139 0.01 191.762);
  --popover-foreground: oklch(0.986 0.002 192.395);
  --card: oklch(0.139 0.01 191.762);
  --card-foreground: oklch(0.986 0.002 192.395);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.943 0.069 190.862);
  --primary-foreground: oklch(0.191 0.031 189.128);
  --secondary: oklch(0.203 0.012 191.162);
  --secondary-foreground: oklch(0.776 0.035 191.471);
  --accent: oklch(0.203 0.012 191.162);
  --accent-foreground: oklch(0.776 0.035 191.471);
  --destructive: oklch(0.692 0.187 44.997);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.943 0.069 190.862);
  --chart-1: oklch(0.943 0.069 190.862);
  --chart-2: oklch(0.203 0.012 191.162);
  --chart-3: oklch(0.203 0.012 191.162);
  --chart-4: oklch(0.24 0.016 191.022);
  --chart-5: oklch(0.945 0.071 190.817);
}