Syilyq Theme 2 for shadcn/ui

Syilyq Theme 2 is a shadcn/ui theme built around a vivid deep teal primary color (#006242) with near-white accents (#f1f1f1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#006242) on a neutral background (#000101).

Color palette

TokenLightDark
Background
#ffffffwhite
#000101black
Foreground
#06140fblack
#ffffffwhite
Card
#fcfcfcsnow
#050b09black
Card foreground
#05100cblack
#ffffffwhite
Popover
#fcfcfcsnow
#050b09black
Popover foreground
#05100cblack
#ffffffwhite
Primary
#006242darkslategray
#006242darkslategray
Primary foreground
#ffc454sandybrown
#ffc454sandybrown
Secondary
#d6ad60darkkhaki
#d6ad60darkkhaki
Secondary foreground
#000000black
#000000black
Muted
#ebebeblinen
#1b1b1bblack
Muted foreground
#646464dimgray
#bcbcbcsilver
Accent
#f1f1f1whitesmoke
#131816black
Accent foreground
#000000black
#a9c1b9silver
Destructive
#f14000orangered
#f17041tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e3e8e6gainsboro
#171c1ablack
Input
#e3e8e6gainsboro
#171c1ablack
Ring
#006141darkslategray
#006141darkslategray

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.92:1AAA
Primary button4.69:1AA
Secondary button10.00:1AAA
Muted text4.98:1AA
Accent18.63:1AAA
Destructive3.82:1AA Large
Dark mode
Text on background20.88:1AAA
Text on card19.87:1AAA
Primary button4.69:1AA
Secondary button10.00:1AAA
Muted text9.04:1AAA
Accent9.43:1AAA
Destructive7.12:1AAA

CSS variables

Paste this into your globals.css to use Syilyq Theme 2 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.174 0.022 170.864);
  --muted: oklch(0.941 0 180);
  --muted-foreground: oklch(0.503 0 170.538);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.158 0.019 172.245);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.158 0.019 172.245);
  --border: oklch(0.927 0.006 174.401);
  --input: oklch(0.927 0.006 174.401);
  --primary: oklch(0.439 0.096 162.453);
  --primary-foreground: oklch(0.853 0.143 80.37);
  --secondary: oklch(0.769 0.107 81.79);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.959 0 187.595);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.633 0.22 35.321);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.435 0.095 162.013);
  --chart-1: oklch(0.435 0.095 162.013);
  --chart-2: oklch(0.927 0.006 174.401);
  --chart-3: oklch(0.927 0.006 174.401);
  --chart-4: oklch(0.949 0.004 174.461);
  --chart-5: oklch(0.439 0.097 161.741);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.064 0.005 174.738);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.223 0.001 174.417);
  --muted-foreground: oklch(0.796 0 168.69);
  --popover: oklch(0.14 0.013 174.674);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.013 174.674);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.221 0.008 173.445);
  --input: oklch(0.221 0.008 173.445);
  --primary: oklch(0.439 0.096 162.453);
  --primary-foreground: oklch(0.854 0.143 80.614);
  --secondary: oklch(0.769 0.107 81.79);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.202 0.007 173.543);
  --accent-foreground: oklch(0.79 0.028 173.513);
  --destructive: oklch(0.692 0.17 39.821);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.435 0.095 162.013);
  --chart-1: oklch(0.435 0.095 162.013);
  --chart-2: oklch(0.236 0.014 172.706);
  --chart-3: oklch(0.236 0.014 172.706);
  --chart-4: oklch(0.27 0.017 172.562);
  --chart-5: oklch(0.439 0.097 161.741);
}