From 0e1428fd4596a3ac95991eff442aec6f69f3c109 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 30 Jul 2021 09:51:59 +0200 Subject: [PATCH] chore: move text-color to typography --- src/scss/_typography.scss | 7 +++++-- src/scss/mixins/_colors.css | 6 ------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/scss/_typography.scss b/src/scss/_typography.scss index c2f95eb..f73fbaa 100644 --- a/src/scss/_typography.scss +++ b/src/scss/_typography.scss @@ -254,8 +254,6 @@ blockquote, .quote { @include well(); } - - code { background:transparent; color: $color-danger; @@ -265,6 +263,11 @@ code { font-size: 0.9em; } +.text { + @each $name, $color in list-colors() { + &-#{$name} { @include text-color(get-color($name)); } + } +} /* 2.6 - Special styling */ diff --git a/src/scss/mixins/_colors.css b/src/scss/mixins/_colors.css index c10229f..69f4121 100644 --- a/src/scss/mixins/_colors.css +++ b/src/scss/mixins/_colors.css @@ -87,9 +87,3 @@ &-#{$name} { @include background-color(get-color($name)); } } } - - .text { - @each $name, $color in list-colors() { - &-#{$name} { @include text-color(get-color($name)); } - } - }