Video for shadcn/ui

Video is a shadcn/ui theme built around a blue primary color (#a1c2d3) with green accents (#c2d3a1). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the blue primary (#a1c2d3) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#020608black
Foreground
#020608black
#f5f8fawhitesmoke
Card
#f8fafcghostwhite
#03090cblack
Card foreground
#010304black
#f8fafbghostwhite
Popover
#f8fafcghostwhite
#03090cblack
Popover foreground
#010304black
#f8fafbghostwhite
Primary
#a1c2d3lightsteelblue
#a1c2d3lightsteelblue
Primary foreground
#15252ddarkslategray
#15252ddarkslategray
Secondary
#d3a1c2plum
#d3a1c2plum
Secondary foreground
#2d1525black
#2d1525black
Muted
#e0dcdfgainsboro
#231f22black
Muted foreground
#5e555bdimgray
#aaa1a7darkgray
Accent
#c2d3a1silver
#c2d3a1silver
Accent foreground
#252d15black
#252d15black
Destructive
#cd510achocolate
#ef5f0borangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a1c2d3lightsteelblue
#a1c2d3lightsteelblue

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.81:1AAA
Primary button8.40:1AAA
Secondary button7.76:1AAA
Muted text5.27:1AA
Accent8.96:1AAA
Destructive4.40:1AA Large
Dark mode
Text on background19.06:1AAA
Text on card19.12:1AAA
Primary button8.40:1AAA
Secondary button7.76:1AAA
Muted text6.47:1AA
Accent8.96:1AAA
Destructive6.28:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.001 228.77);
  --foreground: oklch(0.117 0.011 223.145);
  --muted: oklch(0.898 0.006 337.39);
  --muted-foreground: oklch(0.459 0.015 337.905);
  --popover: oklch(0.985 0.003 228.79);
  --popover-foreground: oklch(0.093 0.009 223.145);
  --card: oklch(0.985 0.003 228.79);
  --card-foreground: oklch(0.093 0.009 223.145);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.796 0.043 229.588);
  --primary-foreground: oklch(0.255 0.026 230.818);
  --secondary: oklch(0.766 0.073 339.081);
  --secondary-foreground: oklch(0.237 0.046 340.906);
  --accent: oklch(0.842 0.069 122.847);
  --accent-foreground: oklch(0.283 0.042 124.116);
  --destructive: oklch(0.591 0.171 43.005);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.796 0.043 229.588);
  --chart-1: oklch(0.796 0.043 229.588);
  --chart-2: oklch(0.766 0.073 339.081);
  --chart-3: oklch(0.842 0.069 122.847);
  --chart-4: oklch(0.792 0.064 338.824);
  --chart-5: oklch(0.797 0.046 229.672);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.012 222.567);
  --foreground: oklch(0.978 0.004 228.802);
  --muted: oklch(0.246 0.008 337.89);
  --muted-foreground: oklch(0.719 0.013 337.634);
  --popover: oklch(0.134 0.014 223.39);
  --popover-foreground: oklch(0.985 0.003 228.785);
  --card: oklch(0.134 0.014 223.39);
  --card-foreground: oklch(0.985 0.003 228.785);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.796 0.043 229.588);
  --primary-foreground: oklch(0.255 0.026 230.818);
  --secondary: oklch(0.766 0.073 339.081);
  --secondary-foreground: oklch(0.237 0.046 340.906);
  --accent: oklch(0.842 0.069 122.847);
  --accent-foreground: oklch(0.283 0.042 124.116);
  --destructive: oklch(0.662 0.194 42.705);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.796 0.043 229.588);
  --chart-1: oklch(0.796 0.043 229.588);
  --chart-2: oklch(0.766 0.073 339.081);
  --chart-3: oklch(0.842 0.069 122.847);
  --chart-4: oklch(0.792 0.064 338.824);
  --chart-5: oklch(0.797 0.046 229.672);
}