Tattoo for shadcn/ui

Tattoo is a shadcn/ui theme built around a teal primary color (#3dae99) with red accents (#ae3d52). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#3dae99) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#000000black
Foreground
#010404black
#fcfdfdwhite
Card
#f5faf9mintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfbmintcream
#000000black
Popover foreground
#010404black
#fcfdfdwhite
Primary
#3dae99lightseagreen
#3dae99lightseagreen
Primary foreground
#081714black
#081714black
Secondary
#ae3d52sienna
#ae3d52sienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dcd6d7gainsboro
#292324darkslategray
Muted foreground
#555354dimgray
#acaaaadarkgray
Accent
#ae3d52sienna
#ae3d52sienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d14d05chocolate
#f96515orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3dae99lightseagreen
#3dae99lightseagreen

Contrast

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

Light mode
Text on background19.85:1AAA
Text on card19.89:1AAA
Primary button6.72:1AA
Secondary button5.86:1AA
Muted text5.30:1AA
Accent5.86:1AA
Destructive4.41:1AA Large
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button6.72:1AA
Secondary button5.86:1AA
Muted text6.65:1AA
Accent5.86:1AA
Destructive6.90:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 184.216);
  --foreground: oklch(0.101 0.013 184.036);
  --muted: oklch(0.88 0.007 4.519);
  --muted-foreground: oklch(0.445 0.002 4.445);
  --popover: oklch(0.987 0.004 184.216);
  --popover-foreground: oklch(0.101 0.013 184.036);
  --card: oklch(0.981 0.005 184.167);
  --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.681 0.105 178.443);
  --primary-foreground: oklch(0.189 0.021 180.84);
  --secondary: oklch(0.524 0.147 12.832);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.147 12.832);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.592 0.18 41.073);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.681 0.105 178.443);
  --chart-1: oklch(0.681 0.105 178.443);
  --chart-2: oklch(0.524 0.147 12.832);
  --chart-3: oklch(0.524 0.147 12.832);
  --chart-4: oklch(0.548 0.155 12.902);
  --chart-5: oklch(0.689 0.11 178.106);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 184.291);
  --muted: oklch(0.264 0.009 5.246);
  --muted-foreground: oklch(0.74 0.002 4.383);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 184.291);
  --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.681 0.105 178.443);
  --primary-foreground: oklch(0.189 0.021 180.84);
  --secondary: oklch(0.524 0.147 12.832);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.147 12.832);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.686 0.197 42.63);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.681 0.105 178.443);
  --chart-1: oklch(0.681 0.105 178.443);
  --chart-2: oklch(0.524 0.147 12.832);
  --chart-3: oklch(0.524 0.147 12.832);
  --chart-4: oklch(0.548 0.155 12.902);
  --chart-5: oklch(0.689 0.11 178.106);
}