Skyline for shadcn/ui

Skyline is a shadcn/ui theme built around a muted green primary color (#59a179) with muted orange accents (#a17959). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#59a179) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#030c07black
#f9fbfamintcream
Card
#ffffffwhite
#000000black
Card foreground
#030c07black
#f9fbfamintcream
Popover
#ffffffwhite
#000000black
Popover foreground
#030c07black
#f9fbfamintcream
Primary
#59a179mediumseagreen
#59a179mediumseagreen
Primary foreground
#000000black
#000000black
Secondary
#7959a1rebeccapurple
#7959a1rebeccapurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5dceflavender
#191023black
Muted foreground
#413a4bdarkslategray
#bcb4c5silver
Accent
#a17959gray
#a17959gray
Accent foreground
#000000black
#000000black
Destructive
#6f2602maroon
#fb5a09orangered
Destructive foreground
#fec2a5navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59a179mediumseagreen
#59a179mediumseagreen

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button6.81:1AA
Secondary button5.59:1AA
Muted text8.19:1AAA
Accent5.41:1AA
Destructive6.92:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button6.81:1AA
Secondary button5.59:1AA
Muted text9.18:1AAA
Accent5.41:1AA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.142 0.019 162.364);
  --muted: oklch(0.907 0.026 306.059);
  --muted-foreground: oklch(0.362 0.031 305.335);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.142 0.019 162.364);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.142 0.019 162.364);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.651 0.095 158.202);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.528 0.115 303.454);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.068 60.32);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.373 0.111 41.804);
  --destructive-foreground: oklch(0.861 0.079 47.779);
  --ring: oklch(0.651 0.095 158.202);
  --chart-1: oklch(0.651 0.095 158.202);
  --chart-2: oklch(0.528 0.115 303.454);
  --chart-3: oklch(0.609 0.068 60.32);
  --chart-4: oklch(0.555 0.112 303.709);
  --chart-5: oklch(0.659 0.104 157.751);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 162.566);
  --muted: oklch(0.195 0.038 303.84);
  --muted-foreground: oklch(0.782 0.026 306.011);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 162.566);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.002 162.566);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.651 0.095 158.202);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.528 0.115 303.454);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.609 0.068 60.32);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.675 0.21 39.871);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.651 0.095 158.202);
  --chart-1: oklch(0.651 0.095 158.202);
  --chart-2: oklch(0.528 0.115 303.454);
  --chart-3: oklch(0.609 0.068 60.32);
  --chart-4: oklch(0.555 0.112 303.709);
  --chart-5: oklch(0.659 0.104 157.751);
}