-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cleanup cards #2870
Cleanup cards #2870
Conversation
I pulled this and every card seems to work, at least... |
static get styles(): CSSResult { | ||
return css` | ||
:host { | ||
@apply --paper-font-body1; |
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.
We can remove this. This has never worked.
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.
@apply
is a deprecated spec that Polymer supports, but will never become a standard.
} | ||
|
||
.footer { | ||
@apply --paper-font-common-nowrap; |
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.
This won't work.
} | ||
|
||
.box { | ||
@apply --paper-font-common-nowrap; |
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.
This won't work.
} | ||
|
||
.header { | ||
@apply --paper-font-headline; |
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.
Won't work.
} | ||
|
||
.header .name { | ||
@apply --paper-font-common-nowrap; |
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.
Won't work
Going to rename all |
oh, derp |
https://github.com/PolymerElements/paper-styles/blob/v3.0.1/classes/typography.js I didn't find `paper-font-common-nowrap` in anything after v1.0.0 but did end up applying what I found here: https://chromium.googlesource.com/chromium/src/+/923ede74ebc57633583795a84b33e994f7dcd4fa/third_party/polymer/v1_0/components/paper-styles/typography.html
paper-styles should be copied over now |
🎉 !! |
No description provided.