Make WordPress Core


Ignore:
Timestamp:
01/18/2019 06:37:26 PM (8 years ago)
Author:
laurelfulford
Message:

Twenty Nineteen: Use a less aggressive approach for non-latin font fallbacks.

The theme's original approach to its non-latin font fallbacks required !important, which overrode fonts that shouldn't have been changed, like the icon fonts used for editor buttons.

Props kjellr, mako09, allancole.
Fixes #45731.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss

    r44149 r44650  
    128128                .comment-body {
    129129                        color: $color__text-light;
    130                         font-family: $font__heading;
     130                        @include font-family( $font__heading );
    131131                        font-size: $font__size-xs;
    132132                        font-weight: 500;
     
    144144                        .comment-edit-link {
    145145                                color: $color__text-light;
    146                                 font-family: $font__heading;
     146                                @include font-family( $font__heading );
    147147                                font-weight: 500;
    148148                        }
     
    373373        .comment-notes,
    374374        label {
    375                 font-family: $font__heading;
     375                @include font-family( $font__heading );
    376376                font-size: $font__size-xs;
    377377                color: $color__text-light;
Note: See TracChangeset for help on using the changeset viewer.