glanceapp / glanceapp/glance

Feature request: Auto switch dark/light mode themes based on OS

Open
#55 6 comments 30 reactions 0 assignees View on GitHub
roadmap
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

It would be nice to be able to set two themes, one for the OS light mode and one of OS dark mode and autoswitch based on OS state. Something like:

```yml
theme-dark:
background-color: 240 21 15
contrast-multiplier: 1.2
primary-color: 217 92 83
positive-color: 115 54 76

theme-light:
background-color: 0 0 95
primary-color: 0 0 10
negative-color: 0 90 50
```

Using CSS like this:

```css
@media (prefers-color-scheme: dark) {
...
}
```

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.