Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Make ClerkProvider appearance reactive to OS theme changes #188

@coderabbitai

Description

@coderabbitai

Context

This issue tracks a follow-up improvement suggested during PR #187 review.

Currently, the ClerkProvider in src/App.tsx uses a static browser.prefersDarkMode() call to determine the appearance theme. This means the theme won't update if the user changes their OS theme while the app is running.

Task

Replace the static browser.prefersDarkMode() call with MUI's useMediaQuery hook to make the theme reactive to OS theme changes.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions