Suite for shadcn/ui

Suite is a shadcn/ui theme built around a blue primary color (#637abf) with green accents (#7abf63). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the blue primary (#637abf) on a neutral background (#030408).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#030408black
Foreground
#040710black
#ffffffwhite
Card
#fbfcfdwhite
#030408black
Card foreground
#040710black
#ffffffwhite
Popover
#fbfcfdwhite
#030408black
Popover foreground
#040710black
#ffffffwhite
Primary
#637abfsteelblue
#637abfsteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bf637aindianred
#bf637aindianred
Secondary foreground
#000000black
#000000black
Muted
#e5d1d6gainsboro
#2e1a1fblack
Muted foreground
#555354dimgray
#acaaaadarkgray
Accent
#7abf63darkseagreen
#7abf63darkseagreen
Accent foreground
#000000black
#000000black
Destructive
#a6190cfirebrick
#f04738tomato
Destructive foreground
#fde9e7linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#637abfsteelblue
#637abfsteelblue

Contrast

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

Light mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button4.12:1AA Large
Secondary button5.30:1AA
Muted text5.25:1AA
Accent9.50:1AAA
Destructive6.49:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button4.12:1AA Large
Secondary button5.30:1AA
Muted text7.10:1AAA
Accent9.50:1AAA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 271.389);
  --foreground: oklch(0.131 0.022 265.026);
  --muted: oklch(0.879 0.023 0.599);
  --muted-foreground: oklch(0.445 0.002 0.011);
  --popover: oklch(0.991 0.002 271.389);
  --popover-foreground: oklch(0.131 0.022 265.026);
  --card: oklch(0.991 0.002 271.389);
  --card-foreground: oklch(0.131 0.022 265.026);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.593 0.109 268.928);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.12 5.334);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.738 0.144 138.326);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.466 0.176 30.078);
  --destructive-foreground: oklch(0.95 0.022 23.821);
  --ring: oklch(0.593 0.109 268.928);
  --chart-1: oklch(0.593 0.109 268.928);
  --chart-2: oklch(0.615 0.12 5.334);
  --chart-3: oklch(0.738 0.144 138.326);
  --chart-4: oklch(0.64 0.111 4.644);
  --chart-5: oklch(0.589 0.117 268.691);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.013 265.136);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.033 3.518);
  --muted-foreground: oklch(0.74 0.002 359.943);
  --popover: oklch(0.106 0.013 265.136);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.106 0.013 265.136);
  --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.593 0.109 268.928);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.12 5.334);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.738 0.144 138.326);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.64 0.208 29.271);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.593 0.109 268.928);
  --chart-1: oklch(0.593 0.109 268.928);
  --chart-2: oklch(0.615 0.12 5.334);
  --chart-3: oklch(0.738 0.144 138.326);
  --chart-4: oklch(0.64 0.111 4.644);
  --chart-5: oklch(0.589 0.117 268.691);
}