Bundled Themes: Reverts [52549].

[52549] updated some default presets in use by default themes to the new format. However, this change would cause elements to lose their styling when active on an older version of WordPress.

See #54782.
Built from https://develop.svn.wordpress.org/trunk@52615


git-svn-id: http://core.svn.wordpress.org/trunk@52203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2022-01-21 19:52:02 +00:00
parent fb4199b676
commit d6c4545f83
5 changed files with 21 additions and 21 deletions

View File

@ -351,20 +351,20 @@ Inter variable font. Usage:
}
.editor-styles-wrapper p.has-small-font-size {
--wp--preset--font-size--small: 0.842em;
font-size: 0.842em;
}
.editor-styles-wrapper p.has-normal-font-size,
.editor-styles-wrapper p.has-regular-font-size {
--wp--preset--font-size--normal: 1em;
font-size: 1em;
}
.editor-styles-wrapper p.has-medium-font-size {
--wp--preset--font-size--medium: 1.1em;
font-size: 1.1em;
}
.editor-styles-wrapper p.has-large-font-size {
--wp--preset--font-size--large: 1.25em;
font-size: 1.25em;
}
.editor-styles-wrapper p.has-larger-font-size {

View File

@ -206,21 +206,21 @@ Inter variable font. Usage:
/* GENERAL COLORS */
.has-black-background-color {
--wp--preset--color--black: #000;
background-color: #000;
color: #fff;
}
.has-white-background-color {
--wp--preset--color--white: #fff;
background-color: #fff;
color: #000;
}
.has-black-color {
--wp--preset--color--black: #000;
color: #000;
}
.has-white-color {
--wp--preset--color--white: #fff;
color: #fff;
}
@ -351,20 +351,20 @@ Inter variable font. Usage:
}
.editor-styles-wrapper p.has-small-font-size {
--wp--preset--font-size--small: 0.842em;
font-size: 0.842em;
}
.editor-styles-wrapper p.has-normal-font-size,
.editor-styles-wrapper p.has-regular-font-size {
--wp--preset--font-size--normal: 1em;
font-size: 1em;
}
.editor-styles-wrapper p.has-medium-font-size {
--wp--preset--font-size--medium: 1.1em;
font-size: 1.1em;
}
.editor-styles-wrapper p.has-large-font-size {
--wp--preset--font-size--large: 1.25em;
font-size: 1.25em;
}
.editor-styles-wrapper p.has-larger-font-size {

View File

@ -2836,21 +2836,21 @@ h2.entry-title {
/* Block Font Sizes -------------------------- */
.entry-content .has-small-font-size {
--wp--preset--font-size--small: 0.842em;
font-size: 0.842em;
}
.entry-content .has-normal-font-size,
.entry-content .has-regular-font-size {
--wp--preset--font-size--normal: 1em;
font-size: 1em;
}
.entry-content .has-medium-font-size {
--wp--preset--font-size--medium: 1.1em;
font-size: 1.1em;
line-height: 1.45;
}
.entry-content .has-large-font-size {
--wp--preset--font-size--large: 1.25em;
font-size: 1.25em;
line-height: 1.4;
}

View File

@ -2854,21 +2854,21 @@ h2.entry-title {
/* Block Font Sizes -------------------------- */
.entry-content .has-small-font-size {
--wp--preset--font-size--small: 0.842em;
font-size: 0.842em;
}
.entry-content .has-normal-font-size,
.entry-content .has-regular-font-size {
--wp--preset--font-size--normal: 1em;
font-size: 1em;
}
.entry-content .has-medium-font-size {
--wp--preset--font-size--medium: 1.1em;
font-size: 1.1em;
line-height: 1.45;
}
.entry-content .has-large-font-size {
--wp--preset--font-size--large: 1.25em;
font-size: 1.25em;
line-height: 1.4;
}

View File

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