Tail for shadcn/ui

Tail is a shadcn/ui theme built around a light pink primary color (#eaaec1) with light blue accents (#aec1ea). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the light pink primary (#eaaec1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f9snow
#000000black
Foreground
#0f0508black
#ffffffwhite
Card
#fcf2f5lavenderblush
#030303black
Card foreground
#0b0406black
#ffffffwhite
Popover
#fcf2f5lavenderblush
#030303black
Popover foreground
#0b0406black
#ffffffwhite
Primary
#eaaec1lightpink
#eaaec1lightpink
Primary foreground
#511528maroon
#511528maroon
Secondary
#c1eaaepalegoldenrod
#c1eaaepalegoldenrod
Secondary foreground
#285115darkgreen
#285115darkgreen
Muted
#d8dcd6gainsboro
#252923darkslategray
Muted foreground
#617458dimgray
#94a78bdarkseagreen
Accent
#aec1ealightsteelblue
#aec1ealightsteelblue
Accent foreground
#152851midnightblue
#152851midnightblue
Destructive
#d31912firebrick
#ec2922crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eaaec1lightpink
#eaaec1lightpink

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card18.57:1AAA
Primary button7.60:1AAA
Secondary button6.87:1AA
Muted text3.63:1AA Large
Accent7.98:1AAA
Destructive5.35:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.60:1AAA
Secondary button6.87:1AA
Muted text5.72:1AA
Accent7.98:1AAA
Destructive4.28:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.008 355.842);
  --foreground: oklch(0.135 0.022 356.876);
  --muted: oklch(0.889 0.009 135.473);
  --muted-foreground: oklch(0.536 0.049 135.859);
  --popover: oklch(0.971 0.012 355.959);
  --popover-foreground: oklch(0.122 0.019 355.49);
  --card: oklch(0.971 0.012 355.959);
  --card-foreground: oklch(0.122 0.019 355.49);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.812 0.074 358.132);
  --primary-foreground: oklch(0.302 0.091 5.096);
  --secondary: oklch(0.893 0.091 135.914);
  --secondary-foreground: oklch(0.391 0.1 137.435);
  --accent: oklch(0.81 0.062 265.494);
  --accent-foreground: oklch(0.286 0.079 263.503);
  --destructive: oklch(0.552 0.216 29.021);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.812 0.074 358.132);
  --chart-1: oklch(0.812 0.074 358.132);
  --chart-2: oklch(0.893 0.091 135.914);
  --chart-3: oklch(0.81 0.062 265.494);
  --chart-4: oklch(0.909 0.077 135.823);
  --chart-5: oklch(0.81 0.078 358.265);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.276 0.013 135.629);
  --muted-foreground: oklch(0.706 0.046 135.724);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.812 0.074 358.132);
  --primary-foreground: oklch(0.302 0.091 5.096);
  --secondary: oklch(0.893 0.091 135.914);
  --secondary-foreground: oklch(0.391 0.1 137.435);
  --accent: oklch(0.81 0.062 265.494);
  --accent-foreground: oklch(0.286 0.079 263.503);
  --destructive: oklch(0.607 0.228 28.533);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.812 0.074 358.132);
  --chart-1: oklch(0.812 0.074 358.132);
  --chart-2: oklch(0.893 0.091 135.914);
  --chart-3: oklch(0.81 0.062 265.494);
  --chart-4: oklch(0.909 0.077 135.823);
  --chart-5: oklch(0.81 0.078 358.265);
}