Skip to content

fix(docs-site): clean up breadcrumb hover state#2291

Merged
aaronlee777 merged 1 commit into
mainfrom
al/fix/breadcrumb-hover-state
Jun 26, 2026
Merged

fix(docs-site): clean up breadcrumb hover state#2291
aaronlee777 merged 1 commit into
mainfrom
al/fix/breadcrumb-hover-state

Conversation

@aaronlee777

Copy link
Copy Markdown
Contributor

Summary

The breadcrumb hover state was rendering as a fully-rounded gray chip — Infima's default applies background: var(--ifm-breadcrumb-item-background-active) paired with border-radius: 1.5rem, and we never overrode it. With the rest of the site moving toward minimal text-only nav treatments, the floating chip read as disconnected from the active state (which we already de-chipped).

Replace the chip with a color-only hover that previews the active treatment:

  • Background dropped on hover for non-active breadcrumb items
  • Color shifts to --ifm-color-primary-darkest (light) / --ifm-color-primary (dark), matching the active item's coral

Selector uses :any-link to match Infima's specificity — no !important needed.

Test plan

  • Open a docs page with multiple breadcrumb segments, hover the non-active items in light and dark mode, and confirm the gray chip is gone and the text shifts to the active coral.
  • Confirm the active (last) breadcrumb item is unaffected.

🤖 Generated with Claude Code

Infima's default styles the breadcrumb hover as a fully-rounded
gray chip (background hover-overlay on a 1.5rem radius pill). It
reads as a disconnected piece next to the minimal active-state
treatment. Drop the bg on hover for non-active items and shift
color to match the active state's coral so the hover previews the
active look.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aaronlee777 aaronlee777 requested a review from a team as a code owner June 26, 2026 20:58
@aaronlee777 aaronlee777 added this pull request to the merge queue Jun 26, 2026
Merged via the queue into main with commit 13fe3a0 Jun 26, 2026
29 checks passed
@aaronlee777 aaronlee777 deleted the al/fix/breadcrumb-hover-state branch June 26, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants