.alert {
	@each $color, $value in $theme-colors {
		&.alert-#{$color} {
			@if $color == 'primary' {
				@include alert-variant(rgba(mix($white, $blue, 5%), .85), $blue, lighten($blue, 45%));
			}
			@if $color == 'success' {
				@include alert-variant(rgba(mix($white, $teal, 5%), .85), $teal, lighten($teal, 45%));
			}
			@if $color != 'primary' and $color != 'success' {
				@include alert-variant(rgba(mix($white, $value, 5%), .85), $value, lighten($value, 45%));
			}
		}
	}
	@each $color, $value in $colors {
		&.alert-#{$color} {
    	@include alert-variant(rgba(mix($white, $value, 25%), .85), $value, lighten($value, 45%));
		}
	}
}