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/style-editor-customizer.scss

    r44149 r44650  
    11/*!
    2 Twenty Nineteen Customizer Styles & Non-latin Font Fallbacks
     2Twenty Nineteen Customizer Styles
    33
    4 NOTE: This file is automatically populated with additional styles if the user selects a custom primary color in the customzier.
     4NOTE: This file is automatically populated with styles if the user selects a custom primary color in the customzier.
    55*/
    6 
    7 /** === Includes === */
    8 
    9 @import "sass/mixins/mixins-master";
    10 
    11 /** === Non-Latin font fallbacks === */
    12 
    13 @include non-latin-fonts( '.wp-block' );
Note: See TracChangeset for help on using the changeset viewer.