Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[theme:install] Set default admin theme #4190

Open
Deele opened this issue Nov 8, 2019 · 0 comments
Open

[theme:install] Set default admin theme #4190

Deele opened this issue Nov 8, 2019 · 0 comments

Comments

@Deele
Copy link

Deele commented Nov 8, 2019

Issue

There is no way to change easily default theme of admin UI using drupal console.

There is an option for drush to change current admin theme via drush config-set system.theme admin [THEME_NAME].

How to reproduce

Try to set admin theme as default and see, that nothing happen.

vendor/bin/drupal theme:install --set-default adminimal_theme

Output

The "Adminimal" theme has been installed successfully as default theme

Default theme still is "Seven" (out of box default for drupal project).

image

Command should not say that it has installed successfully as default theme, if it did not do such change.

Solution

Solution 1

Command should automatically recognize that its admin theme and set it as "admin default" theme.

Solution 2

There should be another option for theme:install command, that allows to "Set theme as default admin theme".

Lets call it --set-admin-default.

That just seems quite logical and easy to implement.

PS: Could be done if #1522 is resolved by implementing config-set command

@Deele Deele changed the title [ theme:install ] Set default admin theme [theme:install] Set default admin theme Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant