axodotdev / axodotdev/oranda

Respect OS color scheme for automatic dark mode

Open
#723 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
543
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Feature suggestion: dynamic dark mode.

I'd suggest:

Allow devs to pick how dark mode is supported:

1. Fixed (current, default)
2. OS preferred (via prefers-color-scheme, easy to implement)
3. Manual switcher (can be two way or three way, user can switch - I think it's overkill over 2.)

Ideally I'd just have something like:

```json
{
"styles": {
"dark-mode": "prefers-color-scheme",
"theme": "axo"
}
}
```

Thank you and congrats on this awesome project!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.