Weird for shadcn/ui

Weird is a shadcn/ui theme built around a light cyan primary color (#e4eef1) with muted light cyan accents (#bed0d5). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the light cyan primary (#e4eef1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#000000black
#f9fafbghostwhite
Card
#f8fbfcghostwhite
#000000black
Card foreground
#000000black
#f9fafbghostwhite
Popover
#f8fbfcghostwhite
#000000black
Popover foreground
#000000black
#f9fafbghostwhite
Primary
#e4eef1lavender
#e4eef1lavender
Primary foreground
#152428black
#152428black
Secondary
#d2dcdfgainsboro
#212526darkslategray
Secondary foreground
#35464bdarkslategray
#b8bfc1silver
Muted
#d8e9eelavender
#112227black
Muted foreground
#404445darkslategray
#babebfsilver
Accent
#bed0d5lightsteelblue
#2f3d41darkslategray
Accent foreground
#26363bdarkslategray
#cad5d8lightgrey
Destructive
#a5450dsaddlebrown
#ee752ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4eef1lavender
#e4eef1lavender

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button13.55:1AAA
Secondary button7.09:1AAA
Muted text7.89:1AAA
Accent7.87:1AAA
Destructive6.06:1AA
Dark mode
Text on background20.09:1AAA
Text on card20.09:1AAA
Primary button13.55:1AAA
Secondary button8.28:1AAA
Muted text8.72:1AAA
Accent7.49:1AAA
Destructive7.24:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 216.029);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.923 0.019 216.119);
  --muted-foreground: oklch(0.382 0.006 216.085);
  --popover: oklch(0.986 0.004 216.029);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.004 216.029);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.943 0.011 216.065);
  --primary-foreground: oklch(0.249 0.022 216.99);
  --secondary: oklch(0.889 0.012 216.072);
  --secondary-foreground: oklch(0.381 0.023 216.514);
  --accent: oklch(0.846 0.021 216.147);
  --accent-foreground: oklch(0.322 0.023 216.699);
  --destructive: oklch(0.511 0.141 44.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.943 0.011 216.065);
  --chart-1: oklch(0.943 0.011 216.065);
  --chart-2: oklch(0.889 0.012 216.072);
  --chart-3: oklch(0.846 0.021 216.147);
  --chart-4: oklch(0.911 0.009 216.057);
  --chart-5: oklch(0.943 0.012 216.072);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.001 216.017);
  --muted: oklch(0.24 0.025 217.377);
  --muted-foreground: oklch(0.799 0.005 216.038);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.001 216.017);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.985 0.001 216.017);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.943 0.011 216.065);
  --primary-foreground: oklch(0.249 0.022 216.99);
  --secondary: oklch(0.261 0.006 216.133);
  --secondary-foreground: oklch(0.801 0.009 216.059);
  --accent: oklch(0.35 0.02 216.453);
  --accent-foreground: oklch(0.866 0.013 216.084);
  --destructive: oklch(0.694 0.169 46.957);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.943 0.011 216.065);
  --chart-1: oklch(0.943 0.011 216.065);
  --chart-2: oklch(0.261 0.006 216.133);
  --chart-3: oklch(0.35 0.02 216.453);
  --chart-4: oklch(0.293 0.007 216.142);
  --chart-5: oklch(0.943 0.012 216.072);
}