Make WordPress Core


Ignore:
Timestamp:
01/18/2019 06:37:26 PM (6 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/secondary/_widgets.scss

    r44149 r44650  
    3131        li {
    3232            color: $color__text-light;
    33             font-family: $font__heading;
     33            @include font-family( $font__heading );
    3434            font-size: calc(#{$font__size_base} * #{$font__size-ratio});
    3535            font-weight: 700;
     
    4646
    4747    .tagcloud {
    48         font-family: $font__heading;
     48        @include font-family( $font__heading );
    4949        font-weight: 700;
    5050    }
Note: See TracChangeset for help on using the changeset viewer.