Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(NavigationMenu)!: replace hardcoded CSS values with custom properties #1481

Merged

Conversation

gu-stav
Copy link
Contributor

@gu-stav gu-stav commented Dec 5, 2024

Instead of using custom CSS, the NavigationMenuIndicator should rely on custom properties, similar to what TabsIndicator is using.

Closes #1470

@gu-stav gu-stav force-pushed the feat/navigation-menu-css-custom-properties branch from 4c64273 to d8c24af Compare December 5, 2024 17:44
Copy link
Member

@zernonia zernonia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you help update the demo as well? https://reka-ui.com/docs/components/navigation-menu 😁

run pnpm build then pnpm docs:dev

@gu-stav gu-stav force-pushed the feat/navigation-menu-css-custom-properties branch from d8c24af to 0f3a063 Compare December 6, 2024 19:33
@gu-stav gu-stav requested a review from zernonia December 6, 2024 19:34
Copy link

pkg-pr-new bot commented Dec 11, 2024

Open in Stackblitz

npm i https://pkg.pr.new/reka-ui@1481

commit: 0f3a063

@zernonia zernonia linked an issue Dec 11, 2024 that may be closed by this pull request
2 tasks
@zernonia zernonia merged commit 693483c into unovue:v2 Dec 11, 2024
5 of 6 checks passed
@gu-stav gu-stav deleted the feat/navigation-menu-css-custom-properties branch December 11, 2024 15:33
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.

[Feature]: Navigation - use CSS properties for indicator and expose position
2 participants