Install
Works with Drupal: ^11.5 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
43.26 KB
MD5: 6906af01448d35a54ac3ccaa71464df5
SHA-1: 00b12f1c05ed2abb44b914a79897fb984b05d82c
SHA-256: a4faf4564fd4abd9c4c5c92503fbf4f94385fce9bcdf751b144b2cdebccc9a0b
Download zip
56.76 KB
MD5: e1bd5272b144e094da8a2b6c0a4bc901
SHA-1: f19efefd5ee090a5017f87d9444d77172f29d37e
SHA-256: 63d56a2ab095d3d0f3f3adc9f1d0e8b6c419ceac5be075c57d7da451a6cd6269
Release notes
The first release: core's admin chrome on the Design System API's contract. Navigation (sidebar and top bar), contextual links, and the Toolbar with Admin Toolbar take the chrome context's colour, type, spacing, radius, shadow and focus. Up to Design System API 1.0.0-alpha7 this was the module's design_system_api_chrome submodule.
Status: experimental. It follows the Design System API's contract, which will still change.
What it does
- Marks the roots of core's chrome as the chrome context's regions, so they take the chrome's values on any page.
- Where a chrome library is attached, removes core's skin CSS for them and draws them on contract tokens. Forced colours are handled.
- With Display preferences installed, the color mode and contrast switch sits in the top bar.
Moving from the Design System API's submodule
- The machine name is the same. Add this project with Composer before updating the Design System API to 1.0.0-alpha8, and the site keeps its configuration.
Requirements
Drupal ^11.5 || ^12, PHP 8.3 or later, and the Design System API 1.0.0-alpha8 or later.