Install

Works with Drupal: ^11.5 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 43.37 KB
MD5: a0fd3ff7ff909bb0d100e8d1eee065cc
SHA-1: 544265ff0fb8a4ed240d592be7fca709281674ee
SHA-256: 249cd95f599a5b38524040ea3f06b3de37ca76668dc3bf89270ecec902e2b20d
Download zip 56.91 KB
MD5: 7e4d2df83224fd48e50f76edf0e9a31e
SHA-1: 2e83587c6bcb152491856ba0838d4c7e547df155
SHA-256: 96c2ded3752d66a34c232738dbcaeb6d128d6eb19c25c675891ddf98776af43b

Release notes

Use this release, not 1.0.0-alpha1. It has the same code. While this project was a submodule of the Design System API, packages.drupal.org published each Design System API release from 1.0.0-alpha1 to 1.0.0-alpha7 as a metapackage named drupal/design_system_api_chrome, which installs no code of its own. This release is numbered past them, so composer require drupal/design_system_api_chrome:^1.0@alpha installs the project.

The first usable 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.

Created by: d34dman
Created on: 10 Nov 2026 at 17:44 UTC
Last updated: 10 Nov 2026 at 17:44 UTC

Other releases