-
Notifications
You must be signed in to change notification settings - Fork 25
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 scaleFontSize helper #891
Conversation
5375902
to
5cf8c41
Compare
Deploying with Cloudflare Pages
|
e35aa32
to
4d6f08d
Compare
Test this pull request
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #891 +/- ##
==========================================
+ Coverage 67.01% 67.09% +0.08%
==========================================
Files 523 523
Lines 16236 16276 +40
Branches 2059 2075 +16
==========================================
+ Hits 10880 10920 +40
Misses 5023 5023
Partials 333 333 ☔ View full report in Codecov by Sentry. |
e3c3a2d
to
76ad89a
Compare
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.
It'll greate if we can use this values directly on all the properties that accept %
and numbers like width, height, fontSize,etc.
<UiEntity uiTransform={{ width: '100vw', fontSize: '1vw' }} />
bb94d54
to
205c768
Compare
1df2a5e
to
27cfd5b
Compare
27cfd5b
to
e88221c
Compare
Copy of CSS
calc
function but just forvw/vh
units