You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alert banner now uses Spectrum 2 tokens and specifications. In this new design, the divider has been removed.
10
+
11
+
The following changes have been made to the mod custom properties:
12
+
13
+
-`--mod-alert-banner-size` was renamed to `--mod-alert-banner-inline-size`
14
+
-`--mod-alert-banner-neutral-background` was previously misspelled. The mod `--mod-alert-banner-background` was also added, which will take precendence over the variant background mods.
15
+
-`--mod-alert-banner-top-text` was renamed to `--mod-alert-banner-top-to-text`
16
+
-`--mod-alert-banner-top-icon` was renamed to `--mod-alert-banner-top-to-icon`
17
+
-`--mod-alert-banner-bottom-text` was renamed to `--mod-alert-banner-bottom-to-text`
18
+
-`--mod-alert-banner-start-edge` was renamed to `--mod-alert-banner-inline-start-to-content`
19
+
-`--mod-alert-banner-edge-to-button` was renamed to `--mod-alert-banner-block-edge-to-button`
20
+
- The spacing on either side of the close button is now controlled by two separate mods; `--mod-alert-banner-close-button-to-inline-end` and `--mod-alert-banner-close-button-to-content`. The previous `--mod-alert-banner-close-button-spacing` has been removed.
21
+
- A new mod `--mod-alert-banner-inline-end-to-content` was added, which handles the inline end spacing when the alert banner does not have a close button. Or when there is neither a close button or an action button.
0 commit comments