paper-input styling problem

12 views
Skip to first unread message

Mark Volkmann

unread,
May 6, 2016, 12:59:01 PM5/6/16
to Polymer, Austin Murdock
Suppose I have a site that uses many instances of paper-input and paper-dropdown-menu in various custom elements.
I want to change the styling of all the paper-input instances in the site. I can do that by setting CSS variables in a :root rule.

paper-dropdown-menu uses paper-input and I do not want the same CSS variable values to apply to those.
I can't find a way to use different variable values for paper-inputs that are inside paper-dropdown-menus.

Creating a custom element that extends paper-dropdown-menu isn't an option because that would only fix my usages of paper-dropdown-menu, not those that might be in third-party custom elements.
Reply all
Reply to author
Forward
0 new messages