Jetbrains Fleet for shadcn/ui

Jetbrains Fleet is a shadcn/ui theme built around a neutral gray primary color (#e4e2e4) with neutral gray accents (#3d3d3d). The light mode uses a neutral background (#171717). Dark mode keeps the neutral gray primary (#e4e2e4) on a neutral background (#171717).

Color palette

TokenLightDark
Background
#171717black
#171717black
Foreground
#d5d5dclightgrey
#d5d5dclightgrey
Card
#121212black
#121212black
Card foreground
#e3e3e8gainsboro
#e3e3e8gainsboro
Popover
#0f0f0fblack
#0f0f0fblack
Popover foreground
#f1f1f3whitesmoke
#f1f1f3whitesmoke
Primary
#e4e2e4gainsboro
#e4e2e4gainsboro
Primary foreground
#4c484cdarkslategray
#4c484cdarkslategray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#2b2222darkslategray
#2b2222darkslategray
Muted foreground
#b09b9brosybrown
#b09b9brosybrown
Accent
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Accent foreground
#d6d6d6lightgrey
#d6d6d6lightgrey
Destructive
#f91e1ared
#f91e1ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#242424darkslategray
#242424darkslategray
Input
#2b2b2bdarkslategray
#2b2b2bdarkslategray
Ring
#e4e2e4gainsboro
#e4e2e4gainsboro

Contrast

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

Light mode
Text on background12.28:1AAA
Text on card14.66:1AAA
Primary button6.97:1AA
Secondary button7.37:1AAA
Muted text5.93:1AA
Accent7.45:1AAA
Destructive4.01:1AA Large
Dark mode
Text on background12.28:1AAA
Text on card14.66:1AAA
Primary button6.97:1AA
Secondary button7.37:1AAA
Muted text5.93:1AA
Accent7.45:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.204 0 180);
  --foreground: oklch(0.876 0.009 286.204);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.17 0 180);
  --popover-foreground: oklch(0.959 0.003 286.342);
  --card: oklch(0.182 0 164.055);
  --card-foreground: oklch(0.918 0.006 286.277);
  --border: oklch(0.259 0 167.471);
  --input: oklch(0.29 0 180);
  --primary: oklch(0.915 0.003 325.6);
  --primary-foreground: oklch(0.407 0.009 325.747);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.361 0 180);
  --accent-foreground: oklch(0.877 0 180);
  --destructive: oklch(0.625 0.245 28.647);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.003 325.6);
  --chart-1: oklch(0.915 0.003 325.6);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.361 0 180);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.914 0.006 325.624);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.204 0 180);
  --foreground: oklch(0.876 0.009 286.204);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.17 0 180);
  --popover-foreground: oklch(0.959 0.003 286.342);
  --card: oklch(0.182 0 164.055);
  --card-foreground: oklch(0.918 0.006 286.277);
  --border: oklch(0.259 0 167.471);
  --input: oklch(0.29 0 180);
  --primary: oklch(0.915 0.003 325.6);
  --primary-foreground: oklch(0.407 0.009 325.747);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.361 0 180);
  --accent-foreground: oklch(0.877 0 180);
  --destructive: oklch(0.625 0.245 28.647);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.915 0.003 325.6);
  --chart-1: oklch(0.915 0.003 325.6);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.361 0 180);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.914 0.006 325.624);
}