WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/30/2019 07:14:23 PM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Improve compatibility with custom colors in the separator block.

Props kjellr.
Fixes #47811.

File:
1 edited

Legend:

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

    r45897 r45920  
    692692            text-align: center;
    693693
     694            // Only apply the default dot color if there's no separator color specified.
     695            &:not(.has-text-color):not(.has-background) {
     696                color: $color__text-light;
     697            }
     698
    694699            &:before {
    695                 color: $color__text-light;
    696700                font-size: $font__size-lg;
    697701                letter-spacing: $font__size-sm;
Note: See TracChangeset for help on using the changeset viewer.