Skip to content

Color attribute for Buttons #5183

@Bradley-H

Description

@Bradley-H
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

The feature would give more control to the developer. Currently, buttons only have 4 options ( primary, danger, dashed, and link ), sometimes our projects may require more control such as a certain color scheme, for example - may be in a project i require a button with a purple background color.

What does the proposed API look like?

Wouldn't take much, just take the type attribute and allow hex or RGBA values.

So for example testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions