Skip to content

Prop intensity or tone for base components as Bagde, Chips, etc... #46059

Closed
@GabrielGomesBarbosa

Description

@GabrielGomesBarbosa

Summary

Hi folks,

I have a simple question, about some components have how we can change the intensity of color for some components like Badge, Alert, Chips, etc... by include a new prop called intensity or tone.

What's do you think about it ?

Examples

Usage example:

<Chip label="Clickable" onClick={handleClick} intensity="light" />
<Chip label="Clickable" variant="outlined" onClick={handleClick} intensity="main" />

Prop intensity with values week, medium, strong or something like this.

Motivation

Make intensity change instead change in css className, or create a custom style for this, because it's already in palette from theme.

Search keywords: intensity, tone

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions