The fixForFirefox
, fixForMsEdge
,
fixForIE10AndUp
, and fixForIE11AndUp
SASS mixins were added to clarity/utils/helpers.clarity.scss
. These mixins allow us to target CSS fixes to specific
browsers.
Clarity has been upgraded to use BS4 Alpha 3. This allows users of Clarity to take advantage of the new BS for functionality with the flex box grid. With Alpha 3, BS4 rewrote some of the classnames related to their grid. Users of Clarity who were using Push, pull, offset classes May need to replace the old class names with the new format. More information is available in the BS4 documentation.
The rpx()
SASS function has been removed from Clarity. Make sure to replace it with a measurement in pixels. For example, padding-top: rpx(2)
would become padding-top: 2px
.
Clarity's typography has been completely redone. It is imperative that all applications upgrading to 0.4.0 verify any customizations they had previously made to Clarity's font specs. Our own internal upgrades involved minimal changes to existing CSS overrides. Nevertheless, Clarity strongly advises all users to visually check their applications after upgrading.
More information on SASS/SCSS convenience functions that have been added to Clarity to assist with the use of typography can be found in the typography documentation.