Skip to content

Conversation

@rupali-yadav
Copy link

issue #1 :
window.matchMedia('(prefers-color-scheme: dark)') is used to determine whether the user has set their system or browser to dark mode.
A global theme context created using createContext now persists across routes by wrapping in the ThemeProvider.
Current theme can be read using --> const { theme, toggleTheme } = useContext(ThemeContext);

@vercel
Copy link

vercel bot commented Dec 24, 2024

@rupali-yadav is attempting to deploy a commit to the Ansh's projects Team on Vercel.

A member of the Team first needs to authorize it.

@anshaneja5
Copy link
Owner

anshaneja5 commented Dec 26, 2024

@rupali-yadav the changes are not propogated properly in all papers. for reference, you can check pages in light mode, its still dark. look into it.

ItsMeArm00n added a commit to ItsMeArm00n/mldl.study that referenced this pull request Nov 3, 2025
@ItsMeArm00n ItsMeArm00n mentioned this pull request Nov 3, 2025
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.

2 participants