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

Menu item route param, default theme based on system preferences #364

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

dgtvc
Copy link
Contributor

@dgtvc dgtvc commented Apr 4, 2024

Hi!

I added default theme based on system preferences on alpine present plugin.
Don't why there is 2 params as $light and $dark that i don't see used anywhere.

For route param, this simply fixes my use case, where i have whole user panel under same prefix, and it makes few menu items active at the same time, simply using laravel based request()->routeIs() with * sign you can make only few route available.

Third thing is that i changed classes for sidebar to make it without scroll on sidebar. That the only thing that I'm not 100% sure of. But from my testing everything works great, even with bigger menus.

@robsontenorio
Copy link
Owner

Thank you!

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.

None yet

2 participants