Poised for shadcn/ui

Poised is a shadcn/ui theme built around a light violet primary color (#e2bcf1) with light teal accents (#bcf1e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light violet primary (#e2bcf1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#100514black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#0d0410black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#0d0410black
#ffffffwhite
Primary
#e2bcf1thistle
#e2bcf1thistle
Primary foreground
#4e1565indigo
#4e1565indigo
Secondary
#f1e2bcwheat
#f1e2bcwheat
Secondary foreground
#654e15saddlebrown
#654e15saddlebrown
Muted
#f3f3f1whitesmoke
#0e0d0cblack
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#bcf1e2paleturquoise
#bcf1e2paleturquoise
Accent foreground
#04110dblack
#04110dblack
Destructive
#9c3407saddlebrown
#ea4e0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e2bcf1thistle
#e2bcf1thistle

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.72:1AAA
Primary button7.81:1AAA
Secondary button6.14:1AA
Muted text6.29:1AA
Accent15.37:1AAA
Destructive7.23:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.81:1AAA
Secondary button6.14:1AA
Muted text7.96:1AAA
Accent15.37:1AAA
Destructive3.76:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.037 316.392);
  --muted: oklch(0.963 0.002 88.807);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.133 0.032 317.106);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.133 0.032 317.106);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.844 0.083 316.318);
  --primary-foreground: oklch(0.333 0.136 314.298);
  --secondary: oklch(0.914 0.052 89.015);
  --secondary-foreground: oklch(0.438 0.078 86.289);
  --accent: oklch(0.917 0.058 175.737);
  --accent-foreground: oklch(0.162 0.022 174.883);
  --destructive: oklch(0.472 0.147 38.991);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.083 316.318);
  --chart-1: oklch(0.844 0.083 316.318);
  --chart-2: oklch(0.914 0.052 89.015);
  --chart-3: oklch(0.917 0.058 175.737);
  --chart-4: oklch(0.93 0.043 89.001);
  --chart-5: oklch(0.843 0.087 316.304);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.16 0.004 88.919);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --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.844 0.083 316.318);
  --primary-foreground: oklch(0.333 0.136 314.298);
  --secondary: oklch(0.914 0.052 89.015);
  --secondary-foreground: oklch(0.438 0.078 86.289);
  --accent: oklch(0.917 0.058 175.737);
  --accent-foreground: oklch(0.162 0.022 174.883);
  --destructive: oklch(0.634 0.202 38.26);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.083 316.318);
  --chart-1: oklch(0.844 0.083 316.318);
  --chart-2: oklch(0.914 0.052 89.015);
  --chart-3: oklch(0.917 0.058 175.737);
  --chart-4: oklch(0.93 0.043 89.001);
  --chart-5: oklch(0.843 0.087 316.304);
}