Skip to content

Label - update to unified tokens #8128

@nicolethoen

Description

@nicolethoen

Figma Link

https://www.figma.com/design/qRn3S225WwGHIdgGZX0LTC/Unified-Theme--Design-Tokens--Styles---Specs?node-id=9552-14281&p=f&m=dev

Jira/GitHub Ticket Link

TBD

Design Screenshot

image

Any extra notes for developers

@tarunvashishth

Here's what you need to do:

  • Swap out any FA icons in labels to "RH" icons

  • To use "RH" icons, replace any [i class="fas fa..."] HTML with {{{{ pfIcon "rh-icon-name" }}}}

  • the FA "info" icon should change to "rh-ui-information-fill" ({{{{ pfIcon "rh-ui-information-fill" }}}})

  • the FA "times" icon (close button) should change to "rh-microns-close"

  • If there are any more, try to find the closest replacement for the FA icon on here https://pf-react-staging.patternfly.org/icons (search for "rh " to find all of the "rh" icons) and use the most suitable one. Odds are it will be a "rh ui ..." icon

  • Change the spacer/gap between the label text and close button to --pf-t--global--spacer--gap--text-to-element--default (should be 8px)


Jira Issue: PF-3552

Metadata

Metadata

Assignees

Labels

PF TeamIssue originates from PF Team

Projects

Status

Not started

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions