Skip to content

Merge develop into main - #75

Merged
miguel-hub merged 729 commits into
mainfrom
develop
Jun 25, 2025
Merged

Merge develop into main#75
miguel-hub merged 729 commits into
mainfrom
develop

Conversation

@miguel-hub

Copy link
Copy Markdown
Collaborator

Closes #

{{short description}}

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}

Removed

  • {{removed thing}}

Testing / Reviewing

{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}

olearyb and others added 29 commits March 26, 2025 14:08
Primitive layer:
z-index.sub-9999 {-9999}
z-index.1 {1}
z-index.100 {100}
z-index.200 {200}
z-index.300 {300}
z-index.400 {400}
z-index.500 {500}
z-index.600 {600}
z-index.700 {700}
z-index.800 {800}
z-index.900 {900}

Theme (Semantic) layer:
z-index.dropdown { z-index.100 }
z-index.backdrop { z-index.200 }
z-index.modal { z-index.800 }
z-index.alert-toast { z-index.800 }
…gma-only

feature: marking body, label, link tokens as figmaOnly..
accordion
alert
breadcrumb
button
modal
badge
link
pagination
tabs
list-item
tag
table
stepper
date-picker
loader

-----------------------------------

Badge tokens

Changing token value of:
component.badge.default.font-size

From:
{size-space.2-5-x}
To 
0.625rem

Changing token value of:
component.badge.large.font-size

From:
{size-space.3-5-x}
To 
{font-size.04} 

-----------------------------------

Breadcrumb tokens

Changing token name from:
component.breadcrumb.font-size
To
component.breadcrumb.default.font-size

Adding additional token for the small size:
component.breadcrumb.small.font-size

Changing token name from:
component.breadcrumb.line-height
To
component.breadcrumb.default.line-height

Adding additional token for the small size:
component.breadcrumb.small.line-height

-----------------------------------

Loader tokens

Changing token value of:
component.loader.large.font-weight

From:
{font-weight.regular}
To 
{font-weight.medium}

-----------------------------------

Modal tokens

Changing token value of:
component.modal.content.font-size

From:
{font-size.04}
To 
{font-size.body.default}
…d Partnerbank theme. Token vlaues need to be the same type across themes (ie: Theme A is a number value, but Theme B is a string, this will cause the token to not be published as a variable in Figma)
--made-time-moderate-01
--made-time-moderate-02
--made-time-moderate-fast-01
--made-time-moderate-fast-02
--made-time-slow-01
--made-time-slow-02

Teams should instead use our new motion-duration tokens

"duration": {
      "shortest": {
        "$type": "duration",
        "$value": "50ms"
      },
      "short": {
        "$type": "duration",
        "$value": "150ms"
      },
      "medium": {
        "$type": "duration",
        "$value": "200ms"
      },
      "default": {
        "$type": "duration",
        "$value": "300ms"
      },
      "long": {
        "$type": "duration",
        "$value": "400ms"
      },
      "longest": {
        "$type": "duration",
        "$value": "500ms"
      }
    }
  },
…e naming of half step tokens when converted to camelCase, the current naming creates duplicate for these case (1-5 and 15 etc) and a conflict.

The solution is to rename the following tokens from:
size-space.0-25-px
size-space.0-5-px
size-space.1-5-px
size-space.2-5-px
size-space.3-5-px

TO:
size-space.0point25-px
size-space.0point5-x
size-space.1point5-x
size-space.2point5-x
size-space.3point5-x
From: size-space.0point25-px
to: size-space.0point25-x
component.card.padding-x
component.card.padding-y

From: {size-space.0-x}
to: {size-space.5-x}
…esn't change across different modes). This is being added to the Theme and Mode sets.

Met with AH on April 30th and discussed the need for this token specifically for card text on a background that is an image.

“A persistent color that does not change across different modes (light and dark). Use this token sparingly. Its primary use is for text colors on cards that use images as backgrounds. “
…n't change across different modes).

It makes sense to also add this type of token to our icon set of tokens. 

“A persistent color that does not change across different modes (light and dark). Use this token sparingly.”



Also realised that the text.fixed token was only added to the Unify theme, adding this into the Mastercard and Partnerbank themes.
…ponent tokens in the MODE set. These were incorrectly referencing semantic tokens in the Theme set instead of component-level tokens in the Theme set.
…nents: Accordion title; Alert Title; Badge label; Button label; Tab label.

This is so that the -2% can be applied to certain labels in the Mastercard theme without affecting other themes
component.button.default.padding-x [{size-space.6-x}]

component.button.small.padding-x [{size-space.4-x}]
border.radius.large > from {size-space.2-x} to {border-radius.08}
…s token references:

component.alert.border-radius
changing from {border.radius.default} to {border.radius.large}

component.modal.border-radius
changing from {border.radius.default} to {border.radius.large}

component.card.border-radius
changing from {border.radius.default} to {border.radius.large}

component.menu.border-radius
changing from {border.radius.default} to {border.radius.large}

component.date-picker.border-radius
changing from {border.radius.default} to {border.radius.large}

component.date-picker.border-radius
changing from {border.radius.default} to {border.radius.large}

component.drawer.border-radius
changing from {border.radius.default} to {size-space.8-x}
from Gray.200 to 300

color.background.disabled-mode-dark 
from Gray.1200 to 1400
Changing value from a solid grey to transparent:
{color.background.surface.transparent-mode-dark}
…ent-level letter spacing tokens in the Unify theme. .Setting them back to 0 for the Unify Theme only.
@miguel-hub
miguel-hub merged commit 1c0b2b7 into main Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants