Brisk for shadcn/ui

Brisk is a shadcn/ui theme built around a near-white primary color (#eeecee) with muted light purple accents (#c9baca). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#eeecee) on a neutral background (#040104).

Color palette

TokenLightDark
Background
#ffffffwhite
#040104black
Foreground
#100410black
#ffffffwhite
Card
#ffffffwhite
#040104black
Card foreground
#100410black
#ffffffwhite
Popover
#ffffffwhite
#040104black
Popover foreground
#100410black
#ffffffwhite
Primary
#eeeceewhitesmoke
#eeeceewhitesmoke
Primary foreground
#594f59dimgray
#594f59dimgray
Secondary
#d5d2d5lightgrey
#201821black
Secondary foreground
#3c393cdarkslategray
#c0a9c1silver
Muted
#f6eff6whitesmoke
#100910black
Muted foreground
#59495adimgray
#b5a5b6darkgray
Accent
#c9bacasilver
#3a263bdarkslategray
Accent foreground
#2e232edarkslategray
#d4bed5thistle
Destructive
#8d2407saddlebrown
#f43e0borangered
Destructive foreground
#fcd4c9bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eeeceewhitesmoke
#eeeceewhitesmoke

Contrast

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

Light mode
Text on background20.05:1AAA
Text on card20.05:1AAA
Primary button6.65:1AA
Secondary button7.61:1AAA
Muted text7.34:1AAA
Accent8.13:1AAA
Destructive6.44:1AA
Dark mode
Text on background20.75:1AAA
Text on card20.75:1AAA
Primary button6.65:1AA
Secondary button8.00:1AAA
Muted text8.43:1AAA
Accent7.96:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.138 0.035 326.177);
  --muted: oklch(0.959 0.012 324.698);
  --muted-foreground: oklch(0.429 0.033 325.097);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.138 0.035 326.177);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.138 0.035 326.177);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.946 0.004 324.643);
  --primary-foreground: oklch(0.441 0.021 324.91);
  --secondary: oklch(0.868 0.004 324.651);
  --secondary-foreground: oklch(0.349 0.008 324.756);
  --accent: oklch(0.806 0.028 324.836);
  --accent-foreground: oklch(0.274 0.024 325.159);
  --destructive: oklch(0.428 0.145 34.699);
  --destructive-foreground: oklch(0.902 0.048 35.95);
  --ring: oklch(0.946 0.004 324.643);
  --chart-1: oklch(0.946 0.004 324.643);
  --chart-2: oklch(0.868 0.004 324.651);
  --chart-3: oklch(0.806 0.028 324.836);
  --chart-4: oklch(0.891 0.004 324.645);
  --chart-5: oklch(0.945 0.005 324.655);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.018 326.072);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.154 0.019 325.356);
  --muted-foreground: oklch(0.741 0.029 324.865);
  --popover: oklch(0.087 0.018 326.072);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.018 326.072);
  --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.946 0.004 324.643);
  --primary-foreground: oklch(0.441 0.021 324.91);
  --secondary: oklch(0.222 0.022 325.212);
  --secondary-foreground: oklch(0.763 0.042 324.961);
  --accent: oklch(0.302 0.045 325.5);
  --accent-foreground: oklch(0.827 0.039 324.914);
  --destructive: oklch(0.635 0.223 34.021);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.946 0.004 324.643);
  --chart-1: oklch(0.946 0.004 324.643);
  --chart-2: oklch(0.222 0.022 325.212);
  --chart-3: oklch(0.302 0.045 325.5);
  --chart-4: oklch(0.253 0.027 325.255);
  --chart-5: oklch(0.945 0.005 324.655);
}