Problem/Motivation
The toolbar currently add a body class "light" or "dark" according to the style.
Such class could impact light/dark mode of custom theming
Proposed resolution
- Not inserting any class for the light theme (this will allow also the "Auto" dark mode in the future)
- Using modifier class: ".seeds-toolbar--dark "
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork seeds_toolbar-3377986
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
Comment #2
elgandoz commentedComment #4
elgandoz commentedThe class on the body has been replaced with
.seeds_toolbar--light.This avoids clashing with themes using
.lightand.darkComment #5
elgandoz commentedComment #6
ahmad-alyasaki commented@elgandoz
Hello, thanks for reporting this issue
we fixed the issue based on your recommendation but more edits need to be done on the code we will update the dev version with the new code.
Comment #8
ahmad-alyasaki commented