AbsaOSS / AbsaOSS/cps-shared-ui

Dark mode toggling mechanism

オープン
#468 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
9
フォーク
6
平均マージ
23時間 46分
マージ済み PR(30日)
5

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。