From 1072754e424c69a10584688d833deb9133a928e9 Mon Sep 17 00:00:00 2001 From: Sergey Andrievskiy Date: Sat, 27 Jul 2019 19:04:55 +0300 Subject: [PATCH] fix(typography): declare text color classes at the bottom (#1862) --- .../styles/global/typography/_typography.scss | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/framework/theme/styles/global/typography/_typography.scss b/src/framework/theme/styles/global/typography/_typography.scss index 736024d529..726dadb76e 100644 --- a/src/framework/theme/styles/global/typography/_typography.scss +++ b/src/framework/theme/styles/global/typography/_typography.scss @@ -58,28 +58,6 @@ line-height: nb-theme(text-paragraph-2-line-height); } - @each $status in nb-get-statuses() { - .text-#{$status} { - color: nb-theme(color-#{$status}-default); - } - } - - .text-basic { - color: nb-theme(text-basic-color); - } - .text-alternate { - color: nb-theme(text-alternate-color); - } - .text-control { - color: nb-theme(text-control-color); - } - .text-disabled { - color: nb-theme(text-disabled-color); - } - .text-hint { - color: nb-theme(text-hint-color); - } - a { color: nb-theme(link-text-color); font-size: inherit; @@ -146,4 +124,26 @@ font-weight: nb-theme(list-item-font-weight); line-height: nb-theme(list-item-line-height); } + + .text-basic { + color: nb-theme(text-basic-color); + } + .text-alternate { + color: nb-theme(text-alternate-color); + } + .text-control { + color: nb-theme(text-control-color); + } + .text-disabled { + color: nb-theme(text-disabled-color); + } + .text-hint { + color: nb-theme(text-hint-color); + } + + @each $status in nb-get-statuses() { + .text-#{$status} { + color: nb-theme(color-#{$status}-default); + } + } }