Skip to content

Updated .nav base component and .navbar styles#41921

Merged
mdo merged 1 commit intov6-devfrom
refactor/nav-component
Dec 11, 2025
Merged

Updated .nav base component and .navbar styles#41921
mdo merged 1 commit intov6-devfrom
refactor/nav-component

Conversation

@mdo
Copy link
Copy Markdown
Member

@mdo mdo commented Dec 11, 2025

  • Base .nav now has default styles for active and disabled states
  • Nav items are now flex and links are now flexbox
  • Fixed a lot of broken colors and values
  • Navbar dropdowns will no longer be static (requires more work here)
  • Navbar nav likely to use .nav as base component

@mdo mdo added this to v6.0.0 Dec 11, 2025
@mdo mdo requested a review from a team as a code owner December 11, 2025 18:00
@github-project-automation github-project-automation bot moved this to Inbox in v6.0.0 Dec 11, 2025
@mdo mdo changed the title New .nav base component Updated .nav base component and .navbar styles Dec 11, 2025
- Add $nav-gap and $nav-link-gap variables for flexbox gap layout
- Rename nav link color variables to use --bs-fg-* tokens
- Add active state variables ($nav-link-active-color, $nav-link-active-bg)
- Add hover background variable ($nav-link-hover-bg)
- Update .nav and .nav-link to use flexbox with gap
- Update related documentation
@mdo mdo force-pushed the refactor/nav-component branch from 44e976f to 771a1a0 Compare December 11, 2025 18:16
@mdo mdo merged commit 54808a9 into v6-dev Dec 11, 2025
10 checks passed
@mdo mdo deleted the refactor/nav-component branch December 11, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant