From e7825aa41be83176f3c516eca360e76572d5d164 Mon Sep 17 00:00:00 2001 From: Nick Doering Date: Thu, 15 Jun 2017 12:40:51 -0700 Subject: [PATCH] removed $found-index reference from color function --- _ibm-colors.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_ibm-colors.scss b/_ibm-colors.scss index 07ae273..e6b140d 100644 --- a/_ibm-colors.scss +++ b/_ibm-colors.scss @@ -46,9 +46,8 @@ $grd: map-get($plt, $grade); @return rgba($grd, $alpha); } - - $error-message: 'Color palette "#{$palette}" not found'; - @if not $found-index { + @else { + $error-message: 'Color palette "#{$palette}" not found'; @if feature-exists(at-error) { @error $error-message; }