Concerned for shadcn/ui

Concerned is a shadcn/ui theme built around a cyan primary color (#356679) with green accents (#667935). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#356679) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010304black
Foreground
#041116black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#020608black
Card foreground
#030e12black
#ffffffwhite
Popover
#f7fbfdghostwhite
#020608black
Popover foreground
#030e12black
#ffffffwhite
Primary
#356679darkslategray
#356679darkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#793566rebeccapurple
#793566rebeccapurple
Secondary foreground
#f6eaf2lavenderblush
#f6eaf2lavenderblush
Muted
#eae1e8gainsboro
#1e151cblack
Muted foreground
#655d63dimgray
#a29aa0darkgray
Accent
#667935darkolivegreen
#667935darkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ae490fsienna
#e66114chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#356679darkslategray
#356679darkslategray

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.77:1AAA
Primary button6.28:1AA
Secondary button7.16:1AAA
Muted text4.97:1AA
Accent4.84:1AA
Destructive5.59:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.30:1AAA
Primary button6.28:1AA
Secondary button7.16:1AAA
Muted text6.50:1AA
Accent4.84:1AA
Destructive6.08:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 221.325);
  --foreground: oklch(0.167 0.023 221.697);
  --muted: oklch(0.919 0.013 334.781);
  --muted-foreground: oklch(0.488 0.013 334.996);
  --popover: oklch(0.986 0.005 221.346);
  --popover-foreground: oklch(0.152 0.02 219.726);
  --card: oklch(0.986 0.005 221.346);
  --card-foreground: oklch(0.152 0.02 219.726);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.485 0.061 224.002);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.437 0.114 338.764);
  --secondary-foreground: oklch(0.948 0.017 334.843);
  --accent: oklch(0.544 0.096 122.042);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.531 0.146 44.583);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.485 0.061 224.002);
  --chart-1: oklch(0.485 0.061 224.002);
  --chart-2: oklch(0.437 0.114 338.764);
  --chart-3: oklch(0.544 0.096 122.042);
  --chart-4: oklch(0.464 0.122 338.809);
  --chart-5: oklch(0.488 0.065 224.333);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.009 216.39);
  --foreground: oklch(0.993 0.001 221.315);
  --muted: oklch(0.21 0.019 336.064);
  --muted-foreground: oklch(0.695 0.012 334.83);
  --popover: oklch(0.119 0.012 216.39);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.119 0.012 216.39);
  --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.485 0.061 224.002);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.437 0.114 338.764);
  --secondary-foreground: oklch(0.948 0.017 334.843);
  --accent: oklch(0.544 0.096 122.042);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.652 0.182 44.078);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.485 0.061 224.002);
  --chart-1: oklch(0.485 0.061 224.002);
  --chart-2: oklch(0.437 0.114 338.764);
  --chart-3: oklch(0.544 0.096 122.042);
  --chart-4: oklch(0.464 0.122 338.809);
  --chart-5: oklch(0.488 0.065 224.333);
}