|
@@ -125,7 +125,8 @@ add_color_rule( 'link', '#ff302c', array(
|
|
|
* Utility Classes
|
|
|
*/
|
|
|
// Background-color
|
|
|
- array( '.has-primary-background-color[class]', 'background-color' ),
|
|
|
+ array( '.has-primary-background-color[class],
|
|
|
+ .has-primary-background-color.has-background-dim[class]', 'background-color' ),
|
|
|
// Text-color
|
|
|
array( '.has-primary-color[class]', 'color' ),
|
|
|
|
|
@@ -136,54 +137,25 @@ add_color_rule( 'link', '#ff302c', array(
|
|
|
add_color_rule( 'txt', '#444444', array(
|
|
|
|
|
|
// Text-color
|
|
|
- array( '.comment-meta .comment-metadata,
|
|
|
+ array( '.site-title,
|
|
|
.main-navigation,
|
|
|
+ .main-navigation a:hover,
|
|
|
.screen-reader-text:focus,
|
|
|
+ .comment-meta .comment-metadata,
|
|
|
.wp-block-code,
|
|
|
.wp-block-code pre,
|
|
|
.wp-block-pullquote,
|
|
|
body,
|
|
|
body .widget_eu_cookie_law_widget #eu-cookie-law,
|
|
|
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
|
|
|
- input[type="color"],
|
|
|
- input[type="color"]:focus,
|
|
|
- input[type="date"],
|
|
|
- input[type="date"]:focus,
|
|
|
- input[type="datetime"],
|
|
|
- input[type="datetime"]:focus,
|
|
|
- input[type="datetime-local"],
|
|
|
- input[type="datetime-local"]:focus,
|
|
|
- input[type="email"],
|
|
|
- input[type="email"]:focus,
|
|
|
- input[type="month"],
|
|
|
- input[type="month"]:focus,
|
|
|
- input[type="number"],
|
|
|
- input[type="number"]:focus,
|
|
|
- input[type="password"],
|
|
|
- input[type="password"]:focus,
|
|
|
- input[type="range"],
|
|
|
- input[type="range"]:focus,
|
|
|
- input[type="search"],
|
|
|
- input[type="search"]:focus,
|
|
|
- input[type="tel"],
|
|
|
- input[type="tel"]:focus,
|
|
|
- input[type="text"],
|
|
|
- input[type="text"]:focus,
|
|
|
- input[type="time"],
|
|
|
- input[type="time"]:focus,
|
|
|
- input[type="url"],
|
|
|
- input[type="url"]:focus,
|
|
|
- input[type="week"],
|
|
|
- input[type="week"]:focus,
|
|
|
- textarea,
|
|
|
- textarea:focus,
|
|
|
- .main-navigation a:hover,
|
|
|
- .site-title', 'color' ),
|
|
|
+ .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
|
|
|
+ table.is-style-stripes tbody tr:nth-child(odd)', 'color' ),
|
|
|
|
|
|
// Background-color
|
|
|
- array( '.has-foreground-background-color[class],
|
|
|
- .wp-block-cover,
|
|
|
+ array( '.wp-block-cover,
|
|
|
+ .wp-block-cover.has-background-dim,
|
|
|
.wp-block-cover-image,
|
|
|
+ .wp-block-cover-image.has-background-dim,
|
|
|
body .widget_eu_cookie_law_widget #eu-cookie-law.negative,
|
|
|
.main-navigation #toggle:focus + #toggle-menu', 'background-color' ),
|
|
|
|
|
@@ -193,9 +165,14 @@ add_color_rule( 'txt', '#444444', array(
|
|
|
// Foreground
|
|
|
array( '.has-foreground-color[class],
|
|
|
.has-background-background-color[class],
|
|
|
+ .has-background-background-color.has-background-dim[class],
|
|
|
.has-background-dark-background-color[class],
|
|
|
- .has-background-light-background-color[class]', 'color' ),
|
|
|
- array( '.has-foreground-background-color[class]', 'background-color' ),
|
|
|
+ .has-background-dark-background-color.has-background-dim[class],
|
|
|
+ .has-background-light-background-color[class],
|
|
|
+ .has-background-light-background-color.has-background-dim[class]', 'color' ),
|
|
|
+
|
|
|
+ array( '.has-foreground-background-color[class],
|
|
|
+ .has-foreground-background-color.has-background-dim[class]', 'background-color' ),
|
|
|
|
|
|
// Text-color darkened
|
|
|
array( '.has-foreground-dark-color[class]', 'color', '-1' ),
|