Skip to content

fix: restore dark mode with css custom properties - #303

Open
Jabolol wants to merge 1 commit into
ScottyLabs:mainfrom
Jabolol:jabolol/fix-dark-mode
Open

fix: restore dark mode with css custom properties#303
Jabolol wants to merge 1 commit into
ScottyLabs:mainfrom
Jabolol:jabolol/fix-dark-mode

Conversation

@Jabolol

@Jabolol Jabolol commented May 6, 2026

Copy link
Copy Markdown

Hello! I'm an incoming student at ECE and I was using your tool to choose my courses. Super useful, thanks for it. I noticed the dark mode was broken and no better way to say thanks than to send a patch :)


  • Add CSS custom properties for dark mode support via .dark class
  • Define gray color palette as CSS variables in :root, with zinc-based dark variants
  • Add @custom-variant dark for Tailwind dark mode integration
  • Add smooth color transition on theme toggle (nightwind-compatible)
  • Use var(--color-gray-50) for body background to support dark mode

image image

@vercel

vercel Bot commented May 6, 2026

Copy link
Copy Markdown

@Jabolol is attempting to deploy a commit to the ScottyLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant