SALO-AI-CMS-DARK-SIDE-OF-THE-PORKY for shadcn/ui

SALO-AI-CMS-DARK-SIDE-OF-THE-PORKY is a shadcn/ui theme built around a vivid pink primary color (#de1b6d) with vivid blue accents (#1b6dde). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#de1b6d) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#ffffffwhite
#040102black
Foreground
#0d0207black
#ffffffwhite
Card
#fcfcfcsnow
#070305black
Card foreground
#090205black
#ffffffwhite
Popover
#fcfcfcsnow
#070305black
Popover foreground
#090205black
#ffffffwhite
Primary
#de1b6dmediumvioletred
#de1b6dmediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6dde1blawngreen
#6dde1blawngreen
Secondary foreground
#142905black
#000000black
Muted
#e5e9e2gainsboro
#161616black
Muted foreground
#4c4e4bdarkslategray
#b2b4b1darkgray
Accent
#1b6dderoyalblue
#282828darkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9d2e0csaddlebrown
#de1111red
Destructive foreground
#fde5demistyrose
#ffffffwhite
Border
#ebe5e8linen
#251d20black
Input
#ebe5e8linen
#251d20black
Ring
#de1b6dmediumvioletred
#161616black

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card20.09:1AAA
Primary button4.66:1AA
Secondary button9.00:1AAA
Muted text6.83:1AA
Accent4.90:1AA
Destructive6.19:1AA
Dark mode
Text on background20.75:1AAA
Text on card20.51:1AAA
Primary button4.66:1AA
Secondary button12.15:1AAA
Muted text8.66:1AAA
Accent14.74:1AAA
Destructive5.02:1AA

CSS variables

Paste this into your globals.css to use SALO-AI-CMS-DARK-SIDE-OF-THE-PORKY in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.118 0.03 349.742);
  --muted: oklch(0.929 0.011 131.817);
  --muted-foreground: oklch(0.421 0.005 131.831);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.103 0.026 349.197);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.103 0.026 349.197);
  --border: oklch(0.928 0.007 349.872);
  --input: oklch(0.928 0.007 349.872);
  --primary: oklch(0.589 0.225 4.271);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.803 0.235 136.646);
  --secondary-foreground: oklch(0.253 0.065 134.669);
  --accent: oklch(0.554 0.19 258.506);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.466 0.152 35.747);
  --destructive-foreground: oklch(0.939 0.028 37.631);
  --ring: oklch(0.589 0.225 4.271);
  --chart-1: oklch(0.589 0.225 4.271);
  --chart-2: oklch(0.803 0.235 136.646);
  --chart-3: oklch(0.554 0.19 258.506);
  --chart-4: oklch(0.821 0.234 136.255);
  --chart-5: oklch(0.594 0.229 4.944);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.013 349.379);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.2 0 180);
  --muted-foreground: oklch(0.768 0.005 131.775);
  --popover: oklch(0.108 0.016 349.379);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.016 349.379);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.242 0.014 351.196);
  --input: oklch(0.242 0.014 351.196);
  --primary: oklch(0.589 0.225 4.271);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.803 0.235 136.646);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.277 0 172.875);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.569 0.227 28.649);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.2 0 180);
  --chart-1: oklch(0.589 0.225 4.271);
  --chart-2: oklch(0.803 0.235 136.646);
  --chart-3: oklch(0.277 0 172.875);
  --chart-4: oklch(0.821 0.234 136.255);
  --chart-5: oklch(0.594 0.229 4.944);
}