Changelog
-
Added toggle buttons --- create a toggle button by adding
role="switch"to an<input type="checkbox"> -
Added print annotations that show
<abbr>expansions and<a>hrefs. These can be disabled via the newannotations@print:disabledclass. -
Added
@pmodifier to grid attributes (data-cols@petc.) for print layouts. -
Added new customization variables:
--border-width, as well as variants forinline,block,start,endandinteractivestyles--border-style, with the same variants--border-radius,--interactive-border-radiusand--tab-border-radius--shadow--shadow-focus--shadow-active--shadow-disabled--pressed-shadow--pressed-shadow-focus--pressed-shadow-active
-
Added new layout utilities:
-
Added new border utilities:
border:nonemargin:0margin:autopadding:0
all with
block/inline/start/endversions. -
Added inner density classes:
-
Added variables for customizing chips:
--chip-border-widthand--chip-border-style -
Added
-xand-yvariants to alloverflowutility classes. -
Added support for selecting color scheme with
<meta name="color-scheme">.- Deprecated the
.-dark-themeand.-no-dark-themeclasses.
- Deprecated the
-
Added scrollbar styling based on theme colors.
-
Added styles for
<progress>and<meter>elements. -
- Deprecated the old name.
-
Renamed
.f-row,.f-col,.f-switchand.--f-switch-thresholdto.flex-row,.flex-column,.flex-switchand.--flex-switch-threshold.- Deprecated the old name.
-
Added Lucide to our documentation as our officially recommended icon set.
-
In the
.breadcrumbsclass:-
Added support for the
<ol>element'stypeattribute --- when present, the breadcrumbs will be numbered. -
Added
--breadcrumb-pageand--breadcrumb-stepfor controlling the separator used.
-
-
<a>elements with the.<button>masquerade now work with theiconbuttonclass. -
Buttons now support colorways.
-
Added improved styling for
<select>and partial colorway support. -
<dl>elements with the.textcolumnsclass will now avoid breaking inside terms and descriptions, or between a term and its description. -
Fixed: Dialog elements opened via the new
popoverandpopovertargetattributes will now display correctly. -
Made a whole slew of improvements to our documentation.
-
Fixed an issue where some color variables were not properly set in dark mode.
-
Fixed an issue with scrollbar placement in
.sidebar-layout(#68). -
Fixed an issue where our build process generated syntactically invalid CSS, which could break other people's tools (#76).
-
Removed the broken ARIA Listbox component.
-
Removed various cases of invalid CSS.
-
Deprecated the
.all:initialclass. -
Deprecated the
.primary-fontclass, previously renamed.main-font. -
Deprecated the
--rhythmvariable in favor of the newlhandrlhunits in CSS. -
Un-deprecated the
.centerclass.