AbsaOSS / AbsaOSS/cps-shared-ui
Dark mode toggling mechanism
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 9
- Fork
- 6
- Merge trung bình
- 23 giờ 46 phút
- Pull request đã merge (30 ngày)
- 5
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.