-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WRQ-11247: Added fontScale prop for large text mode scale values #1574
base: develop
Are you sure you want to change the base?
Conversation
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1574 +/- ##
========================================
Coverage 81.44% 81.44%
========================================
Files 148 148
Lines 6629 6629
Branches 1955 1955
========================================
Hits 5399 5399
Misses 936 936
Partials 294 294 ☔ View full report in Codecov by Sentry. |
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Please check the console error to fix the prop bleeding in sampler. |
- Delete fontScale from ThemeDecorator's config It only needs to be passed as a prop, not as a ThemeDecorator config Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Fixed. |
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- FontScale must be updated before the scale function is called Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Checklist
Issue Resolved / Feature Added
There is a requirement for large text mode for a11y.
I have modified the app (including sampler) to review the screen when large text is applied.
Resolution
Added the fontScale prop to ThemeDecorator so that i can adjust the scale in the app.
Additional Considerations
Links
WRQ-11247
Comments
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])