|
@@ -48,86 +48,52 @@
|
|
|
}
|
|
|
|
|
|
// Gutenberg background-color options
|
|
|
-.has-background {}
|
|
|
+.has-background {
|
|
|
|
|
|
-.has-primary-background-color[class] {
|
|
|
- background-color: #{map-deep-get($config-global, "color", "primary", "default")} !important;
|
|
|
- color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
+ a, p, h1, h2, h3, h4, h5, h6,
|
|
|
.wp-block-quote__citation {
|
|
|
color: currentColor;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.has-primary-background-color[class] {
|
|
|
+ background-color: #{map-deep-get($config-global, "color", "primary", "default")} !important;
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
+}
|
|
|
+
|
|
|
.has-secondary-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "secondary", "default")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-foreground-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "default")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-foreground-light-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "light")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-foreground-dark-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "dark")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-background-light-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "light")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-background-dark-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "dark")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.has-background-background-color[class] {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "default")} !important;
|
|
|
color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
-
|
|
|
- p, h1, h2, h3, h4, h5, h6,
|
|
|
- .wp-block-quote__citation {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
// Gutenberg Font-size utility classes
|