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:
desrosj 2021-06-28 23:40:59 +00:00
parent 87a427d3f0
commit fe2bd634e4
4 changed files with 6 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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 {

View File

@ -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.