question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bootstrap bg-gradient-variant deprecated

See original GitHub issue

The bootstrap bg-gradient-variant mixin is deprecated since v4.5.0, so we should probably look for an alternative here.

WARNING: The `bg-gradient-variant` mixin has been deprecated as of v4.5.0. It will be removed entirely in v5.
         on line 8 of node_modules/bootstrap/scss/mixins/_deprecate.scss, in mixin `deprecate`
         from line 22 of node_modules/bootstrap/scss/mixins/_background-variant.scss, in mixin `bg-gradient-variant`
         from line 58 of node_modules/admin-lte/build/scss/mixins/_backgrounds.scss, in mixin `background-gradient-variant`
         from line 42 of node_modules/admin-lte/build/scss/_colors.scss
         from line 9 of node_modules/admin-lte/build/scss/parts/_miscellaneous.scss
         from line 23 of node_modules/admin-lte/build/scss/AdminLTE.scss
         from line 9 of stdin

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9

github_iconTop GitHub Comments

3reactions
brianrlewiscommented, Nov 4, 2020

Any update on this?

2reactions
REJackcommented, Jun 4, 2020

This warning is known, but we wait for Bootstrap 3.5.1 then I will fix it while updating to Bootstrap v3.5.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bg-variant() Deprecated in Bootstrap v4.4.0 · Issue #17 - GitHub
WARNING: The bg-gradient-variant mixin has been deprecated as of v4.5.0. It will be removed entirely in v5. on line 8 of node_modules/bootstrap/ ...
Read more >
Migrating to v5 - Bootstrap
Breaking Removed the bg-gradient-variant() mixin. Use the .bg-gradient class to add gradients to elements instead of the generated .bg-gradient-* classes.
Read more >
How to use Bootstrap's bg-variant modifier - Stack Overflow
I'm getting closer... Replacing the above SCSS code by: @include bg-variant('button.myButton', rgba($red, 0.7));. does ...
Read more >
Upgrade Bootstrap from 4.3.1 to 5.0.1 (LTS ends in Nov 2022)
- "Deprecated: bg-variant(), nav-divider(), and form-control-focus() mixins are now deprecated as they're going away in v5." We should update to ...
Read more >
nuget · v4-dev-deprecate-bg-gradient-variant · Pope, Oliver / bootstrap
Pope, Oliver · bootstrap · Repository. v4-dev-deprecate-bg-gradient-variant. Switch branch/tag. bootstrap · nuget · History Find file. Select Archive Format ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found