File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
src/vendor/wordpress/styles Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @cloudfour/patterns ' : patch
3+ ---
4+
5+ Prevent WordPress's default pullquote block styles from starting out too large
Original file line number Diff line number Diff line change @@ -415,6 +415,15 @@ figure.wp-block-image {
415415/// Pullquote Block Styles
416416
417417.wp-block-pullquote {
418+ /// We have to reset the default text color and font size because Gutenberg
419+ /// makes it really difficult to adjust the defaults without a complete switch
420+ /// to using `theme.json`. These defaults are only exposed via inline styles
421+ /// rather than the core block CSS, which makes them extra difficult to
422+ /// troublehoot as well.
423+ color : var (--theme-color-text-muted );
424+ font-size : inherit ;
425+ line-height : inherit ;
426+
418427 /// We use generous margins to differentiate the pull quote from adjacent
419428 /// content. The core pattern uses padding for this, but we use margin so the
420429 /// margin of adjacent elements won't needlessly stack.
You can’t perform that action at this time.
0 commit comments