Skip to content

fix: apply breadcrumbs link color custom property to overlay items#11924

Merged
web-padawan merged 5 commits into
mainfrom
fix/breadcrumbs-link-color-overlay
Jun 11, 2026
Merged

fix: apply breadcrumbs link color custom property to overlay items#11924
web-padawan merged 5 commits into
mainfrom
fix/breadcrumbs-link-color-overlay

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

Follow-up to #11900

Fixed a small regression compared to the original base styles & themes PR.

Type of change

  • Bugfix

Drop the `:host([slot='overlay']:not([disabled])) [part='link']` rule
in item base styles that set overlay link items to the primary text
color directly, overriding the `--vaadin-breadcrumbs-link-color` knob
that the `[part='link']:any-link` rule uses. With it gone, overlay
link items resolve through the same knob as trail links, so the
`theme="primary"` / `theme="accent"` variants apply to overlay links
too. Move the Lumo `primary` and Aura `accent` visual tests under the
overflow describe and open the overlay before the diff so the new
behavior is covered.
…ems in Lumo

Drop the Lumo `:host([slot='overlay']:not([disabled])) [part='link']`
side of the overlay color rule. It was setting overlay link items to
`--lumo-body-text-color` directly, overriding the
`--vaadin-breadcrumbs-link-color` knob so the `theme="primary"` variant
could not color overlay links. The rule still applies to `[part='nolink']`
so non-link overlay items keep the body text color.
@web-padawan web-padawan requested a review from jouni June 11, 2026 13:09
@sonarqubecloud

Copy link
Copy Markdown

@web-padawan web-padawan merged commit ef3b16a into main Jun 11, 2026
10 checks passed
@web-padawan web-padawan deleted the fix/breadcrumbs-link-color-overlay branch June 11, 2026 13:32
@vaadin-bot

Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.2.0-beta3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants