Twenty Twenty-One: Ensure Duotone images are displayed correctly in Dark Mode.
This reduces the specificity of the CSS selector applying a dimming effect to images so that the new Duotone feature is properly applied to images. Props walbo. Fixes #53531. Built from https://develop.svn.wordpress.org/trunk@51253 git-svn-id: http://core.svn.wordpress.org/trunk@50862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
87a427d3f0
commit
fe2bd634e4
|
@ -17,7 +17,7 @@
|
|||
--table--stripes-background-color: rgba(240, 240, 240, 0.15);
|
||||
}
|
||||
|
||||
.is-dark-theme.is-dark-theme img {
|
||||
.is-dark-theme img {
|
||||
filter: brightness(0.85) contrast(1.1);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
--table--stripes-background-color: rgba(240, 240, 240, 0.15);
|
||||
}
|
||||
|
||||
.is-dark-theme.is-dark-theme img {
|
||||
.is-dark-theme img {
|
||||
filter: brightness(0.85) contrast(1.1);
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
/* Block: Table */
|
||||
--table--stripes-border-color: rgba(240, 240, 240, 0.15);
|
||||
--table--stripes-background-color: rgba(240, 240, 240, 0.15);
|
||||
}
|
||||
|
||||
img {
|
||||
filter: brightness(.85) contrast(1.1);
|
||||
}
|
||||
.is-dark-theme img {
|
||||
filter: brightness(.85) contrast(1.1);
|
||||
}
|
||||
|
||||
.respect-color-scheme-preference.is-dark-theme body {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-beta4-51252';
|
||||
$wp_version = '5.8-beta4-51253';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue