callstack / callstack/react-native-paper

Add MD3 medium and high contrast levels

Aperta
#5,092 0 commenti 0 reazioni 1 assegnatario Rivendicata da @hristototov Vedi su GitHub
Accessibility feature request v6
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

**Is your feature request related to a problem? Please describe.**
The theme only generates the MD3 `standard` contrast level. MD3 defines three levels, and the higher two exist for accessibility: they raise the contrast between text and background so the UI stays readable for users with low vision and in bright light.

**Describe the solution you'd like**
Add the `medium` and `high` schemes for both light and dark, and a way to select the active level, with `standard` staying the default so existing apps are unaffected.

**Additional context**
- MD3 spec: https://m3.material.io/styles/color/system/overview

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.