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
css: Updated line height variables for Mozilla theme to reflect guidance published in the brand portal.
css: Removed :hover:visited styles & decreased base link specificity (#1071)
Bug Fixes
css: Breadcrumbs are wider than other site content (#933)
js:MzpNavigation doesn't check for MzpSupports availability correctly (#1085)
Migration Tips
Rich text utility
If you have previously created a class to add back list and table styling to rich text fields you may be able to swap it out for the new component.
This component currently styles h2-h4, ul, ol, dl, table, and pre. If you need more elements please create an issue.
Breadcrumb updates do not require any changes unless you have local customizations.
Icon updates
Icons used internally with Protocol components have been updated but any icons used in consumer projects will have to consider the following:
New and updated icons have intrinsic width of 16x16 instead of 24x24. If you were relying on SVG width and height attributes for sizing, you may need to update by CSS sizing.
Updated icons are still square but do not have padding around the icon. This is particularly noticeable with menu and arrows. If you were relying on the icon for spacing, you may need to update to re-add that spacing through CSS.
Icons formerly known as "arrow" are now known as "caret" and there are new icon designs for "arrow" name. You will need to update naming to keep the "caret" design.
Find and replace $url-image-arrow-down- with $url-image-caret-down-
Mozilla brand color updates
consumer projects will have to update any use of deprecated Mozilla brand colors to the new palettes
Remove :hover:visited styles & decrease base link specificity (#1071)
This will decrease the specificity of Protocol's link and button components, hopefully making local overrides easier, no need to change anything you already have in place.
Removal of :link pseudo classes in some places will mean that <a> elements which do not have a href value could now have link styles when previously they would not have. But, like, maybe don't do that?
Removed :visited styles for .mzp-c-button they should match unvisited styles, if you have :visited styles defined check they are still legible without the expected inherited styles.
Removed the text colour change from :focus styles. Rely on the focus ring for a focus indicator instead.