Skyline for shadcn/ui

Skyline is a shadcn/ui theme built around a light yellow primary color (#f2e7c9) with light violet accents (#e7c9f2). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light yellow primary (#f2e7c9) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fefdfbsnow
#070603black
Foreground
#100d04black
#f9f8f6whitesmoke
Card
#fdfbf7snow
#0b0905black
Card foreground
#0c0a03black
#fbfaf9snow
Popover
#fefdfbsnow
#070603black
Popover foreground
#100d04black
#f9f8f6whitesmoke
Primary
#f2e7c9blanchedalmond
#f2e7c9blanchedalmond
Primary foreground
#1d1707black
#1d1707black
Secondary
#c9f2e7paleturquoise
#c9f2e7paleturquoise
Secondary foreground
#071d17black
#071d17black
Muted
#eceeeewhitesmoke
#111312black
Muted foreground
#516761dimgray
#98aea8darkgray
Accent
#e7c9f2lavender
#e7c9f2lavender
Accent foreground
#591a70indigo
#591a70indigo
Destructive
#9f2d04saddlebrown
#f9591forangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2e7c9blanchedalmond
#f2e7c9blanchedalmond

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.16:1AAA
Primary button14.53:1AAA
Secondary button14.53:1AAA
Muted text5.21:1AA
Accent7.79:1AAA
Destructive7.34:1AAA
Dark mode
Text on background19.08:1AAA
Text on card19.09:1AAA
Primary button14.53:1AAA
Secondary button14.53:1AAA
Muted text7.95:1AAA
Accent7.79:1AAA
Destructive6.49:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 90.141);
  --foreground: oklch(0.159 0.019 92.579);
  --muted: oklch(0.948 0.002 178.711);
  --muted-foreground: oklch(0.493 0.028 177.037);
  --popover: oklch(0.994 0.003 90.141);
  --popover-foreground: oklch(0.159 0.019 92.579);
  --card: oklch(0.988 0.005 90.161);
  --card-foreground: oklch(0.143 0.017 94.717);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.041 90.384);
  --primary-foreground: oklch(0.207 0.03 90.09);
  --secondary: oklch(0.93 0.045 177.317);
  --secondary-foreground: oklch(0.21 0.031 173.335);
  --accent: oklch(0.875 0.064 317.021);
  --accent-foreground: oklch(0.361 0.145 315.285);
  --destructive: oklch(0.47 0.156 36.644);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.041 90.384);
  --chart-1: oklch(0.93 0.041 90.384);
  --chart-2: oklch(0.93 0.045 177.317);
  --chart-3: oklch(0.875 0.064 317.021);
  --chart-4: oklch(0.946 0.035 177.686);
  --chart-5: oklch(0.932 0.043 90.391);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.01 93.758);
  --foreground: oklch(0.979 0.003 90.146);
  --muted: oklch(0.184 0.004 178.212);
  --muted-foreground: oklch(0.733 0.026 177.732);
  --popover: oklch(0.122 0.01 93.758);
  --popover-foreground: oklch(0.979 0.003 90.146);
  --card: oklch(0.14 0.011 93.708);
  --card-foreground: oklch(0.986 0.002 90.137);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.93 0.041 90.384);
  --primary-foreground: oklch(0.207 0.03 90.09);
  --secondary: oklch(0.93 0.045 177.317);
  --secondary-foreground: oklch(0.21 0.031 173.335);
  --accent: oklch(0.875 0.064 317.021);
  --accent-foreground: oklch(0.361 0.145 315.285);
  --destructive: oklch(0.673 0.206 37.98);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.93 0.041 90.384);
  --chart-1: oklch(0.93 0.041 90.384);
  --chart-2: oklch(0.93 0.045 177.317);
  --chart-3: oklch(0.875 0.064 317.021);
  --chart-4: oklch(0.946 0.035 177.686);
  --chart-5: oklch(0.932 0.043 90.391);
}