From ee20a81b3951704ab9519dceb4a993f94ab5a25a Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Mon, 20 Aug 2018 14:47:23 -0400 Subject: [PATCH] alert action styles --- styles/components/_alerts.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/styles/components/_alerts.scss b/styles/components/_alerts.scss index f48042b9..75d6d7f7 100644 --- a/styles/components/_alerts.scss +++ b/styles/components/_alerts.scss @@ -56,6 +56,16 @@ } } } + + .alert__actions { + .icon-link { + @include icon-link-color($color-primary, $color-white); + + &:first-child { + margin-left: -$gap; + } + } + } } .alert { @@ -64,13 +74,31 @@ &.alert--success { @include alert-level('success'); + + .alert__actions { + .icon-link { + @include icon-link-color($color-green, $color-white); + } + } } &.alert--warning { @include alert-level('warning'); + + .alert__actions { + .icon-link { + @include icon-link-color($color-gold-dark, $color-white); + } + } } &.alert--error { @include alert-level('error'); + + .alert__actions { + .icon-link { + @include icon-link-color($color-red, $color-white); + } + } } }