|
@@ -33,15 +33,22 @@ add_color_rule( 'bg', '#f7f7f6', array(
|
|
|
.has-foreground-background-color[class],
|
|
|
.has-foreground-dark-background-color[class],
|
|
|
.has-foreground-light-background-color[class],
|
|
|
- .has-background-color[class],
|
|
|
- .has-background-dark-color[class],
|
|
|
- .has-background-light-color[class]', 'color' ),
|
|
|
+ .has-background-color[class]', 'color' ),
|
|
|
// Background-color
|
|
|
- array( '.has-background-background-color[class]', 'background-color' ),
|
|
|
+ array( '.has-background-background-color[class],
|
|
|
+ .has-background-background-color.has-background-dim[class]', 'background-color' ),
|
|
|
+
|
|
|
+ // Text-color darkened
|
|
|
+ array( '.has-background-dark-color[class]', 'background-color', '-1' ),
|
|
|
// Background-color darkened
|
|
|
- array( '.has-background-dark-background-color[class]', 'background-color', '-1' ),
|
|
|
+ array( '.has-background-dark-background-color[class],
|
|
|
+ .has-background-dark-background-color.has-background-dim[class]', 'background-color', '-1' ),
|
|
|
+
|
|
|
+ // Text-color lightened
|
|
|
+ array( '.has-background-light-color[class]', 'background-color', '+1' ),
|
|
|
// Background-color lightened
|
|
|
- array( '.has-background-light-background-color[class]', 'background-color', '+1' ),
|
|
|
+ array( '.has-background-light-background-color[class],
|
|
|
+ .has-background-light-background-color.has-background-dim[class]', 'background-color', '+1' ),
|
|
|
|
|
|
/**
|
|
|
* Grays
|