<!-- Instructions: https://github.com/PolymerElements/paper-toggle-button/CONTRIBUTING.md#filing-issues --> ### Description According to https://www.webcomponents.org/element/PolymerElements/paper-toggle-button/paper-toggle-button#styling "custom properties are available for styling" I would like to use them in stylesheet loaded via `<link>` together with lots of other stuff. ```css paper-toggle-button{ --paper-toggle-button-unchecked-button-color: pink; } ``` ```html <paper-toggle-button></paper-toggle-button> ``` ### Expected outcome Button should be pink ### Actual outcome Button is white ### Live Demo https://jsbin.com/dakiya/1/edit?html,output ### Steps to reproduce 1. Put a `paper-toggle-button` element in the page. 2. Apply custom property to it, like ```css paper-toggle-button{ --paper-toggle-button-unchecked-button-color: pink; } ``` 2. Open the page in a web browser. ### Browsers Affected <!-- Check all that apply --> - [x] Chrome - [x] Firefox - [?] Safari 9 - [?] Safari 8 - [?] Safari 7 - [x] Edge - [x] IE 11 - [?] IE 10 ---- For vanilla Shadow DOM it works like charm http://jsbin.com/legefom/2/edit?html,output
Description
According to https://www.webcomponents.org/element/PolymerElements/paper-toggle-button/paper-toggle-button#styling "custom properties are available for styling"
I would like to use them in stylesheet loaded via
<link>together with lots of other stuff.Expected outcome
Button should be pink
Actual outcome
Button is white
Live Demo
https://jsbin.com/dakiya/1/edit?html,output
Steps to reproduce
paper-toggle-buttonelement in the page.Browsers Affected
For vanilla Shadow DOM it works like charm
http://jsbin.com/legefom/2/edit?html,output