main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
525 bytes
|
Line | |
---|
1 | @include deprecate("`alert-variant()`", "v5.3.0", "v6.0.0");
|
---|
2 |
|
---|
3 | // scss-docs-start alert-variant-mixin
|
---|
4 | @mixin alert-variant($background, $border, $color) {
|
---|
5 | --#{$prefix}alert-color: #{$color};
|
---|
6 | --#{$prefix}alert-bg: #{$background};
|
---|
7 | --#{$prefix}alert-border-color: #{$border};
|
---|
8 | --#{$prefix}alert-link-color: #{shade-color($color, 20%)};
|
---|
9 |
|
---|
10 | @if $enable-gradients {
|
---|
11 | background-image: var(--#{$prefix}gradient);
|
---|
12 | }
|
---|
13 |
|
---|
14 | .alert-link {
|
---|
15 | color: var(--#{$prefix}alert-link-color);
|
---|
16 | }
|
---|
17 | }
|
---|
18 | // scss-docs-end alert-variant-mixin
|
---|
Note:
See
TracBrowser
for help on using the repository browser.