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

feat(icon): support for dynamic type #1246

Merged
merged 11 commits into from
Aug 9, 2023
Merged

feat(icon): support for dynamic type #1246

merged 11 commits into from
Aug 9, 2023

Conversation

sean-perkins
Copy link
Contributor

Converts the usage of px units for fonts to rem.

@sean-perkins
Copy link
Contributor Author

Should this target a different branch instead of main?

@sean-perkins sean-perkins requested a review from liamdebeasi July 21, 2023 01:09
@thetaPC
Copy link
Contributor

thetaPC commented Jul 24, 2023

Should this target a different branch instead of main?

Yes, it should target "FW-4146" branch instead of main.

Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Can we add a screenshot test of icon being used with the text scaled up? Here's an example you can follow: https://github.com/ionic-team/ionic-framework/pull/27848/files#diff-2796ab1a929613b79f68ba352b11a68994e442070db3a7bbdbd7a1c0ded56c47R9-R26

(Note: previously the team discussed using a linter to ensure rem usage, but as I got more into development I realized some of these components are a bit more in-depth than I initially thought, so to be safe we're going to add a screenshot test)

@sean-perkins
Copy link
Contributor Author

@thetaPC it looks like the FW-4146 branch is only on Ionic Framework's repository. Are you suggesting we create a similar branch here as well?

@thetaPC
Copy link
Contributor

thetaPC commented Aug 3, 2023

Oops, I misspoke. I though this was on the Framework repo. Disregard my comment.

Copy link
Contributor

Choose a reason for hiding this comment

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

Any idea why this screenshot changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unsure why it continues to show as a diff. I originally ran the screenshot job before updating the styles to have the font size on html instead of body.

I'll try reverting the diff and see if CI passes.

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.

4 participants