Twenty Nineteen: Always set background color and foreground color together.

On the `<body>` element, as a best practice background color and text color should always be set together. This makes it easier to quickly understand the 
underlying color scheme.

Follow-up to [55960], [55964].

Props sabernhardt, audrasjb, kebbet.
Fixes #45916.



Built from https://develop.svn.wordpress.org/trunk@56062


git-svn-id: http://core.svn.wordpress.org/trunk@55574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-27 10:45:30 +00:00
parent b688be1c8c
commit 033bca66f8
5 changed files with 4 additions and 13 deletions

View File

@ -16,10 +16,6 @@ html {
box-sizing: inherit;
}
body {
background-color: $color__background-body;
}
a {
@include link-transition;
color: $color__link;

View File

@ -6,6 +6,7 @@ html {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: $color__background-body;
color: $color__text-main;
@include font-family( $font__body );
font-weight: 400;

View File

@ -2219,6 +2219,7 @@ html {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #fff;
color: #111;
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
font-weight: 400;
@ -2493,10 +2494,6 @@ html {
box-sizing: inherit;
}
body {
background-color: #fff;
}
a {
transition: color 110ms ease-in-out;
color: #0073aa;

View File

@ -2219,6 +2219,7 @@ html {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #fff;
color: #111;
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
font-weight: 400;
@ -2493,10 +2494,6 @@ html {
box-sizing: inherit;
}
body {
background-color: #fff;
}
a {
transition: color 110ms ease-in-out;
color: #0073aa;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-56061';
$wp_version = '6.3-alpha-56062';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.