CommunityPro / CommunityPro/portfolio-html

[FEAT] - Automatically switch the theme depending on user browser's settings

Open
#152 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
672
Forks
288
PR merge metrics
No merged PRs in 30d

Description

If the user's browser reports `window.matchMedia("(prefers-color-scheme: dark)")`, the page should automatically load the preferred dark or light theme. This should be lower priority than user selected theme when using the toggle.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.