Incorrect color for active menu item in dark mode

Created on 17 December 2023, about 1 year ago
Updated 5 January 2024, 12 months ago

After updating to Drupal 10.2 the color for the active menu item (either top level item or child item) appears in a light color while in dark mode.

This only occurs with Drupal 10.2, as running rc8 on Drupal 10.1.7 still shows the correct darker color.

The issue appears when using either the sidebar and horizontal menu options, but is not present if the new experimental navigation is enabled.

🐛 Bug report
Status

Fixed

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @jabeler
  • First commit to issue fork.
  • 🇮🇳India ravi kant Jaipur

    @jabeler
    Created the patch for this issue.

  • 🇨🇭Switzerland saschaeggi Zurich

    @ravi kant can you please create a MR? We don't use patches anymore! Thanks 🙇

  • Status changed to Needs work about 1 year ago
  • Merge request !344Resolved active tab background color issue → (Merged) created by ravi kant
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India ravi kant Jaipur

    @saschaeggi
    I have created the MR now. Please review.

  • Status changed to RTBC about 1 year ago
  • 🇮🇳India Meeni_Dhobale

    I just tested this MR. This MR solved the issue. Attaching a screenshot for reference.

    Moving to RTBC

  • First commit to issue fork.
  • 🇮🇳India ravi kant Jaipur

    @kksandr
    According to me, The active link is more highlighting with background color.

  • The active link is more highlighting with background color.

    This is not a fix, but an improvement. I restored it to the way it was before the breakdown.
    I think design changes should create a separate issue.

  • 🇨🇭Switzerland saschaeggi Zurich

    I've made some additional changes. Let's get this merged 🚂

  • Status changed to Fixed about 1 year ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Thanks for participating in fixing this issue 🎉

  • Colors are back to normal in the latest dev build (21 Dec 2023 at 11:42 UTC). Thanks!

  • Status changed to Fixed 12 months ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • 🇨🇦Canada mahde Vancouver

    I am still seeing the background color on the active menu which should not.
    I think the background color in this class ".gin--horizontal-toolbar #toolbar-administration .toolbar-menu-administration .menu-item > .toolbar-icon.is-active" should be removed.

  • 🇮🇳India ravi kant Jaipur

    @mahde
    What Gin theme version is using by you?

  • 🇨🇭Switzerland saschaeggi Zurich

    FYI the active item should have a background color, it wasn't there before as it was a bug.

  • 🇨🇦Canada mahde Vancouver

    @ravi kant - I am using the latest version of gin theme RC8.
    @saschaeggi - I thought it's not having the background color as it was in previous versions.
    Although it's better looking without background but thanks for clarification!

  • 🇨🇭Switzerland saschaeggi Zurich

    Although it's better looking without background but thanks for clarification!

    This might be very subjective but I'd argue otherwise. Also it helps stand out more especially if you use the White/Black combination.

  • Pipeline finished with Failed
    3 months ago
    Total: 449s
    #299026
  • Pipeline finished with Failed
    3 months ago
    Total: 814s
    #299032
  • Pipeline finished with Failed
    3 months ago
    Total: 483s
    #299062
  • Pipeline finished with Success
    3 months ago
    Total: 59285s
    #299094
  • Pipeline finished with Skipped
    3 months ago
    #299747
Production build 0.71.5 2024