Add support for sub-themes of Gin

Created on 23 August 2022, over 2 years ago
Updated 16 January 2023, almost 2 years ago

Problem/Motivation

I'm using a sub-theme of Gin to further customize the backend. This module works great when I set the theme to Gin, but when I use my custom sub-theme of Gin, the changes from this module no longer apply and Site Studio breaks again.

Steps to reproduce

  1. Create a sub-theme of Gin, and set it to be the active Administration theme.
  2. Enable site studio for any field on a content type
  3. Attempt to edit a Site Studio component, it will be broken again

Proposed resolution

Instead of checking if the active theme is Gin, also check if Gin is listed as a base theme for the active theme.

Remaining tasks

Update logic to check if Gin is active theme, or a base theme for the active theme.

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States averagejoe3000 Swanzey, NH

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024