PolymerElements / paper-checkbox

A Material Design checkbox
https://www.webcomponents.org/element/PolymerElements/paper-checkbox
58 stars 62 forks source link

Expose border styling properties as CSS properties #214

Open laddng opened 3 years ago

laddng commented 3 years ago

There are three border styling properties we would like to expose on paper-checkbox for our use case. Upon upgrading to Polymer 3 from Polymer 1, the switch from ShadyCSS to ShadowDOM broke some of our custom styling for paper-checkbox. In this PR, we expose these properties as CSS variables and maintain the default styles as a fallback.

Fixes #182, fixes #184.

laddng commented 3 years ago

Hi @bicknellr, it appears that the Travis CI is no longer functioning properly. Is there any chance we could get this minor style update merged in and a new version number released? It would spare us from having to fork or vendor the entire component. Thanks!