Make WordPress Core

Changeset 61295


Ignore:
Timestamp:
11/24/2025 10:44:38 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Ensure that Pullquote block color is reflected on citation text.

Follow-up to [43808].

Props nidhidhandhukiya, sainathpoojary, kelvinballoo, ankit-k-gupta, pooja1210, karmatosed, sabernhardt, sandeepdahiya, SergeyBiryukov.
Fixes #58100.

Location:
trunk/src/wp-content/themes/twentynineteen
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r61284 r61295  
    435435                                }
    436436                        }
     437                }
     438
     439                &.has-text-color cite {
     440                        color: inherit;
    437441                }
    438442
  • trunk/src/wp-content/themes/twentynineteen/style-editor.css

    r61284 r61295  
    11041104}
    11051105
     1106.wp-block-pullquote.has-text-color .wp-block-pullquote__citation,
     1107.wp-block-pullquote.has-primary-background-color blockquote p,
     1108.wp-block-pullquote.has-dark-gray-background-color blockquote p {
     1109  color: inherit;
     1110}
     1111
    11061112.wp-block-pullquote.is-style-solid-color blockquote {
    11071113  width: calc(100% - (2 * 1rem));
  • trunk/src/wp-content/themes/twentynineteen/style-editor.scss

    r61284 r61295  
    514514        &:not(.is-style-solid-color) .wp-block-pullquote__citation {
    515515                color: $color__text-light;
     516        }
     517
     518        &.has-text-color .wp-block-pullquote__citation,
     519        &.has-primary-background-color blockquote p,
     520        &.has-dark-gray-background-color blockquote p {
     521                color: inherit;
    516522        }
    517523
  • trunk/src/wp-content/themes/twentynineteen/style-rtl.css

    r61284 r61295  
    57595759}
    57605760
     5761.entry .entry-content .wp-block-pullquote.has-text-color cite {
     5762  color: inherit;
     5763}
     5764
    57615765.entry .entry-content .wp-block-pullquote.is-style-solid-color {
    57625766  background-color: #0073aa;
  • trunk/src/wp-content/themes/twentynineteen/style.css

    r61284 r61295  
    57715771}
    57725772
     5773.entry .entry-content .wp-block-pullquote.has-text-color cite {
     5774  color: inherit;
     5775}
     5776
    57735777.entry .entry-content .wp-block-pullquote.is-style-solid-color {
    57745778  background-color: #0073aa;
Note: See TracChangeset for help on using the changeset viewer.