Skip to content
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

Add additional medium font scale option #1030

Merged
merged 11 commits into from
Jan 17, 2024

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Jan 8, 2024

Pull Request Description

This PR adds an additional font scale for "Medium". The medium font scale slots between base and large. Additional feedback is needed to tweak the value of this scale! Additionally, I've localized most of the strings in the "Theme" setting pages (with the exception of the accent colour names)

Right now, it's difficult to immediately tell the actual font scales as there is no visual feedback until you go back to the feed page - a nice feature to add in the future would be a preview of the font scale size from within the settings/bottom sheet modal.

Issue Being Fixed

Issue Number: Partially solves #657

Screenshots / Recordings

simulator_screenshot_977183A0-EDBE-4521-8CB2-6B9833C6663D

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

@hjiangsu hjiangsu changed the title Added additional medium font scale option Add additional medium font scale option Jan 8, 2024
Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

it's difficult to immediately tell the actual font scales as there is no visual feedback until you go back to the feed page - a nice feature to add in the future would be a preview of the font scale size from within the settings/bottom sheet modal

In #982 I had added the ability to specify a TextTheme for list picker items, if it helps!

https://github.com/thunder-app/thunder/pull/982/files#diff-773d8f9350754e1245632f82c35d8848d31c44e9b56dec863bee2e150dba8349

@hjiangsu
Copy link
Member Author

I've added the scaling to the bottom sheet! Let me know what you think of this.

simulator_screenshot_9C144421-C5FA-490D-8238-A606059D726C simulator_screenshot_B80EFBA2-532C-4D20-9A50-8C5DD1B7FD46

@hjiangsu hjiangsu merged commit d4a5ac1 into develop Jan 17, 2024
1 check passed
@hjiangsu hjiangsu deleted the feature/additional-font-scales branch January 17, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants