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.

ovais koite added 2 commits November 26, 2025 14:58
Ensure the landing page resolves its color scheme before React renders to prevent FOUC, add a reusable theme manager that persists under 'drawdb:theme', and wire up an accessible sun/moon toggle in the header.
@hukshh
Copy link
Author

hukshh commented Nov 26, 2025

Hi @1lit,
Issue fully resolved — theme toggle + bootstrap script + CSS vars done.
Please review whenever you get time. Thanks!

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