diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-14 17:28:20 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-05-15 15:03:12 +0300 |
| commit | b531bda07cbea2e124194aefe3b8597b3ac2578e (patch) | |
| tree | 0c39842174e325622e65cbafe5e31b512e464500 /scss/helpers | |
| parent | bbeda10e372f33e80fbc2095a71d5a1fc86f8e30 (diff) | |
| download | bootstrap-b531bda07cbea2e124194aefe3b8597b3ac2578e.tar.xz bootstrap-b531bda07cbea2e124194aefe3b8597b3ac2578e.zip | |
Improve gradients
- Use a semitransparent gradient from light to dark which works on any background-color
- Store the gradient as a custom property (--bs-gradient)
- Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled
- Add gradients to navbar, active page links and badges when gradients are enabled
Diffstat (limited to 'scss/helpers')
| -rw-r--r-- | scss/helpers/_background.scss | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scss/helpers/_background.scss b/scss/helpers/_background.scss deleted file mode 100644 index 1c0a32a23..000000000 --- a/scss/helpers/_background.scss +++ /dev/null @@ -1,5 +0,0 @@ -@if $enable-gradients { - @each $color, $value in $theme-colors { - @include bg-gradient-variant(".bg-gradient-#{$color}", $value); - } -} |
