Problem/Motivation

As identified by @zenimagine, link hover effects are blue regardless of the primary color set in the Olivero theme settings.

Steps to reproduce

  1. Fresh install
  2. Change olivero primary color to a non-blue color
  3. Hover over a link
  4. Observe a blue background

Issue fork drupal-3311218

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andy-blum created an issue. See original summary.

andy-blum’s picture

Status: Active » Needs review
FileSize
417.64 KB

Link hover should now reflect the chosen primary color.

javi-er’s picture

Changes look good to me, and it's fixing the issue on 10.1.x , does this needs to be back-ported to D9?

Chrome Before

Chrome After

Firefox After

Edge After

andy-blum’s picture

Color changing isn't in D9, so this doesn't need backported to 9. I'll make a patch for 10.0.x though so we can queue tests for it.

andy-blum’s picture

10.0.x patch

Anjali Rathod’s picture

thanks @andy-blum
I was trying to apply patch on Drupal Version 10.1.0-dev via composer , but getting error, please refer screenshot.

andy-blum’s picture

Assigned: andy-blum » Unassigned
FileSize
4.15 KB

New patch for 10.0.x

javi-er’s picture

FileSize
323.68 KB

Patch at #8 applies to 10.1.x correctly and fixes the issue, screenshot attached.

andy-blum’s picture

Status: Needs review » Reviewed & tested by the community

Per #4 and #9, RTBC

  • lauriii committed 81a05c8 on 10.1.x
    Issue #3311218 by andy-blum, javi-er: Olivero link hover styles are not...

  • lauriii committed 1146dfa on 10.0.x
    Issue #3311218 by andy-blum, javi-er: Olivero link hover styles are not...
lauriii’s picture

Version: 10.1.x-dev » 10.0.x-dev
Priority: Minor » Normal
Status: Reviewed & tested by the community » Fixed

Committed 81a05c8 and pushed to 10.1.x. Also cherry-picked to 10.0.x. Thanks!

Status: Fixed » Closed (fixed)

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