Skip to content

Merge Barra Changes#105

Open
miguel-hub wants to merge 11 commits into
mainfrom
develop
Open

Merge Barra Changes#105
miguel-hub wants to merge 11 commits into
mainfrom
develop

Conversation

@miguel-hub

Copy link
Copy Markdown
Collaborator

The following Design Token changes need to be made, these arose from the Design QA of the first batch of web components.

making the token value of color.border.disabled to use the same value as color.background.disabled for the Mastercard theme in both modes.

Update the border radius of the checkbox to 4px in the Mastercard theme (currently set to 2px, this doesn’t really fit with the look and feel of the rest of our components)

Update the border radius of the Modal to 20px in the Mastercard theme (currently set to 10px, this doesn’t really fit with the look and feel of the rest of our components such as Card and Menu)

The feedback from Andy is that our Modal overlay offers too little contrast between the actual modal and the application visuals underneath. I tested in design and I agree. Therefore we need to update 2 tokens:

{color.background.backdrop-mode-dark} to color.black at 60% opacity in Dark mode for the Mastercard theme. While this improves it, the modal could still use a border in order to ensure its can be distinguished form the background (see below change)

component.modal.border-color should reference color.border.default in both modes for the Mastercard theme.

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 11 commits November 18, 2025 15:17
Missed a change in the last update, correcting the size tokens for the Text Area component-level tokens to change the term "default" to "medium". This applies to the following tokens in each theme:

component.textarea.medium.padding-x
component.textarea.medium.padding-y
Updating the value of the token: component.modal.top-bar.padding-right
In the mastercar theme, this was incorrectly set to 3rem {size-space.12-x} instead of 1.5rem {size-space.6-x} 

Updating the value of the token: color.background.backdrop-mode-light
Specifically, updating the opacity value in the Mastercard theme from 70% opacity to 40% so that it is the same as the Unify theme.
+-----------------------------------------------------+-------------------+-------------------+
| Token name                                          | Old value         | New value         |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.hover.text-color-mode-light          | {color.gray.1600} | {color.gray.1300} |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.active.text-color-mode-light         | {color.gray.1400} | {color.gray.1200} |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.hover.text-color-mode-dark           | {color.gray.200}  | {color.gray.300}  |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.active.text-color-mode-dark          | {color.gray.400}  | {color.gray.500}  |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.neutral.hover.text-color-mode-light  | {color.gray.1600} | {color.gray.1300} |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.neutral.active.text-color-mode-light | {color.gray.1400} | {color.gray.1200} |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.neutral.hover.text-color-mode-dark   | {color.gray.200}  | {color.gray.300}  |
+-----------------------------------------------------+-------------------+-------------------+
| component.link.neutral.active.text-color-mode-dark  | {color.gray.400}  | {color.gray.500}  |
+-----------------------------------------------------+-------------------+-------------------+
…"contained" variants:

| Token                                          | Reference *new* | Raw *new* |
+------------------------------------------------+-----------------+-----------+
| component.tabs.contained.background-mode-light | {gray.300}      | {#F3F0EE} |
+------------------------------------------------+-----------------+-----------+
| component.tabs.contained.background-mode-dark  | {gray.1500}     | {#2A2A28} |
+------------------------------------------------+-----------------+-----------+
| component.tabs.contained.background            |                 |           |
component.tabs.contained.background-mode-dark
It was referencing a Mastercard primitive color instead of a Unify primitive color
Pushing a fix for a token conflict in the Unify theme for the token:
…the Design QA of the first batch of web components.

making the token value of color.border.disabled to use the same value as color.background.disabled for the Mastercard theme in both modes.

Update the border radius of the checkbox to 4px in the Mastercard theme (currently set to 2px, this doesn’t really fit with the look and feel of the rest of our components)

Update the border radius of the Modal to 20px in the Mastercard theme (currently set to 10px, this doesn’t really fit with the look and feel of the rest of our components such as Card and Menu)

The feedback from Andy is that our Modal overlay offers too little contrast between the actual modal and the application visuals underneath. I tested in design and I agree. Therefore we need to update 2 tokens:

{color.background.backdrop-mode-dark} to color.black at 60% opacity in Dark mode for the Mastercard theme. While this improves it, the modal could still use a border in order to ensure its can be distinguished form the background

component.modal.border-color should reference color.border.default in both modes for the Mastercard theme.
The following Design Token changes need to be made, these arose from …
@miguel-hub miguel-hub changed the title Mere Barra Changes Merge Barra Changes Mar 30, 2026
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.

4 participants