diff options
author | Karl Hallsby <karl@hallsby.com> | 2020-09-27 14:31:36 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2020-09-27 14:32:00 -0500 |
commit | 61b34a5f260db45575d448d766ea29c0fb273ed3 (patch) | |
tree | 4ac84fa917df0c69fb0fc6d587750514e7d0d813 /_sass/common/classes/_text.scss | |
parent | c3cafe3c3817f52d4c588b5b0d6e71e07e06145e (diff) |
Add jekyll-text-theme YAML files
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(); +} |