Pointless for shadcn/ui

Pointless is a shadcn/ui theme built around a muted deep orange primary color (#3d3324) with muted deep green accents (#3a3d24). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#3d3324) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#ffffffwhite
#040301black
Foreground
#100b04black
#fdfdfcwhite
Card
#fcfcfcsnow
#080602black
Card foreground
#0c0903black
#ffffffwhite
Popover
#ffffffwhite
#040301black
Popover foreground
#100b04black
#fdfdfcwhite
Primary
#3d3324darkslategray
#3d3324darkslategray
Primary foreground
#d7ccbclightgrey
#d7ccbclightgrey
Secondary
#3d2724darkslategray
#3d2724darkslategray
Secondary foreground
#d7bfbcsilver
#d7bfbcsilver
Muted
#f6efefwhitesmoke
#100a09black
Muted foreground
#63514fdimgray
#b09e9cdarkgray
Accent
#3a3d24darkslategray
#3a3d24darkslategray
Accent foreground
#d4d7bclightgrey
#d4d7bclightgrey
Destructive
#c90d0dfirebrick
#e60f0fred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3d3324darkslategray
#3d3324darkslategray

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.45:1AAA
Primary button7.82:1AAA
Secondary button7.99:1AAA
Muted text6.57:1AA
Accent7.63:1AAA
Destructive5.90:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.82:1AAA
Secondary button7.99:1AAA
Muted text7.68:1AAA
Accent7.63:1AAA
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.155 0.019 81.631);
  --muted: oklch(0.958 0.007 25.048);
  --muted-foreground: oklch(0.454 0.024 25.506);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.155 0.019 81.631);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.14 0.017 84.977);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.327 0.028 77.605);
  --primary-foreground: oklch(0.85 0.025 78.188);
  --secondary: oklch(0.298 0.034 26.297);
  --secondary-foreground: oklch(0.823 0.028 25.299);
  --accent: oklch(0.349 0.039 113.093);
  --accent-foreground: oklch(0.869 0.036 111.783);
  --destructive: oklch(0.529 0.212 28.698);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.327 0.028 77.605);
  --chart-1: oklch(0.327 0.028 77.605);
  --chart-2: oklch(0.298 0.034 26.297);
  --chart-3: oklch(0.349 0.039 113.093);
  --chart-4: oklch(0.326 0.038 26.353);
  --chart-5: oklch(0.329 0.031 77.448);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.01 84.951);
  --foreground: oklch(0.993 0.001 78.309);
  --muted: oklch(0.153 0.011 25.91);
  --muted-foreground: oklch(0.714 0.021 25.256);
  --popover: oklch(0.096 0.01 84.951);
  --popover-foreground: oklch(0.993 0.001 78.309);
  --card: oklch(0.121 0.013 84.951);
  --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.327 0.028 77.605);
  --primary-foreground: oklch(0.85 0.025 78.188);
  --secondary: oklch(0.298 0.034 26.297);
  --secondary-foreground: oklch(0.823 0.028 25.299);
  --accent: oklch(0.349 0.039 113.093);
  --accent-foreground: oklch(0.869 0.036 111.783);
  --destructive: oklch(0.585 0.235 28.767);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.327 0.028 77.605);
  --chart-1: oklch(0.327 0.028 77.605);
  --chart-2: oklch(0.298 0.034 26.297);
  --chart-3: oklch(0.349 0.039 113.093);
  --chart-4: oklch(0.326 0.038 26.353);
  --chart-5: oklch(0.329 0.031 77.448);
}