NotionX / NotionX/react-notion-x
How to use change dark mode via media query by browser standard?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
I would love my site to have the native dark mode implementation via media query: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
Any way to enable this mode for React Notion X?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating React Notion X's theme and styling entry points, then determine how prefers-color-scheme support would fit; done would require a documented, agreed implementation path or explicit guidance for enabling it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100