Skip to content

The following Design Token changes need to be made, these arose from …#104

Open
olearyb wants to merge 1 commit intodevelopfrom
feature/barra-MADE-1069
Open

The following Design Token changes need to be made, these arose from …#104
olearyb wants to merge 1 commit intodevelopfrom
feature/barra-MADE-1069

Conversation

@olearyb
Copy link
Collaborator

@olearyb olearyb commented Mar 13, 2026

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 }}

…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.
@olearyb olearyb requested review from andy-made and miguel-hub March 13, 2026 16:01
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.

1 participant