|
@@ -144,7 +144,6 @@
|
|
|
// Gutenberg background-color options
|
|
|
.has-background {
|
|
|
&:not(.has-background-background-color) a:not(.wp-block-button__link),
|
|
|
- a:not(.wp-block-button__link),
|
|
|
p:not(.has-text-color),
|
|
|
h1:not(.has-text-color),
|
|
|
h2:not(.has-text-color),
|
|
@@ -159,42 +158,50 @@
|
|
|
.has-primary-background-color,
|
|
|
.has-primary-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "primary", "default")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
}
|
|
|
|
|
|
.has-secondary-background-color,
|
|
|
.has-secondary-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "secondary", "default")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
}
|
|
|
|
|
|
.has-background-dim,
|
|
|
.has-foreground-background-color,
|
|
|
.has-foreground-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
}
|
|
|
|
|
|
.has-foreground-light-background-color,
|
|
|
.has-foreground-light-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "light")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
}
|
|
|
|
|
|
.has-foreground-dark-background-color,
|
|
|
.has-foreground-dark-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "foreground", "dark")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
}
|
|
|
|
|
|
.has-background-light-background-color,
|
|
|
.has-background-light-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "light")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
}
|
|
|
|
|
|
.has-background-dark-background-color,
|
|
|
.has-background-dark-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "dark")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
}
|
|
|
|
|
|
.has-background-background-color,
|
|
|
.has-background-background-color.has-background-dim {
|
|
|
background-color: #{map-deep-get($config-global, "color", "background", "default")};
|
|
|
+ color: #{map-deep-get($config-global, "color", "foreground", "default")};
|
|
|
}
|
|
|
|
|
|
// Gutenberg Font-size options
|