-
Notifications
You must be signed in to change notification settings - Fork 93
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
Update font-sizes value to use the REM unit and line-heights to be unitless #126
base: 2.0-preview
Are you sure you want to change the base?
Conversation
update version
…erated_v2_preview 2.0-preview updates to travis.yaml, bower.json, and more
unitless to be more consistent of the relative unit values used already to establish consistent typography while simultaneously being more accommodating of RWD & a11y-friendly uses of the the declarations.
92dbdb2
to
f0db02b
Compare
Oof, so we took all the values from the MD spec, which doesn't use rems. Something like I'm gonna cc @frankiefu and @cdata and see if they have any opinions |
One more thought about the non-readability: I'm a bit worried that if you're a new user and look at |
Yeah, it seems to me there's significant value commenting alongside the values the "px" equivalent that also alleviates MD spec is still being adhered to. |
…ge-chrome-beta Change Travis to Chrome beta
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
0d3c28e
to
18fa995
Compare
@notwaldorf @bicknellr @cdata @frankiefu @tjsavage Branch updated again for not out-of-date reviewing, but it seems to for some reason the CLA status changes after rebasing using the newest version of Gonna try to do an interactive rebase and squash the newest commit for the sake of simplicity (and log history)… Actually, no that doesn't seem possible here. Seems the only other option would be to get the commit message and cherry pick into a new fork of paper-styles, but that seems "extra" It seems to be a GoogleBot CLA bug… |
@frankiefu @cdata @notwaldorf @tjsavage In addition to the accessibility & RWD reasons I originally pointed out, I forgot to point out using relative sizing instead of pixels within Since Polymer helps Web professionals develop Components easier, faster, more reliably, & overall more elegantly, what comes with that is enlightening such professionals–helping them avoid practices that can make their components problematic to reuse that's not immediately obvious. Accordingly, forcing type within their components to be pixels instead of being relative to the base font-size by default seems to be a practice to avoid based on how native elements handle type by default and the established best practices the W3C (and the general Web community) has evangelized for years (AFAIK). CSS W3C working group members such as Fantasai have shared many publications recommending the use of relative units over absolute values such as pixels such as this one ("Absolute units (like Furthermore, FWIW, the typography sizing of popular CSS frameworks such as Bootstrap & Foundation also use With newcomers in mind, it seems particularly helpful developers understand the value of using such relative units such as All that said, there's definitely value doing things like documenting the actual pixel values along side the relative units that's particularly useful for newcomers. I was thinking of merely doing things such as Anyone have any particular thoughts on this since the original comments on the PR? |
Use this repo https://github.com/StartPolymer/paper-styles-plus ;-) |
PR Summary
Update font-sizes value to use the REM unit and line-heights to be unitless to be more consistent of the relative unit values used already to establish consistent typography while simultaneously being more accommodating of RWD & a11y-friendly uses of the the declarations.
PR Goals
Recommended reviewer
Things I recommend reviewer(s) to think about