Install

Works with Drupal: ^10 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 42.98 KB
MD5: c429fd6ba5f98567cc874db1c0ae5bcb
SHA-1: ade31e12b02f50a773df5ca9d0ea658663b510b3
SHA-256: 642406d8d7d452cbb7ad128c6a1501d8247db4c89f7d5c866188a751e6ba7868
Download zip 65.34 KB
MD5: 1f7071f4aa86f0961e2774b36e1e8676
SHA-1: f0eaff5af5f85be56cc97b4768c57fa6545dcf4a
SHA-256: 35de7f34b25dd7a00fccfccc51e497f722b3d522c22d91af5b2ad663ecfa24b8

Release notes

New: create a Solo sub-theme with one Drush command. Covers everything since 1.0.9, the last published release.

Requirements

  • Drupal ^10 || ^11 || ^12, PHP 8.1+, core Node. Built for the Solo theme.
  • The new command needs Drush 12 or later.

New

  • drush solo:subtheme my_theme (#3632220: https://www.drupal.org/project/solo/issues/3632220). Finds the Solo theme wherever it is installed, copies its solo_subtheme starter to themes/custom/my_theme under your web root, and renames every file name, namespace, class, function, library, CSS/JS file, JS behavior and label to the new name. Add --label="My Theme" to choose the human-readable name. It prints the two commands that install the theme and make it the default.
  • The name follows Drupal's rules: lowercase letters, numbers and underscores, starting with a letter, at most 50 characters, not a reserved name, and not used by another theme, module or profile on the site. A name that breaks a rule is refused with the reason, and an existing folder is never overwritten.
  • A sub-theme is only needed to override Twig templates. Theme settings survive Solo updates, and your own CSS and JavaScript go in Solo's Global Site Settings > Custom Code.

Documentation

  • README: a "Create a sub-theme" section, plus plainer wording and American English.

Tests

  • New SubthemeGeneratorTest: the naming rules, every spelling of the starter's name in file names and contents, an existing folder left untouched, and a full rename of the starter shipped in Solo.

After updating

Run drush cr. This release adds no database updates.

Created by: flashwebcenter
Created on: 22 Oct 2026 at 00:36 UTC
Last updated: 22 Oct 2026 at 00:36 UTC
New features

Other releases