MDS Assistant is an experiment.
Hi, I'm the MDS Assistant and can help you with information from our guidelines and components.

I do not provide code and development guidance. For coding assistance, please check out our experimental MCP server.

Weakest, weak, strong, strongest

We've re-evaluated our "subtle" and "alt" colour shade names.
Jesper Bülow
Visual Designer
15 January 2024

As we developed the new Segmented Control component, an opportunity arose to re-evaluate how we name our “subtle” and “alt” colour shades. We realised two things:

  • The fidelity in our neutral palette did not provide enough contrast when the Segmented-Control and Tag/Notification components with a “neutral-subtle” appearance were placed on a “neutral-subtle” canvas (see below).
  • It was unclear what the meaning behind “subtle” and “alt” was 😃.

To correct this and provide us with a clean naming convention that also scaled to allow extra shades, “subtle” and “alt” shades have been superceded by new “weakest”, “weak”, “strong”, and “strongest” shades.

Then
Segmented-Control on a Neutral-Subtle canvas.
Now
Segmented-Control on a Neutral-Weakest canvas.
Then
Neutral-Subtle Tag on a Neutral-Subtle canvas.
Now
Neutral-Weak Tag on a Neutral-Weakest canvas.
Then
Neutral-Subtle Notification on a Neutral-Subtle canvas.
Now
Neutral-Weak Notification on a Neutral-Weakest canvas.

What’s changed

We have refactored our existing “subtle” and “alt” colour shade design tokens to reflect a new scale based naming convention of “weakest”, “weak”, “strong”, “strongest”.

New shades and mappings to the “subtle” and “alt” shades.

All existing themes (Maerk Light, Maersk Dark and APMT Light) support the new shades.

Background shades

NowThen
neutral_weakest_background_colorneutral_subtle_background_color
neutral_weak_background_color ⭐
neutral_strong_background_colorneutral_alt_background_color
neutral_strongest_background_color ⭐
primary_weak_background_colorprimary_weak_background_color
secondary_weak_background_colorsecondary_subtle_background_color
info_weak_background_colorinfo_subtle_background_color
error_weak_background_colorerror_subtle_background_color
warning_weak_background_colorwarning_subtle_background_color
success_weak_background_colorwarning_subtle_background_color

⭐ New shade!

Text and “on-background” shades

NowThen
neutral_weakest_text_colorneutral_subtle_text_color
neutral_weak_text_colorneutral_alt_text_color
neutral_weakest_on-background_colorneutral_subtle_on-background_color
neutral_weak_on-background_colorneutral_alt_on-subtle_color
neutral_strong_on-background_color ⭐
neutral_strongest_on-background_color ⭐
primary_weak_on-background_colorprimary_subtle_on-background_color
secondary_weak_on-background_colorsecondary_subtle_on-background_color
info_weak_on-background_colorinfo_subtle_on-background_color
error_weak_on-background_colorerror_subtle_on-background_color
warning_weak_on-background_colorwarning_subtle_on-background_color
success_weak_on-background_colorsuccess_subtle_on-background_color

⭐ New shade!

Border shades

NowThen
neutral_weak_border_colorneutral_subtle_border_color
primary_weak_border_colorprimary_subtle_border_color
secondary_weak_border_colorsecondary_subtle_border_color
info_weak_border_colorinfo_subtle_border_color
error_weak_border_colorerror_subtle_border_color
warning_weak_border_colorwarning_subtle_border_color
success_weak_border_colorsuccess_subtle_border_color

⭐ New shade!

For Designers

This will be updated in Figma with version 2.14.0 of the MDS:UI library and will not cause any breaking changes.

Components and color tokens will be updated automatically.

For Developers

Colour shade refactoring has meant that related CSS variables, classes and component appearance values for “Tag” and “Notifcation” have also been refactored to reflect the new shade naming conventions.

The old “subtle” and “alt” names and values are still available and automatically map to the new shades and so you should not experience any breaking changes.

However, “subtle” and “alt” shades will be removed from code at the start of Q3 2024 so we recommend migrating to the new shade tokens over the coming months.