diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 98c02c4819..aa1cdc0feb 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -351,20 +351,20 @@ Inter variable font. Usage: } .editor-styles-wrapper p.has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .editor-styles-wrapper p.has-normal-font-size, .editor-styles-wrapper p.has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .editor-styles-wrapper p.has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; } .editor-styles-wrapper p.has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; } .editor-styles-wrapper p.has-larger-font-size { diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index ed613946c4..841df00462 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -206,21 +206,21 @@ Inter variable font. Usage: /* GENERAL COLORS */ .has-black-background-color { - background-color: #000; + --wp--preset--color--black: #000; color: #fff; } .has-white-background-color { - background-color: #fff; + --wp--preset--color--white: #fff; color: #000; } .has-black-color { - color: #000; + --wp--preset--color--black: #000; } .has-white-color { - color: #fff; + --wp--preset--color--white: #fff; } @@ -351,20 +351,20 @@ Inter variable font. Usage: } .editor-styles-wrapper p.has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .editor-styles-wrapper p.has-normal-font-size, .editor-styles-wrapper p.has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .editor-styles-wrapper p.has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; } .editor-styles-wrapper p.has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; } .editor-styles-wrapper p.has-larger-font-size { diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index d823d31433..b0aa58a28d 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -2836,21 +2836,21 @@ h2.entry-title { /* Block Font Sizes -------------------------- */ .entry-content .has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .entry-content .has-normal-font-size, .entry-content .has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .entry-content .has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; line-height: 1.45; } .entry-content .has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; line-height: 1.4; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index a18ccc1018..06693752d2 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -2854,21 +2854,21 @@ h2.entry-title { /* Block Font Sizes -------------------------- */ .entry-content .has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .entry-content .has-normal-font-size, .entry-content .has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .entry-content .has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; line-height: 1.45; } .entry-content .has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; line-height: 1.4; }