Gaseous for shadcn/ui

Gaseous is a shadcn/ui theme built around a vivid indigo primary color (#2b04f1) with neutral gray accents (#dbdbdb). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#2b04f1) on an indigo-tinted background (#07060f).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#07060fblack
Foreground
#030208black
#f6f5f9whitesmoke
Card
#f8f6fdghostwhite
#090712black
Card foreground
#010104black
#f9f8fbghostwhite
Popover
#f8f6fdghostwhite
#090712black
Popover foreground
#010104black
#f9f8fbghostwhite
Primary
#2b04f1blue
#2b04f1blue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dbdbdbgainsboro
#25232edarkslategray
Secondary foreground
#424242darkslategray
#bcbacasilver
Muted
#e3dedegainsboro
#1d1c21black
Muted foreground
#615151dimgray
#a09eaedarkgray
Accent
#dbdbdbgainsboro
#25232edarkslategray
Accent foreground
#424242darkslategray
#bcbacasilver
Destructive
#b03711firebrick
#da4316chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2b04f1blue
#2b04f1blue

Contrast

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

Light mode
Text on background19.98:1AAA
Text on card19.48:1AAA
Primary button8.78:1AAA
Secondary button7.27:1AAA
Muted text5.62:1AA
Accent7.27:1AAA
Destructive6.17:1AA
Dark mode
Text on background18.58:1AAA
Text on card18.86:1AAA
Primary button8.78:1AAA
Secondary button8.06:1AAA
Muted text6.44:1AA
Accent8.06:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 293.978);
  --foreground: oklch(0.094 0.025 292.188);
  --muted: oklch(0.904 0.005 17.256);
  --muted-foreground: oklch(0.452 0.021 17.974);
  --popover: oklch(0.977 0.009 293.886);
  --popover-foreground: oklch(0.075 0.019 292.188);
  --card: oklch(0.977 0.009 293.886);
  --card-foreground: oklch(0.075 0.019 292.188);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.446 0.292 269.653);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.892 0 180);
  --secondary-foreground: oklch(0.38 0 180);
  --accent: oklch(0.892 0 180);
  --accent-foreground: oklch(0.38 0 180);
  --destructive: oklch(0.512 0.164 35.975);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.446 0.292 269.653);
  --chart-1: oklch(0.446 0.292 269.653);
  --chart-2: oklch(0.892 0 180);
  --chart-3: oklch(0.892 0 180);
  --chart-4: oklch(0.916 0 180);
  --chart-5: oklch(0.449 0.297 268.984);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.129 0.021 292.337);
  --foreground: oklch(0.973 0.006 293.956);
  --muted: oklch(0.23 0.009 293.294);
  --muted-foreground: oklch(0.706 0.023 293.444);
  --popover: oklch(0.14 0.024 291.346);
  --popover-foreground: oklch(0.982 0.004 293.994);
  --card: oklch(0.14 0.024 291.346);
  --card-foreground: oklch(0.982 0.004 293.994);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.446 0.292 269.653);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.265 0.02 292.641);
  --secondary-foreground: oklch(0.795 0.022 293.537);
  --accent: oklch(0.265 0.02 292.641);
  --accent-foreground: oklch(0.795 0.022 293.537);
  --destructive: oklch(0.597 0.195 35.781);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.446 0.292 269.653);
  --chart-1: oklch(0.446 0.292 269.653);
  --chart-2: oklch(0.265 0.02 292.641);
  --chart-3: oklch(0.265 0.02 292.641);
  --chart-4: oklch(0.293 0.023 292.574);
  --chart-5: oklch(0.449 0.297 268.984);
}