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

Fix dark navbar theming #124

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Fix dark navbar theming #124

merged 3 commits into from
Dec 1, 2023

Conversation

maxatdetroit
Copy link
Member

@maxatdetroit maxatdetroit commented Nov 29, 2023

Fixes #121

Changes in this PR

  • Remove data-bs-theme usage in navbar since it has no effect on the navbar as currently written
  • Enable support for navbar-dark on navbar which correctly styles the toggle component

Bootstrap 5.3 docs indicate that the navbar-dark class is deprecated in favor of dark theme (data-bs-theme=dark, however out-of-the-box the navbar toggle component is not controlled by data-bs-theme=dark and still relies on the CSS variables overridden by navbar-dark.

Once we properly address #114 , we can re-add support for theming and customize bootstrap so that the theme properly customizes the navbar toggle as well.

Testing

Before PR

offcanvas-before.mov
toggle-before.mov

After PR

offcanvas-after.mov
toggle-after.mov

@maxatdetroit maxatdetroit added the bug Something isn't working label Nov 29, 2023
@maxatdetroit maxatdetroit self-assigned this Nov 29, 2023
@maxatdetroit maxatdetroit linked an issue Nov 29, 2023 that may be closed by this pull request
Base automatically changed from fix.nav.120 to dev December 1, 2023 14:49
@jedgar1mx jedgar1mx merged commit 7e037d6 into dev Dec 1, 2023
@jedgar1mx jedgar1mx deleted the fix.nav.121 branch December 1, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toggle button color settings do not work
2 participants