Skip to content

Conversation

@hukshh
Copy link

@hukshh hukshh commented Nov 20, 2025

What’s Added

Added a theme toggle button (sun/moon icon) to the top-right corner of the landing page header.

Implemented default theme = Dark.

Implemented persistent theme preference using localStorage under the key:
drawdb:theme

Added support for system theme detection via:
window.matchMedia('(prefers-color-scheme: dark)')

Added smooth but minimal transition animations with support for
prefers-reduced-motion.

Improved color variables for clean, consistent UI across both themes.

Made toggle accessible:

role="switch"

aria-checked

Keyboard focus (Tab, Enter, Space supported)

@vercel
Copy link

vercel bot commented Nov 20, 2025

Someone is attempting to deploy a commit to the dottle's projects 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