Internal for shadcn/ui

Internal is a shadcn/ui theme built around a pink primary color (#d28ea1) with teal accents (#8ed2bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#d28ea1) on a pink-tinted background (#0a0506).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0506black
Foreground
#0c0406black
#ffffffwhite
Card
#ffffffwhite
#0a0506black
Card foreground
#0c0406black
#ffffffwhite
Popover
#ffffffwhite
#0a0506black
Popover foreground
#0c0406black
#ffffffwhite
Primary
#d28ea1rosybrown
#d28ea1rosybrown
Primary foreground
#210d13black
#210d13black
Secondary
#8ed2bfskyblue
#8ed2bfskyblue
Secondary foreground
#0d211bblack
#0d211bblack
Muted
#dfece8gainsboro
#13201cblack
Muted foreground
#515d59dimgray
#a2aeabdarkgray
Accent
#8ed2bfskyblue
#8ed2bfskyblue
Accent foreground
#0d211bblack
#0d211bblack
Destructive
#971811darkred
#e73127crimson
Destructive foreground
#fbe0dfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d28ea1rosybrown
#d28ea1rosybrown

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.17:1AAA
Secondary button9.68:1AAA
Muted text5.64:1AA
Accent9.68:1AAA
Destructive6.84:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button7.17:1AAA
Secondary button9.68:1AAA
Muted text7.35:1AAA
Accent9.68:1AAA
Destructive4.31:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.121 0.02 357.688);
  --muted: oklch(0.932 0.014 177.28);
  --muted-foreground: oklch(0.466 0.016 176.679);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.121 0.02 357.688);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.121 0.02 357.688);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.72 0.086 0.984);
  --primary-foreground: oklch(0.192 0.035 2.759);
  --secondary: oklch(0.813 0.074 174.694);
  --secondary-foreground: oklch(0.228 0.028 173.253);
  --accent: oklch(0.813 0.074 174.694);
  --accent-foreground: oklch(0.228 0.028 173.253);
  --destructive: oklch(0.437 0.163 29.026);
  --destructive-foreground: oklch(0.929 0.03 21.32);
  --ring: oklch(0.72 0.086 0.984);
  --chart-1: oklch(0.72 0.086 0.984);
  --chart-2: oklch(0.813 0.074 174.694);
  --chart-3: oklch(0.813 0.074 174.694);
  --chart-4: oklch(0.83 0.067 175.084);
  --chart-5: oklch(0.718 0.092 1.228);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 357.588);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.229 0.019 175.093);
  --muted-foreground: oklch(0.741 0.014 177.14);
  --popover: oklch(0.125 0.013 357.588);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.013 357.588);
  --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.72 0.086 0.984);
  --primary-foreground: oklch(0.192 0.035 2.759);
  --secondary: oklch(0.813 0.074 174.694);
  --secondary-foreground: oklch(0.228 0.028 173.253);
  --accent: oklch(0.813 0.074 174.694);
  --accent-foreground: oklch(0.228 0.028 173.253);
  --destructive: oklch(0.604 0.218 28.712);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.72 0.086 0.984);
  --chart-1: oklch(0.72 0.086 0.984);
  --chart-2: oklch(0.813 0.074 174.694);
  --chart-3: oklch(0.813 0.074 174.694);
  --chart-4: oklch(0.83 0.067 175.084);
  --chart-5: oklch(0.718 0.092 1.228);
}