diff options
Diffstat (limited to '_sass/common/classes/_text.scss')
-rw-r--r-- | _sass/common/classes/_text.scss | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/_sass/common/classes/_text.scss b/_sass/common/classes/_text.scss new file mode 100644 index 0000000..ac36726 --- /dev/null +++ b/_sass/common/classes/_text.scss @@ -0,0 +1,37 @@ +@mixin text-light { + color: $text-color-theme-light; + h1, h2, h3 { + color: $text-color-theme-light-d; + } + h4, h5 { + color: $text-color-theme-light; + } + h6 { + color: $text-color-theme-light-l; + } + a:not(.button) { + @include link-colors($text-color-theme-light, $main-color-1); + } +} +@mixin text-dark { + color: $text-color-theme-dark; + h1, h2, h3 { + color: $text-color-theme-dark-d; + } + h4, h5 { + color: $text-color-theme-dark; + } + h6 { + color: $text-color-theme-dark-l; + } + a:not(.button) { + @include link-colors($text-color-theme-dark, $main-color-1); + } +} + +.text--light { + @include text-light(); +} +.text--dark { + @include text-dark(); +} |