Generated with the help of an LLM.

Problem/Motivation

Admin Navigation missing tools dark mode styles

Steps to reproduce

With horizontal position and the tools submodule, open the tools menu.

Proposed resolution

Remaining tasks

Work on MR.

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

mortona2k created an issue. See original summary.

mortona2k changed the visibility of the branch 3639332-tools-menu-missing to hidden.

mortona2k’s picture

Status: Active » Needs review

Core/Navigation don't really support dark mode.

Default Admin overwrites color variables in dark mode, so this comes out as grey:

background-color: var(--admin-toolbar-color-white, #fff);

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

  • nelo_drup committed 0338a1ee on 1.1.x authored by mortona2k
    Issue #3639332 by mortona2k: Follow the admin theme's colors in the...
nelo_drup’s picture

Status: Needs review » Fixed

Merged, thanks! Using core's color variables, and copying them onto the flyouts that are moved to <body>, keeps the Admin Tools menu and its flyouts in step with whatever the admin theme does to the toolbar, dark mode included. Tested locally: dark when the theme redefines those variables, and unchanged in a light admin theme.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.