Don't overwrite the bg-variant mixin
Bootstrap 4.3 introduced an additional parameter, and npm run dev fails because we are overwriting a mixin that bootstrap uses internally.
This commit is contained in:
parent
307e93c53c
commit
335616f3e9
@ -44,7 +44,7 @@
|
|||||||
"vue-clipboard2": "^0.3.1",
|
"vue-clipboard2": "^0.3.1",
|
||||||
"vue-flatpickr-component": "^8.1.3",
|
"vue-flatpickr-component": "^8.1.3",
|
||||||
"vue-router": "^3.1.3",
|
"vue-router": "^3.1.3",
|
||||||
"vue2-transitions": "^0.2.3"
|
"vue2-transitions": "^0.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-plugin-babel": "^3.11.0",
|
"@vue/cli-plugin-babel": "^3.11.0",
|
||||||
|
@ -1,16 +1,3 @@
|
|||||||
// Contextual backgrounds
|
|
||||||
@mixin bg-variant($parent, $color) {
|
|
||||||
#{$parent} {
|
|
||||||
background-color: $color !important;
|
|
||||||
}
|
|
||||||
a#{$parent},
|
|
||||||
button#{$parent} {
|
|
||||||
@include hover-focus {
|
|
||||||
background-color: darken($color, 10%) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin bg-gradient-variant($parent, $color) {
|
@mixin bg-gradient-variant($parent, $color) {
|
||||||
#{$parent} {
|
#{$parent} {
|
||||||
background: linear-gradient(87deg, $color 0, adjust-hue($color, 25%) 100%) !important;
|
background: linear-gradient(87deg, $color 0, adjust-hue($color, 25%) 100%) !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user