Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
7.45 MB
MD5: ee32413a394e00b572a4d984d5a59739
SHA-1: a9f5a2ebd11c3a94dd9d8b941c7df70782a36b16
SHA-256: 62760a20b428bbfaef5a0a19421f7b10930034038e735607445fed2e7a40162a
Download zip
7.94 MB
MD5: 489727151daba76cee0f82ef5b131c62
SHA-1: daf9326816b3be2fb381b68f3522f6065a4b0418
SHA-256: 7c36388cdf588fd74611a8a1ca16437a8ae4d2efe91f376616b70a5c51324725
Release notes
Region link and border colours work again, and Solo no longer depends on solo.theme on Drupal 11.3+ (no Drupal 12 deprecation). Covers everything since 1.0.36, the last published release.
Requirements
- Drupal
^10.1 || ^11 || ^12.
Fixes
- Region link colours were ignored since 1.0.35 (#3629228: https://www.drupal.org/project/solo/issues/3629228). The link rule was wrapped in
:where(), sosolo-normalize.csswon and links fell back to the text colour. Region link colours now apply again, while a paragraph's own link rules still take precedence. - Region border colour lost to the colour scheme (#3629228). Schemes set the border variable on elements inside the containers and on form fields, buttons and menu items; those rules now skip content inside a region that sets its own border colour. Hover, focus and active states keep the scheme's border so they stay visible.
- Drupal 12 deprecation "Using solo.theme is deprecated". Solo now works fully without
solo.themeon Drupal 11.3 and later: include files are loaded through a newSoloIncludesclass, the three menu suggestion preprocess functions have#[Hook]methods, and the settings and search forms register their include files so a cached form still finds its callbacks. The file stays for Drupal 10 and is marked with core's#[ExtensionFileIsConverted].
Documentation
- Sub-theme README (#3629132: https://www.drupal.org/project/solo/issues/3629132): lists every file and every occurrence of
solo_subthemeto rename, including the PHP namespace insrc/Hook. A copy that keeps the old namespace fails with "Cannot redeclare class". - The starter sub-theme's
.themefile carries the same marker and says to put new code insrc/Hook.
Tests
- New:
RegionLinkColourRuleTest</coriableOverrideTestand
ThemeFileIndependenceTest;Hode> now covers the suggestion preprocess functions.</li></ul> <h3>After updating</h3> <p>Run <code>drush updb, then
drushods and a new class must be registered). This
release adds no database updates.