diff options
Diffstat (limited to 'scss/mixins/_alert.scss')
-rw-r--r-- | scss/mixins/_alert.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scss/mixins/_alert.scss b/scss/mixins/_alert.scss new file mode 100644 index 0000000000..3faf0b5a50 --- /dev/null +++ b/scss/mixins/_alert.scss @@ -0,0 +1,14 @@ +// Alerts + +@mixin alert-variant($background, $border, $text-color) { + background-color: $background; + border-color: $border; + color: $text-color; + + hr { + border-top-color: darken($border, 5%); + } + .alert-link { + color: darken($text-color, 10%); + } +} |