Problem/Motivation

When dealing with sub-themes generating from a theme in the contrib space that could have a lot of themes off-the-shelf (i.e. DaisyUI: https://daisyui.com/docs/themes/), it would be useful to have the ability to disable the themes we don't want to see/use in the sub-theme.

Changes

Add and manage a new key (example: disable) in the ThemeDefinition.php

Issue fork ui_skins-3540042

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

g4mbini created an issue. See original summary.

g4mbini’s picture

Issue summary: View changes

grimreaper made their first commit to this issue’s fork.

grimreaper’s picture

Version: 1.1.0-alpha3 » 1.1.x-dev
Assigned: Unassigned » grimreaper

grimreaper’s picture

Assigned: grimreaper » g4mbini
Status: Active » Needs review
g4mbini’s picture

Status: Needs review » Reviewed & tested by the community

I confirm that putting enabled: FALSE in the ui_skins.themes.yml file make skins disappear from /admin/appearance/settings/my_theme.

Thanks @Grimreaper !

g4mbini’s picture

Assigned: g4mbini » Unassigned

  • grimreaper committed 21000dcc on 1.1.x
    Issue #3540042 by grimreaper, g4mbini: Add ability to disable themes...
grimreaper’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.