From 3ea39841c8049525e31e9f4d6300f0c60cdb42de Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 24 Jan 2023 13:33:51 +0100 Subject: Adding upstream version 5.2.3+dfsg. Signed-off-by: Daniel Baumann --- scss/mixins/_alert.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scss/mixins/_alert.scss (limited to 'scss/mixins/_alert.scss') diff --git a/scss/mixins/_alert.scss b/scss/mixins/_alert.scss new file mode 100644 index 0000000..231f068 --- /dev/null +++ b/scss/mixins/_alert.scss @@ -0,0 +1,15 @@ +// scss-docs-start alert-variant-mixin +@mixin alert-variant($background, $border, $color) { + --#{$prefix}alert-color: #{$color}; + --#{$prefix}alert-bg: #{$background}; + --#{$prefix}alert-border-color: #{$border}; + + @if $enable-gradients { + background-image: var(--#{$prefix}gradient); + } + + .alert-link { + color: shade-color($color, 20%); + } +} +// scss-docs-end alert-variant-mixin -- cgit v1.2.3