Make WordPress Core


Ignore:
Timestamp:
02/13/2019 06:39:59 PM (6 years ago)
Author:
laurelfulford
Message:

Twenty Nineteen: Update the quote block styles.

Update the theme's quote block border styles, so they will work better with the updated styles for the quote block, coming in Gutenberg 5.2.

Props @kjellr.
Fixes #46239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php

    r44302 r44739  
    133133
    134134        /*
    135          * Set left border color for:
     135         * Set border color for:
    136136         * wp block quote
     137         * :focus
    137138         */
    138139        blockquote,
    139140        .entry .entry-content blockquote,
    140141        .entry .entry-content .wp-block-quote:not(.is-large),
    141         .entry .entry-content .wp-block-quote:not(.is-style-large) {
    142             border-left-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
    143         }
    144 
    145         /*
    146          * Set border color for:
    147          * :focus
    148          */
     142        .entry .entry-content .wp-block-quote:not(.is-style-large),
    149143        input[type="text"]:focus,
    150144        input[type="email"]:focus,
     
    232226        .editor-block-list__layout .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large),
    233227        .editor-styles-wrapper .editor-block-list__layout .wp-block-freeform blockquote {
    234             border-left: 2px solid hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
     228            border-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
    235229        }
    236230
Note: See TracChangeset for help on using the changeset viewer.