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:disabled
class. -
Added
@p
modifier to grid attributes (data-cols@p
etc.) for print layouts. -
Added new customization variables:
--border-width
, as well as variants forinline
,block
,start
,end
andinteractive
styles--border-style
, with the same variants--border-radius
,--interactive-border-radius
and--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:none
margin:0
margin:auto
padding:0
all with
block
/inline
/start
/end
versions. -
Added inner density classes:
-
Added variables for customizing chips:
--chip-border-width
and--chip-border-style
-
Added
-x
and-y
variants to alloverflow
utility classes. -
Added support for selecting color scheme with
<meta name="color-scheme">
.- Deprecated the
.-dark-theme
and.-no-dark-theme
classes.
- 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-switch
and.--f-switch-threshold
to.flex-row
,.flex-column
,.flex-switch
and.--flex-switch-threshold
.- Deprecated the old name.
-
Added Lucide to our documentation as our officially recommended icon set.
-
In the
.breadcrumbs
class:-
Added support for the
<ol>
element'stype
attribute --- when present, the breadcrumbs will be numbered. -
Added
--breadcrumb-page
and--breadcrumb-step
for controlling the separator used.
-
-
<a>
elements with the.<button>
masquerade now work with theiconbutton
class. -
Buttons now support colorways.
-
Added improved styling for
<select>
using the new customizable select features, as well as colorway support. -
<dl>
elements with the.textcolumns
class will now avoid breaking inside terms and descriptions, or between a term and its description. -
Fixed: Dialog elements opened via the new
popover
andpopovertarget
attributes 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:initial
class. -
Deprecated the
.primary-font
class, previously renamed.main-font
. -
Deprecated the
--rhythm
variable in favor of the newlh
andrlh
units in CSS. -
Un-deprecated the
.center
class.