Baseflow / Baseflow/XF-Material-Library

Add MaterialButton TintColor Property?

Open
#136 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
633
Forks
150
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
As of now, when you use a MaterialButton with an icon, the color of the text and the icon might be different, depending on image color. Sometimes one might want to use a tintable icon on default MaterialButton without having to generate a icon with a specific color.

**Describe the solution you'd like**
I can think about two fair ways to solve this problem: (1) having the icon to inherit MaterialButton TextColorProperty; or (2) having a TintColorProperty which defaults to TextColor.

**Describe alternatives you've considered**
For now, I'm using the MaterialIconButton with no text.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.