WordPress/wp-content/themes/twentytwentyone/assets/sass/05-blocks
hellofromTonya 5e52fa8477 Bundled Themes: Support pullquote block typography options in Twenty Twenty-One.
Pullquotes were not inheriting the correct styling from the block
editor. This commit resolves the issue by supporting typography options.

1. The `font-family` variable remains on the paragraph (both editor and front) so the citation continues to use the body font even when the site redefines `var(--pullquote--font-family)`.

2. The `font-size`, `font-style`, `font-weight`, `letter-spacing` and `line-height` are set on the Pullquote block to allow overriding with the sidebar settings. Then the block's paragraph element inherits those styles.

3. When the settings do not give a custom `line-height` from the sidebar, these stylesheets set the paragraph to `var(--pullquote--line-height)` instead of inheriting 1.6 from the block styles. This patch uses `:where()` to avoid increasing specificity.

Moving styles from the paragraph element to the block should not affect the citation, which has had its own styles for `font-size`, `font-style`, `font-weight` and `letter-spacing`.

Follow-up to [56959], [56451], [55089], [55088], [49574], [49320], [49216].

Props sabernhardt, poena, darshitrajyaguru97, harshgajipara, shailu25, skyakash12.
Fixes #57854.
Built from https://develop.svn.wordpress.org/trunk@57631


git-svn-id: http://core.svn.wordpress.org/trunk@57132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-13 21:24:10 +00:00
..
audio Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
button Twenty Twenty-One: Allow editor styles to control block margins. 2022-02-14 21:55:08 +00:00
code Twenty Twenty-One: Support font size option for code block. 2021-02-09 03:24:05 +00:00
columns Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
cover Twenty Twenty-One: Fix Heading Block alignment when nested in Cover Block. 2022-09-14 20:51:16 +00:00
file Twenty Twenty-One: Update `devDependencies`. 2021-05-24 15:37:55 +00:00
gallery Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
group Bundled themes: Fix row variation nested in group block. 2023-02-14 04:03:18 +00:00
heading Twenty Twenty-One: Use correct value for the global `line-height` CSS variable. 2021-02-09 17:10:05 +00:00
html Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
image Twenty Twenty One: Remove Image block placeholder alignment override in editor styles. 2021-11-25 22:31:04 +00:00
latest-comments Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
latest-posts Bundled Themes: Improve display of blocks in widget areas. 2021-06-22 20:14:59 +00:00
legacy Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
list Twenty Twenty-One: Update `devDependencies`. 2021-05-24 15:37:55 +00:00
media-text Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
navigation Twenty Twenty-One: Fix obsolete navigation block styles for better Global Styles support. 2023-01-19 17:41:16 +00:00
paragraph Twenty Twenty-One: Use correct value for the global `line-height` CSS variable. 2021-02-09 17:10:05 +00:00
preformatted Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
pullquote Bundled Themes: Support pullquote block typography options in Twenty Twenty-One. 2024-02-13 21:24:10 +00:00
query-loop Twenty Twenty-One: Add spacing around Query block when there is a background color. 2021-06-25 01:48:57 +00:00
quote Twenty-Twenty One: Fixes quotation mark being outside with background. 2023-09-13 15:40:20 +00:00
rss Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
search Twenty Twenty-One: Update editor styles of search block. 2021-02-09 03:55:05 +00:00
separator Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
social-icons Twenty Twenty-One: Remove background color from Social Links the dark gray style. 2021-02-16 20:12:02 +00:00
table Twenty Twenty-One: Improve striped table styling in Dark Mode. 2020-12-22 15:02:05 +00:00
tag-clould Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
utilities Twenty Twenty-One: Remove WooCommerce related CSS selectors. 2022-09-14 22:33:10 +00:00
verse Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
video Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
_config.scss Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
blocks-editor.scss Twenty Twenty-One: Add spacing around Query block when there is a background color. 2021-06-25 01:48:57 +00:00
blocks.scss Twenty Twenty-One: Remove spacer block styles. 2022-09-08 15:48:08 +00:00