-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fluid typography: use logarithmic scale factor to calculate a min font size #49707
Merged
ramonjd
merged 10 commits into
trunk
from
update/fluid-typography-calculate-min-font-size
Apr 20, 2023
Merged
Fluid typography: use logarithmic scale factor to calculate a min font size #49707
ramonjd
merged 10 commits into
trunk
from
update/fluid-typography-calculate-min-font-size
Apr 20, 2023
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be6575d - Browse repository at this point
Copy the full SHA be6575dView commit details -
Update existing tests, add a couple of additional tests to cover the …
…ceiling on the minimum font size
Configuration menu - View commit details
-
Copy full SHA for 19579ca - Browse repository at this point
Copy the full SHA 19579caView commit details -
Configuration menu - View commit details
-
Copy full SHA for e00268d - Browse repository at this point
Copy the full SHA e00268dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce78698 - Browse repository at this point
Copy the full SHA ce78698View commit details -
Configuration menu - View commit details
-
Copy full SHA for a710eca - Browse repository at this point
Copy the full SHA a710ecaView commit details -
In this commit, we use a logarithmic scale factor to calculate a mini…
…mum font scale that tapers out as the font size increases. The calculation is only performed where there no min font size is passed to the fluid font size methods. The min font scale factor is constrained by min and max values. Tests are updated to reflect the new clamp values. Docs are updated to reflect API change in JS function (removing minimumFontSizeFactor arg)
Configuration menu - View commit details
-
Copy full SHA for 763b269 - Browse repository at this point
Copy the full SHA 763b269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 574656f - Browse repository at this point
Copy the full SHA 574656fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d263ff8 - Browse repository at this point
Copy the full SHA d263ff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 345233b - Browse repository at this point
Copy the full SHA 345233bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5630e1 - Browse repository at this point
Copy the full SHA f5630e1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.