Problem/Motivation

Occasionally, design requirements force us to style links in the main navigation depending on the destination.

Proposed resolution

Add link URL as a class to a navigation links.

Remaining tasks

  • MR - done
  • Review
  • Merge
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

rosk0 created an issue. See original summary.

rosk0’s picture

Assigned: rosk0 » Unassigned
Issue summary: View changes
Status: Active » Needs review
grimreaper’s picture

Status: Needs review » Closed (works as designed)

Hi,

Thanks for your interest in this theme and for creating an issue an MR to improve it.

The change seems to be for a specific need not intended by the design system spec.

I think you can provide additional classes with the menu_link_attributes and/or link_attributes modules to target the menu links you want.

PS: or override the component in your subtheme (if possible).

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.