Repository navigation
@chassis-ui/css v0.8.0
Minor Changes
-
c2fe00e: Breaking: the HTML font family is removed. Chassis CSS is built with
@chassis-ui/tokens0.8, which replacestypography.fontFamily.htmlwith one family per group of HTML elements.- Removed the Sass variable
$font-family-html, the"html"key of$font-families, the custom property--cx-font-family-htmland the utility.font-html(font-htmlin the Tailwind entry). Use.font-text,.font-displayor.font-code, orvar(--cx-font-family-text)and the other families, for the family the brand gives the element. $heading-font-familyis thefont-familyof$cx-font-html-h1, the family the brand gives its headings:var(--font-family-text)in thechassisbrand,var(--font-family-display)insinefil..blockquoteand.attributiontake theirs from$cx-font-html-blockquoteand$cx-font-html-citein the same way. Every heading, quote and attribution keeps the family it had.- A project with its own token source builds it with
@chassis-ui/tokens0.8. The maps of 0.7 name--font-family-html, which:rootno longer declares.
The colors of the default tokens change with tokens 0.8, and the compiled CSS with them: new base colors for
primary,neutral,danger,success,warningandinfo, one step darkerfg-highlightin the light theme, stronger link colors in the dark theme, anddim-slightof thedefaultcontext for the hover of a table row. The contrast pick of.fg-a11yand.bg-a11yfollows the new colors: white ondangerin the light theme, and black oninfoin both themes. - Removed the Sass variable