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

[hero] Switching to dark mode doesn't change the gradient colour #3966

Open
hacketiwack opened this issue Feb 16, 2025 · 0 comments
Open

[hero] Switching to dark mode doesn't change the gradient colour #3966

hacketiwack opened this issue Feb 16, 2025 · 0 comments

Comments

@hacketiwack
Copy link

hacketiwack commented Feb 16, 2025

This is a question related to the hero styling.
Is there a possibility to adapt the hero styling when switching from light to dark mode?

For example, if I have the following:

  <section class="hero is-light is-bold">
    <div class="hero-body">
      <div class="container">
        <p>content</p>
      </div>
    </div>
  </section>

The hero section gets a gradient because of is-bold associated with is-light.
However, switching to dark mode, doesn't change the colours of the gradient.
In dark mode, the colour of the gradient should be like if we had class="hero is-dark is-bold".

Any help is appreciated as I didn't find anything regarding the hero gradient in the documentation.
Is it a deprecated feature?

Thanks

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