AbsaOSS / AbsaOSS/cps-shared-ui
Dark mode toggling mechanism
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 9
- Forks
- 6
- Merge medio
- 23 h 46 min
- PR fusionados (30 d)
- 5
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.