Add support for system-defined Dark Mode

Open
#333 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 12 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
desktop

Research direction

The issue names no files or tests; start by reading baseview's platform-specific windowing code and checking how the public API is organized. Then investigate the Windows and macOS system-theme APIs and the linked JUCE reference. Done means plugin UIs can query whether the system theme is light or dark on both platforms.

Written by the indexing model from the issue text.

Description

enhancement good first issue

Windows and macOS have APIs that can be used to check whether the system's color theme is currently light or dark mode.

This can be used by plugin UIs to adapt their color scheme to the user's preferences. JUCE already supports this: https://docs.juce.com/master/classjuce_1_1Desktop.html#ad33285e727fd836d9f30ae159673f142

Dominant language
Rust
Stars
387
Forks
128
Avg merge
11d 18h
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/baseview

All issues in RustAudio/baseview

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.