Sense for shadcn/ui

Sense is a shadcn/ui theme built around a vivid light cyan primary color (#93d9f1) with vivid light orange accents (#f1aa93). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid light cyan primary (#93d9f1) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#010304black
Foreground
#020708black
#f8fbfbghostwhite
Card
#f8fbfcghostwhite
#010304black
Card foreground
#020708black
#f8fbfbghostwhite
Popover
#f8fbfcghostwhite
#010304black
Popover foreground
#020708black
#f8fbfbghostwhite
Primary
#93d9f1skyblue
#93d9f1skyblue
Primary foreground
#093948darkslategray
#093948darkslategray
Secondary
#f1aa93burlywood
#f1aa93burlywood
Secondary foreground
#481909maroon
#481909maroon
Muted
#ede9e8linen
#171312black
Muted foreground
#594e4adarkolivegreen
#b5aaa6darkgray
Accent
#f1aa93burlywood
#f1aa93burlywood
Accent foreground
#481909maroon
#481909maroon
Destructive
#cd1c13firebrick
#e52015crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#93d9f1skyblue
#93d9f1skyblue

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button7.96:1AAA
Secondary button7.70:1AAA
Muted text6.67:1AA
Accent7.70:1AAA
Destructive5.54:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button7.96:1AAA
Secondary button7.70:1AAA
Muted text8.13:1AAA
Accent7.70:1AAA
Destructive4.63:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 219.534);
  --foreground: oklch(0.119 0.013 214.558);
  --muted: oklch(0.937 0.005 39.473);
  --muted-foreground: oklch(0.433 0.016 39.324);
  --popover: oklch(0.986 0.004 219.534);
  --popover-foreground: oklch(0.119 0.013 214.558);
  --card: oklch(0.986 0.004 219.534);
  --card-foreground: oklch(0.119 0.013 214.558);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.848 0.078 220.881);
  --primary-foreground: oklch(0.32 0.055 225.516);
  --secondary: oklch(0.8 0.09 39.209);
  --secondary-foreground: oklch(0.284 0.077 38.285);
  --accent: oklch(0.8 0.09 39.209);
  --accent-foreground: oklch(0.284 0.077 38.285);
  --destructive: oklch(0.543 0.209 29.296);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.078 220.881);
  --chart-1: oklch(0.848 0.078 220.881);
  --chart-2: oklch(0.8 0.09 39.209);
  --chart-3: oklch(0.8 0.09 39.209);
  --chart-4: oklch(0.824 0.078 39.219);
  --chart-5: oklch(0.85 0.08 220.963);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.008 215.211);
  --foreground: oklch(0.986 0.003 219.526);
  --muted: oklch(0.191 0.008 39.314);
  --muted-foreground: oklch(0.745 0.014 39.399);
  --popover: oklch(0.094 0.008 215.211);
  --popover-foreground: oklch(0.986 0.003 219.526);
  --card: oklch(0.094 0.008 215.211);
  --card-foreground: oklch(0.986 0.003 219.526);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.848 0.078 220.881);
  --primary-foreground: oklch(0.32 0.055 225.516);
  --secondary: oklch(0.8 0.09 39.209);
  --secondary-foreground: oklch(0.284 0.077 38.285);
  --accent: oklch(0.8 0.09 39.209);
  --accent-foreground: oklch(0.284 0.077 38.285);
  --destructive: oklch(0.588 0.227 29.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.078 220.881);
  --chart-1: oklch(0.848 0.078 220.881);
  --chart-2: oklch(0.8 0.09 39.209);
  --chart-3: oklch(0.8 0.09 39.209);
  --chart-4: oklch(0.824 0.078 39.219);
  --chart-5: oklch(0.85 0.08 220.963);
}