Skip to content

Update alert message, inline alert, button, checkbox item, radio button item, switch item, suggestion chip, filter chip, link, tag and text input to allow the use of fixed images #1316

@paulinea

Description

@paulinea

Context

Today these components allow the use of decorative icons represented by an heart icon in Figma files and the color of this icon changes depending on whether the app is in light or dark mode.
The following decision has been taken during lead meeting: We need to also support the use of fixed color images at the place of the heart decorative icons.

Description

The listed components must be updated to support the use of fixed color images in addition to today's icons.
The provided images keep their original ratio and their sizes are defined by their height that must be the same as the heart icon container in each component (use the same token).

Add an exemple for each component in the demo app.

Inputs

Use the following placeholder image in the demo app to illustrate this new feature:

Image

Definition of Done

  • Update component alert message (API, doc, demo app)
  • Update component inline alert (API, doc, demo app)
  • Update component button (API, doc, demo app)
  • Update component checkbox item (API, doc, demo app)
  • Update component radio button item (API, doc, demo app)
  • Update component switch item (API, doc, demo app)
  • Update component suggestion chip (API, doc, demo app)
  • Update component filter chip (API, doc, demo app)
  • Update component link (API, doc, demo app)
  • Update component tag (API, doc, demo app)
  • Update component text input (API, doc, demo app)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions