Weird for shadcn/ui

Weird is a shadcn/ui theme built around a light pink primary color (#ecc6d9) with light blue accents (#c6d9ec). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the light pink primary (#ecc6d9) on a neutral background (#080305).

Color palette

TokenLightDark
Background
#fcf8fasnow
#080305black
Foreground
#17030dblack
#ffffffwhite
Card
#fcf8fasnow
#080305black
Card foreground
#17030dblack
#ffffffwhite
Popover
#fcf8fasnow
#080305black
Popover foreground
#17030dblack
#ffffffwhite
Primary
#ecc6d9thistle
#ecc6d9thistle
Primary foreground
#602041darkslategray
#602041darkslategray
Secondary
#d9ecc6gainsboro
#d9ecc6gainsboro
Secondary foreground
#0d1306black
#0d1306black
Muted
#d9e0d2gainsboro
#262d1fdarkslategray
Muted foreground
#575e50dimgray
#a9afa1darkgray
Accent
#c6d9ecpowderblue
#c6d9ecpowderblue
Accent foreground
#204160darkslategray
#204160darkslategray
Destructive
#841d0bmaroon
#ed3c1dorangered
Destructive foreground
#facec6pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ecc6d9thistle
#ecc6d9thistle

Contrast

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

Light mode
Text on background18.91:1AAA
Text on card18.91:1AAA
Primary button7.64:1AAA
Secondary button15.05:1AAA
Muted text4.96:1AA
Accent7.33:1AAA
Destructive6.80:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.64:1AAA
Secondary button15.05:1AAA
Muted text6.29:1AA
Accent7.33:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 344.393);
  --foreground: oklch(0.145 0.045 348.68);
  --muted: oklch(0.897 0.02 128.05);
  --muted-foreground: oklch(0.47 0.023 128.385);
  --popover: oklch(0.983 0.004 344.393);
  --popover-foreground: oklch(0.145 0.045 348.68);
  --card: oklch(0.983 0.004 344.393);
  --card-foreground: oklch(0.145 0.045 348.68);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.864 0.05 345.716);
  --primary-foreground: oklch(0.352 0.1 351.443);
  --secondary: oklch(0.919 0.054 128.503);
  --secondary-foreground: oklch(0.176 0.027 129.244);
  --accent: oklch(0.877 0.033 246.398);
  --accent-foreground: oklch(0.365 0.066 248.648);
  --destructive: oklch(0.404 0.141 32.226);
  --destructive-foreground: oklch(0.888 0.051 29.785);
  --ring: oklch(0.864 0.05 345.716);
  --chart-1: oklch(0.864 0.05 345.716);
  --chart-2: oklch(0.919 0.054 128.503);
  --chart-3: oklch(0.877 0.033 246.398);
  --chart-4: oklch(0.935 0.043 128.345);
  --chart-5: oklch(0.863 0.053 345.802);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.017 344.169);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.287 0.026 128.911);
  --muted-foreground: oklch(0.745 0.021 128.121);
  --popover: oklch(0.108 0.017 344.169);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.017 344.169);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.864 0.05 345.716);
  --primary-foreground: oklch(0.352 0.1 351.443);
  --secondary: oklch(0.919 0.054 128.503);
  --secondary-foreground: oklch(0.176 0.027 129.244);
  --accent: oklch(0.877 0.033 246.398);
  --accent-foreground: oklch(0.365 0.066 248.648);
  --destructive: oklch(0.622 0.217 32.229);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.864 0.05 345.716);
  --chart-1: oklch(0.864 0.05 345.716);
  --chart-2: oklch(0.919 0.054 128.503);
  --chart-3: oklch(0.877 0.033 246.398);
  --chart-4: oklch(0.935 0.043 128.345);
  --chart-5: oklch(0.863 0.053 345.802);
}