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.

Props allancole, joyously, samful, sabernhardt, oglekler, ronakganatra, tb1909, ugyensupport.
Fixes #45916.



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


git-svn-id: http://core.svn.wordpress.org/trunk@55472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-21 07:58:19 +00:00
parent 99715f5751
commit da06fffdf9
5 changed files with 5 additions and 3 deletions

View File

@ -18,6 +18,7 @@ html {
body { body {
background-color: $color__background-body; background-color: $color__background-body;
color: $color__text-main;
} }
a { a {

View File

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

View File

@ -2219,7 +2219,6 @@ html {
body { body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
color: #111;
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif; font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
font-weight: 400; font-weight: 400;
font-size: 1em; font-size: 1em;
@ -2495,6 +2494,7 @@ html {
body { body {
background-color: #fff; background-color: #fff;
color: #111;
} }
a { a {

View File

@ -2219,7 +2219,6 @@ html {
body { body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
color: #111;
font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif; font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif;
font-weight: 400; font-weight: 400;
font-size: 1em; font-size: 1em;
@ -2495,6 +2494,7 @@ html {
body { body {
background-color: #fff; background-color: #fff;
color: #111;
} }
a { a {

View File

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