Repository navigation
Overwriting mixin properties #1873
Copy link
Copy link
Closed
Labels
Description
Activity
This is due to the way that Polymer separates static styles from styles which contain custom properties. This use case is reasonable and our approach needs to be modified slightly to support this better.
We will probably not separate custom properties css from static css within rules that contain properties.
Thanks for the response. Will wait for an update then.
This issue also leads to specificity issues when combining static and custom property rules.
👍
👍
@nazar-pc Here's a jsbin that, i think, demonstrates the issue:
OK, here is easier to understand example: https://jsbin.com/xupufudivu/1/edit
Seems to be different area than covered in #2642, but I'll take a look on this as well.
- added a commit that references this issue
on Oct 29, 2015 #2642 now fixes this issue as well.
- added a commit that references this issue
on Nov 4, 2015 - added a commit that references this issue
on Nov 13, 2015
Hello! I am trying to overwrite a property coming from a CSS mixing, but the way Polymer handles the variables makes it impossible to do so (without using "!important").
The expected result would be to have "white-space: normal" applied on top of the one provided by paper-styles, however that's not the case.
Do I have to rewrite the entire mixing just to change one property or is there an alternative way?
Cheers.