Skip to content

How to detect the light or dark browser theme to adapt our style in our blazor application

License

Notifications You must be signed in to change notification settings

tossnet/blazor-detect-dark-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blazor-Detect dark theme

How to detect the light or dark browser theme to adapt our style in our blazor application

darktheme.mp4

it is enough to detect 'prefers-color-scheme: dark' . However it seems that it only works on Edge 😥

About

How to detect the light or dark browser theme to adapt our style in our blazor application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published