Scaly for shadcn/ui

Scaly is a shadcn/ui theme built around a light pink primary color (#f1c6d8) with light teal accents (#c6f1de). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#f1c6d8) on a neutral background (#070305).

Color palette

TokenLightDark
Background
#ffffffwhite
#070305black
Foreground
#040102black
#fdfcfcsnow
Card
#fcfcfcsnow
#0a0507black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#0a0507black
Popover foreground
#000000black
#ffffffwhite
Primary
#f1c6d8pink
#f1c6d8pink
Primary foreground
#6b1a3dbrown
#6b1a3dbrown
Secondary
#c6f1depaleturquoise
#c6f1depaleturquoise
Secondary foreground
#061911black
#061911black
Muted
#eff5f3whitesmoke
#0a100dblack
Muted foreground
#4d514fdarkslategray
#aeb2b0darkgray
Accent
#c6f1depaleturquoise
#c6f1depaleturquoise
Accent foreground
#061911black
#061911black
Destructive
#ba3103firebrick
#fb4509orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1c6d8pink
#f1c6d8pink

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button7.48:1AAA
Secondary button14.75:1AAA
Muted text7.31:1AAA
Accent14.75:1AAA
Destructive5.96:1AA
Dark mode
Text on background20.00:1AAA
Text on card20.23:1AAA
Primary button7.48:1AAA
Secondary button14.75:1AAA
Muted text8.97:1AAA
Accent14.75:1AAA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.084 0.016 348.383);
  --muted: oklch(0.966 0.007 168.519);
  --muted-foreground: oklch(0.431 0.007 168.276);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.868 0.055 350.416);
  --primary-foreground: oklch(0.362 0.118 358.478);
  --secondary: oklch(0.923 0.052 167.061);
  --secondary-foreground: oklch(0.193 0.03 163.589);
  --accent: oklch(0.923 0.052 167.061);
  --accent-foreground: oklch(0.193 0.03 163.589);
  --destructive: oklch(0.522 0.18 35.321);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.868 0.055 350.416);
  --chart-1: oklch(0.868 0.055 350.416);
  --chart-2: oklch(0.923 0.052 167.061);
  --chart-3: oklch(0.923 0.052 167.061);
  --chart-4: oklch(0.939 0.041 167.46);
  --chart-5: oklch(0.867 0.058 350.499);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.012 348.525);
  --foreground: oklch(0.992 0.001 348.756);
  --muted: oklch(0.165 0.011 166.688);
  --muted-foreground: oklch(0.76 0.006 168.509);
  --popover: oklch(0.125 0.014 348.54);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.014 348.54);
  --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.868 0.055 350.416);
  --primary-foreground: oklch(0.362 0.118 358.478);
  --secondary: oklch(0.923 0.052 167.061);
  --secondary-foreground: oklch(0.193 0.03 163.589);
  --accent: oklch(0.923 0.052 167.061);
  --accent-foreground: oklch(0.193 0.03 163.589);
  --destructive: oklch(0.654 0.225 35.212);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.868 0.055 350.416);
  --chart-1: oklch(0.868 0.055 350.416);
  --chart-2: oklch(0.923 0.052 167.061);
  --chart-3: oklch(0.923 0.052 167.061);
  --chart-4: oklch(0.939 0.041 167.46);
  --chart-5: oklch(0.867 0.058 350.499);
}