-
Notifications
You must be signed in to change notification settings - Fork 64
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
Paper-button does not follow MD typographical styles #129
Comments
(sigh) Just saw #95. Sorry. Anyway:
And, since I'm here: why paper-button is setting paddings, margins and width in 'em' units instead of CSS pixels? Sorry for bad English. Hugs. |
Just a quick note: as I mentioned on the PR, not importing typography.html is intentional -- this way you can use the Roboto font if you want (by explicitly including typography.html in your app), but by default, the button would inherit whatever font you were using. |
Interesting. BTW, it can also be done with:
|
Sure, but by then you've already downloaded the Roboto font (if you make paper-button always use it), only to un-use it. That's extra problematic if your app is offline, because |
Hopefully this is somewhat related. In the paper-button demo the height of the button is 35.59 including the touchable target, however in MD spec it says the height should be 48px including touchable target? Also, when using the button from Polymer starter kit which sets the body line-height to 1.5, it ends up being 40.59. Am I interpreting this wrong or are there some inconsistency here? |
https://material.google.com/components/buttons.html#buttons-style
The text was updated successfully, but these errors were encountered: