v13.0.0
This is a pretty significant update that introduces brand themes. This also renames a number of things so follow the migration tips below.
Features
- css: (breaking) Implement brand themes. (#447)
- css: Update type scale(s) (#410)
- component: Add error message component (#430)
Bug Fixes
- js: Check for sidemenu before initializing (#643)
Migration Tips
- xxl and xxs font size mixins are renamed to 2xl and 2xs respectively. Replace all instances.
text-title-xxlchanges totext-title-2xltext-title-xxschanges totext-title-2xs
- xxl and xxs title utility classes are renamed to 2xl and 2xs respectively. Replace all instances in HTML (also consider replacing utility classes in HTML with the equivalent mixins in Sass/SCSS).
mzp-u-title-xxlchanges tomzp-u-title-2xlmzp-u-title-xxschanges tomzp-u-title-2xs
protocol-extra.scssis renamed toprotocol-components.scssbase/utilities/_typography.scssis renamed tobase/utilities/_titles.scss- The variables
$font-metropolis,$font-zilla-slab, and$font-interare deprecated in favor of design tokens$font-stack-firefox,$font-stack-mozilla, and$font-stack-baserespectively.$font-metropilischanges to$font-stack-firefox$font-zilla-slabchanges to$font-stack-mozilla$font-interchanges to$font-stack-base
mzp-c-form-headingandmzp-c-form-subheadinghave been changed tomzp-c-form-titleandmzp-c-form-subtitle.- Headings/titles now have an explicitly declared text color (not inherited).