|
@@ -85,7 +85,12 @@
|
|
|
}
|
|
|
|
|
|
// Gutenberg text color options
|
|
|
-.has-text-color {}
|
|
|
+.has-text-color {
|
|
|
+ a:hover,
|
|
|
+ a:active {
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
.has-primary-color[class] {
|
|
|
color: #{map-deep-get($config-global, "color", "primary", "default")} !important;
|
|
@@ -120,70 +125,57 @@
|
|
|
}
|
|
|
|
|
|
// Gutenberg background-color options
|
|
|
-.has-background {}
|
|
|
+.has-background {
|
|
|
+
|
|
|
+ &:not(.has-background-background-color) a,
|
|
|
+ p, h1, h2, h3, h4, h5, h6, {
|
|
|
+ color: currentColor;
|
|
|
+ }
|
|
|
+
|
|
|
+ a:hover,
|
|
|
+ a:active {
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
.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 {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.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, a {
|
|
|
- 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, a {
|
|
|
- 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, a {
|
|
|
- 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, a {
|
|
|
- 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, a {
|
|
|
- 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, a {
|
|
|
- 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, a {
|
|
|
- color: currentColor;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
// Gutenberg Font-size options
|