Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
Umami demo
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Feb 2018 at 13:41 UTC
Updated:
2 Mar 2018 at 13:04 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
smazComment #3
tomphippen commentedI've fixed this with the following code, just checking for any objections in the slack channel before doing the patch.
Comment #4
markconroy commentedI wonder if we set the admin toolbar css library to load after the umami theme css, would that be a better approach?
Comment #5
markconroy commentedI couldn't get this to work using the
:notapproach. Here's a patch that adds a new library to our theme for the toolbar only, and sets the background colour of toolbar links to inherit.I'm not sure if it's the best approach, but it does seem to work.
Comment #6
cehfisher commentedThe patch in #5 and the applied styles look good! Attaching a image of the patch cleanly applied and a gif of the hover effect. If you didn't want to make a new toolbar component, you could have targeted the 'dialog-off-canvas-main-canvas' class on the link hover effect. Either way works just depends on your perspective.
Comment #7
cchoudhary commentedPatch in #5 is working as expected and applies cleanly. Tested with drupal 8.6.x
Comment #8
jaykandari+1 for #5. Applies cleanly and no pale green bg color showing for admin toolbar. Marking this RTBC.
Screenshot:

Comment #9
andrewmacpherson commentedDid you test if the issue if fixed for focus states too?
This deserves the accessibility tag, as it's about fixing a contrast failure. One of these days, I'll add up some figures on how many accessibility issues are being fixed in core.
Comment #10
andrewmacpherson commentedComment #11
jaykandariHi @andrew,
Yes, I did checked with tabbed focus. Attaching a SS.

Pls, note I'm not at all an accessibility guy, I might be missing something. Thanks!! :)
Comment #12
andrewmacpherson commentedThat's great thanks @JayKandari . I can see focus moving while the mouse pointer remains still in #11
Comment #15
gábor hojtsyI agree this does not look like a technically fantastic solution but it makes sense and is what our CSS styling system allows. Thanks all!