PolymerElements / paper-icon-button

A Material Design icon button
https://www.webcomponents.org/element/PolymerElements/paper-icon-button
42 stars 44 forks source link

paper-icon-button does not provide mixin to style internal iron-icon #92

Open hemantjadon opened 7 years ago

hemantjadon commented 7 years ago

Description

paper-icon-button does not provide mixin support to style internal iron-icon.

Expected outcome

Developer should be able to style fill and stroke of iron-icon easily without using /deep/.

Actual outcome

No way to style the iron-icon inside paper-icon-button.

except width and height (as --iron-icon-width/ --iron-icon-height). This is also not documented properly.

Steps to reproduce

  1. provide the mixin handler for iron-icon.

    Browsers Affected

    • [x] Chrome
    • [x] Firefox
    • [x] Safari 9
    • [x] Safari 8
    • [x] Safari 7
    • [x] Edge
    • [x] IE 11
    • [x] IE 10