PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Follow Material Design spec better #142

Open petja opened 7 years ago

petja commented 7 years ago

Current

image

My suggestion

image (Disabled button wraps to new line in the demo because of its width. This need to be fixed.)

Changes

Related: #129

matthewpull commented 7 years ago

This would make it in-keeping with other implementations of material design (Angular Material, Material Design Lite, Materialize, Vue Material, etc.), but do you think that a margin should be added between the icon and text?

petja commented 7 years ago

@matthewpull Sorry for late answer, but I personally think margin should be responsibility of the developer itself. But it's my opinion only. Someone may think otherwise.