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

Navbar colors not working after upgrade to Bulma 1.0 #3954

Open
AbstractionsAs opened this issue Jan 2, 2025 · 0 comments
Open

Navbar colors not working after upgrade to Bulma 1.0 #3954

AbstractionsAs opened this issue Jan 2, 2025 · 0 comments

Comments

@AbstractionsAs
Copy link

This is about Bulma.

Overview of the problem

After upgrading from Bulma 0.9.3 to Bulma 1.0, the navbar behaves differently in two important ways as soon as you add a color:

  1. The "is-active" modifier no longer has any visual effect
  2. The inverted text colors behave differently. Eg. when using primary, the labels are inverted to white in Bulma 0.9.3, but are black in Bulma 1

Steps to Reproduce

  1. Create a navbar
  2. Add a few "navbar-item"s
  3. Set one "navbar-item" to "is-active"

At this point, everything seems to work

  1. Add a color to the navbar, e.g. "is-primary"

Expected behavior

  1. The avtive item should be styled as active
  2. The text should be inverted

Actual behavior

  1. The active item is now indistingiushable from the rest
  2. The text is black
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

No branches or pull requests

1 participant