What problem does this feature solve?
The Button uses the same colorPrimaryHover
config for both "primary" background and "default" text color. Can we have a separated config for default's hover background and text?
What does the proposed API look like?
defaultBgHover
- for "default" Button background's color when hover. Value default todefaultBg
if not specified.defaultColorHover
- for "default" Button text's color when hover. Value default tocolorPrimaryHover
if not specified.defaultBorderColorHover
- for "default" Button border's color when hover. Value default todefaultColorHover
if not specified.
1条答案
按热度按时间9gm1akwq1#
It would be great if "active" states could also be considered:
defaultBgActive
- for "default" Button background's color when clicked. Value default todefaultBg
if not specified.defaultColorActive
- for "default" Button text's color when clicked. Value default tocolorPrimaryActive
if not specified.defaultBorderColorActive
- for "default" Button border's color when clicked. Value default tocolorPrimaryActive
if not specified.