Comments (1)
Hey @hmaesta, thanks for making an issue. We actually do use rem
for all font size measurements — you can see it in the source here: https://github.com/Shopify/polaris/blob/master/src/styles/foundation/typography.scss#L45-L82. We only display it as px
on the styleguide because there is no way to reliably show measurements in rem
/ em
, since it depends on some other, potentially changeable font-size (html
and the parent element, respectively).
from polaris.
Related Issues (20)
- [Icon]: New icon <blank> HOT 1
- Index table row navigation with dataPrimaryLink only works once
- Error Upgrading @Shopify/Polaris And React In Shopify App Development
- [ColorPicker] Larger box should not react to alpha selection
- Support Node v18 HOT 2
- [Banner] The layout of the banner shakes when there are too many components HOT 1
- [Button] `plain` and `plainMonochrome` variant focus state regression?
- [Icon]: New icon <airplane-clock> HOT 1
- [Icon]: New icon <train>
- [Icon]: New icon <boat>
- [Icon]: New icon <fast-boat>
- [Icon]: 5 new icons <PersonExit> <CursorBanner> <CursorOptions> <Blank> <BlankFilled> + 3 icon updates <Envelope> <Domain> <DragHandle> HOT 4
- Polaris Icon Library link is broken
- [Component Proposal] `Slider`
- [Page Actions] not collapsing into more actions on initial render HOT 2
- Button Component onClick Callback Should Receive Click Event
- [Button] Update micro icon only button padding
- [Toast] Deprecate `error` prop in favour of `tone`+`leadingIcon` prop.
- can u make components for blazor HOT 2
- Popover component does not close on stopPropagation method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polaris.