The Drupal toolbar in D8 seems to be inconsistent when moving from administration theme to main theme. In the administration theme the admin toolbar is themed towards adminimal, but when viewing the site it switches back. I'm not sure if this is intentional or not but it would make since IMO to provide a consistency on the menu no matter what theme you are in.

Also if you install the add on Admin Toolbar it becomes unusable in adminimal. This module seems like it is becoming a standard for menus in D8 so it would be helpful if the styling was not affected.

I think the easiest fix would be to have a theme setting that toggles the theming for that menu. Then separating the toolbar css into its own file.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chadmandoo created an issue. See original summary.

brayfe’s picture

Agreed. When using Adminimal theme with Admin Toolbar, the toolbar theming becomes strange. It is sometime the standard black, but also some links are partially tan. Very difficult to work with, especially with contrast on links.

sreenivasparuchuri’s picture

Status: Active » Needs review
FileSize
10.94 KB

Adding a patch for it for this issue. Please review.

Created new theme setting theme_get_setting('toolbar_css'); based on this value new css file adminimal-toolbar.css will load.

andrey.troeglazov’s picture

With the stable version of admin toolbar and dev version of adminimal it works good for me.

andrey.troeglazov’s picture

Status: Needs review » Fixed
andrey.troeglazov’s picture

Status: Fixed » Closed (fixed)

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