Pointless for shadcn/ui

Pointless is a shadcn/ui theme built around a deep teal primary color (#106540) with deep pink accents (#651035). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the deep teal primary (#106540) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#f7fdfamintcream
#030705black
Foreground
#030c08black
#ffffffwhite
Card
#f3fcf8mintcream
#040b08black
Card foreground
#020806black
#ffffffwhite
Popover
#f7fdfamintcream
#030705black
Popover foreground
#030c08black
#ffffffwhite
Primary
#106540darkslategray
#106540darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#651035maroon
#651035maroon
Secondary foreground
#f3b4cfpink
#f3b4cfpink
Muted
#efe1e7mistyrose
#1e1016black
Muted foreground
#53464cdarkslategray
#b9acb2darkgray
Accent
#651035maroon
#651035maroon
Accent foreground
#f3b4cfpink
#f3b4cfpink
Destructive
#913003saddlebrown
#fa6019orangered
Destructive foreground
#fed9c8bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#106540darkslategray
#106540darkslategray

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card19.30:1AAA
Primary button7.05:1AAA
Secondary button7.27:1AAA
Muted text7.07:1AAA
Accent7.27:1AAA
Destructive6.08:1AA
Dark mode
Text on background20.23:1AAA
Text on card19.87:1AAA
Primary button7.05:1AAA
Secondary button7.27:1AAA
Muted text8.42:1AAA
Accent7.27:1AAA
Destructive6.77:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 168.525);
  --foreground: oklch(0.143 0.02 168.436);
  --muted: oklch(0.923 0.017 349.236);
  --muted-foreground: oklch(0.41 0.019 349.95);
  --popover: oklch(0.989 0.007 168.525);
  --popover-foreground: oklch(0.143 0.02 168.436);
  --card: oklch(0.983 0.011 168.418);
  --card-foreground: oklch(0.125 0.017 169.003);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.451 0.098 158.524);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.34 0.121 0.412);
  --secondary-foreground: oklch(0.836 0.081 351.269);
  --accent: oklch(0.34 0.121 0.412);
  --accent-foreground: oklch(0.836 0.081 351.269);
  --destructive: oklch(0.448 0.139 39.72);
  --destructive-foreground: oklch(0.912 0.047 46.344);
  --ring: oklch(0.451 0.098 158.524);
  --chart-1: oklch(0.451 0.098 158.524);
  --chart-2: oklch(0.34 0.121 0.412);
  --chart-3: oklch(0.34 0.121 0.412);
  --chart-4: oklch(0.37 0.133 0.724);
  --chart-5: oklch(0.456 0.101 158.145);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.012 168.923);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.195 0.025 352.115);
  --muted-foreground: oklch(0.757 0.016 349.305);
  --popover: oklch(0.122 0.012 168.923);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.014 168.833);
  --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.451 0.098 158.524);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.34 0.121 0.412);
  --secondary-foreground: oklch(0.836 0.081 351.269);
  --accent: oklch(0.34 0.121 0.412);
  --accent-foreground: oklch(0.836 0.081 351.269);
  --destructive: oklch(0.682 0.202 40.649);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.451 0.098 158.524);
  --chart-1: oklch(0.451 0.098 158.524);
  --chart-2: oklch(0.34 0.121 0.412);
  --chart-3: oklch(0.34 0.121 0.412);
  --chart-4: oklch(0.37 0.133 0.724);
  --chart-5: oklch(0.456 0.101 158.145);
}