elementary / elementary/granite
Replace dark stylesheet with media query
Open
- Dominant language
- Vala
- Stars
- 329
- Forks
- 65
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 31
Description
We have media queries now so we can replace all the stylesheet loading and unloading etc with:
```
@media (prefers-color-scheme: dark) {
}
```
Contributor guide
Research direction
Search the repository for the existing dark stylesheet loading and unloading code, then inspect how the library currently applies dark styling. Replace the stylesheet lifecycle with the media-query approach and verify that dark-mode styling still changes correctly without dynamic loading or unloading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100