Pointless for shadcn/ui

Pointless is a shadcn/ui theme built around a vivid green primary color (#26f75b) with vivid purple accents (#f726c3). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid green primary (#26f75b) on a green-tinted background (#050b06).

Color palette

TokenLightDark
Background
#fbfefcwhite
#050b06black
Foreground
#030c05black
#f9fbf9mintcream
Card
#fbfefcwhite
#050b06black
Card foreground
#030c05black
#f9fbf9mintcream
Popover
#fbfefcwhite
#050b06black
Popover foreground
#030c05black
#f9fbf9mintcream
Primary
#26f75bspringgreen
#26f75bspringgreen
Primary foreground
#034f16darkgreen
#034f16darkgreen
Secondary
#f726c3deeppink
#f726c3deeppink
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ecdae7gainsboro
#251320black
Muted foreground
#5c4757dimgray
#b8a3b3darkgray
Accent
#f726c3deeppink
#f726c3deeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#750600maroon
#ff1b0fred
Destructive foreground
#ffada8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#26f75bspringgreen
#26f75bspringgreen

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button6.82:1AA
Secondary button3.48:1AA Large
Muted text6.32:1AA
Accent3.48:1AA Large
Destructive6.60:1AA
Dark mode
Text on background19.14:1AAA
Text on card19.14:1AAA
Primary button6.82:1AA
Secondary button3.48:1AA Large
Muted text7.47:1AAA
Accent3.48:1AA Large
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 153.808);
  --foreground: oklch(0.142 0.025 152.96);
  --muted: oklch(0.907 0.026 334.347);
  --muted-foreground: oklch(0.426 0.038 335.304);
  --popover: oklch(0.994 0.004 153.808);
  --popover-foreground: oklch(0.142 0.025 152.96);
  --card: oklch(0.994 0.004 153.808);
  --card-foreground: oklch(0.142 0.025 152.96);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.853 0.251 146.094);
  --primary-foreground: oklch(0.372 0.111 146.042);
  --secondary: oklch(0.667 0.27 341.435);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.667 0.27 341.435);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.357 0.142 30.237);
  --destructive-foreground: oklch(0.825 0.098 22.724);
  --ring: oklch(0.853 0.251 146.094);
  --chart-1: oklch(0.853 0.251 146.094);
  --chart-2: oklch(0.667 0.27 341.435);
  --chart-3: oklch(0.667 0.27 341.435);
  --chart-4: oklch(0.678 0.262 340.684);
  --chart-5: oklch(0.861 0.256 145.911);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.016 153.396);
  --foreground: oklch(0.986 0.003 153.822);
  --muted: oklch(0.218 0.036 336.481);
  --muted-foreground: oklch(0.738 0.033 334.612);
  --popover: oklch(0.138 0.016 153.396);
  --popover-foreground: oklch(0.986 0.003 153.822);
  --card: oklch(0.138 0.016 153.396);
  --card-foreground: oklch(0.986 0.003 153.822);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.853 0.251 146.094);
  --primary-foreground: oklch(0.372 0.111 146.042);
  --secondary: oklch(0.667 0.27 341.435);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.667 0.27 341.435);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.635 0.251 29.475);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.853 0.251 146.094);
  --chart-1: oklch(0.853 0.251 146.094);
  --chart-2: oklch(0.667 0.27 341.435);
  --chart-3: oklch(0.667 0.27 341.435);
  --chart-4: oklch(0.678 0.262 340.684);
  --chart-5: oklch(0.861 0.256 145.911);
}