From 1ee9a8dfb5f4dfa621a6723c8031d1b9c19d56de Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 16 Feb 2022 16:53:15 +0800 Subject: [PATCH] Fixed #24 --- src/sass/_colors.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sass/_colors.scss b/src/sass/_colors.scss index 403eefee..7c829025 100644 --- a/src/sass/_colors.scss +++ b/src/sass/_colors.scss @@ -73,16 +73,17 @@ @if ($type == 'b') { @return $grey-050; } @if ($type == 'c') { @return $grey-100; } @if ($type == 'd') { @return $grey-250; } - @if ($type == 'e') { @return $grey-800; } - @if ($type == 'f') { @return $grey-750; } - @if ($type == 'g') { @return $grey-700; } - @if ($type == 'h') { @return $grey-650; } @if ($blackness == 'true') { @if ($type == 'e') { @return $black; } @if ($type == 'f') { @return $grey-950; } @if ($type == 'g') { @return $grey-900; } @if ($type == 'h') { @return $grey-850; } + } @else { + @if ($type == 'e') { @return $grey-800; } + @if ($type == 'f') { @return $grey-750; } + @if ($type == 'g') { @return $grey-700; } + @if ($type == 'h') { @return $grey-650; } } }