Add a UI for the drupal generate-theme script

Created on 17 May 2024, 8 months ago

Problem/Motivation

As an ambitious site builder who has created a site using Starshot/DrupalCMS, I am going to want to customize my theme and be able to protect my changes from future updates.

One day I will be able to browse and install themes using Project Browser, but those themes will be connected to future updates. Any themes brought in and unpacked using recipes would also be subject to future updates.

We need to be able to provide a way for custom themes to be created in the admin UI.

Proposed resolution

The functionality already exists to generate a new theme → using the drupal generate-theme script.

php core/scripts/drupal generate-theme custom_theme --name "Custom Theme" --starterkit mystarterkit --path themes/custom

Can we decide how best to implement a theme creation process in the UI using this already existing tool?

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

✨ Feature request
Status

Active

Component

Code

Created by

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @thejimbirch
  • 🇭🇺Hungary Gábor Hojtsy Hungary

    Starshot ideally would not ship code on its own like this but it would be in a module. Is such a module available? Can there be one? People should not be waiting on Starshot to implement such features IMHO, this is entirely possible to do in a contributed project I think. So I think issues in the Starshot queue would be about including/integrating this solution in Starshot.

  • 🇭🇺Hungary Gábor Hojtsy Hungary

    Moving to Drupal CMS!

  • Status changed to Postponed: needs info about 1 month ago
  • 🇦🇺Australia pameeela

    I think that this will be solved in XB with the in-browser coding tool?

Production build 0.71.5 2024