AbsaOSS / AbsaOSS/cps-shared-ui

Dark mode toggling mechanism

Open
#468 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
6
Avg merge
23h 46m
Merged PRs (30d)
5

Description

We should support a three‑state theme toggle that defaults to the system setting via the [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-color-scheme) feature.

Users must also be able to override this behavior using an in‑app toggle (e.g., light, dark, or system). When a manual override is selected, the preference should be persisted in `localStorage` and take precedence over the system setting until changed.

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.