WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/20/2019 08:22:05 PM (10 months ago)
Author:
laurelfulford
Message:

Twenty Nineteen: Create separate :lang() selectors for Devanagari.

In the non-latin font fallback styles, languages using the Devanagari alphabet were initially committed in a comma-separated list in the :lang() selector, which isn't fully supported. This update separates those languages into their own :lang() selectors.

Props mako09.
Fixes #45731.

File:
1 edited

Legend:

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

    r44650 r44657  
    4444    zh-CN: '-apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei New", STHeiti Light, sans-serif',
    4545    /* Devanagari */
    46     'bn-BD,hi-IN,mr,ne-NP': 'Arial, sans-serif',
     46    bn-BD: 'Arial, sans-serif',
     47    hi-IN: 'Arial, sans-serif',
     48    mr: 'Arial, sans-serif',
     49    ne-NP: 'Arial, sans-serif',
    4750    /* Greek */
    4851    el: '"Helvetica Neue", Helvetica, Arial, sans-serif',
Note: See TracChangeset for help on using the changeset viewer.