Repository navigation
@chassis-ui/css v0.9.0
Minor Changes
-
7a1b35a: Breaking: background gradients are off by default, and Chassis CSS is built with
@chassis-ui/tokens0.9, which changes the fonts of thechassisbrand.$enable-background-gradientsisfalseby default. Avatars, badges, buttons, chips, the file input button, check inputs and switches, the range thumb, the active link of.nav-segments, pagination links, progress bars, stepper items, toast headers and tooltips no longer addvar(--cx-bg-gradient)to theirbackground-image. Set$enable-background-gradients: trueto keep it..bg-gradientand--cx-bg-gradientdo not change.- Headings take their family from the new token
typography.fontFamily.html-heading.:rootdeclares--cx-font-family-html-heading, and$heading-font-familyisvar(--font-family-html-heading). In thechassisbrand that is Montserrat, so headings change from Inter to Montserrat. - The card fonts come from the tokens.
$card-md-title-fontand the other eight title, subtitle and body fonts of the three card sizes move toscss/tokens/_card.scss, with the$cx-font-card-*maps of tokens 0.9 as their defaults, and stay configurable as before. The fallbacks of the card custom properties name--cx-font-size-lg,--cx-font-weight-strongand--cx-line-height-lg(and the other sizes) instead of the-text-properties they point to, so cards look the same. - Tokens 0.9 changes other fonts of the
chassisbrand. The display family is Montserrat instead of Archivo Narrow..font-jumbo,.font-heroand.font-headinguse the display family,.font-leadis Light (300), and.font-title,.font-title-lgand.font-title-smtake the strong weight of the display family..font-jumboand.font-herotighten their letters (-0.15625remand-0.09375rem), and every letter spacing is inrem. - A project with its own token source builds it with
@chassis-ui/tokens0.9.scss/tokens/reads$cx-typography-font-family-html-headingand the$cx-font-card-*maps, which 0.8 does not have.