aboutsummaryrefslogtreecommitdiff
path: root/css/theme/template/mixins.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/theme/template/mixins.scss')
-rw-r--r--css/theme/template/mixins.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/css/theme/template/mixins.scss b/css/theme/template/mixins.scss
index e0c5606..17a3db5 100644
--- a/css/theme/template/mixins.scss
+++ b/css/theme/template/mixins.scss
@@ -26,4 +26,20 @@
background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
background: radial-gradient( center, $type cover, $inner 0%, $outer 100% );
+}
+
+@mixin light-bg-text-color( $color ) {
+ section.has-light-background {
+ &, h1, h2, h3, h4, h5, h6 {
+ color: $color;
+ }
+ }
+}
+
+@mixin dark-bg-text-color( $color ) {
+ section.has-dark-background {
+ &, h1, h2, h3, h4, h5, h6 {
+ color: $color;
+ }
+ }
} \ No newline at end of file