callstack / callstack/react-native-paper

Add MD3 medium and high contrast levels

オープン
#5,092 コメント 0 件 リアクション 0 件 担当者 1 名 @hristototov が担当を希望しています GitHub で見る
Accessibility feature request v6
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

**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

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

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

評価

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

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

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