Icon: Adding font-display to @font-face declaration (#16805)

pull/16415/head
Faizal Andyka 2019-07-31 10:24:21 +07:00 committed by hetech
parent 54887e5b61
commit f4df252253
2 changed files with 3 additions and 1 deletions

View File

@ -104,6 +104,7 @@ $--fill-base: $--color-white !default;
/* Typography
-------------------------- */
$--font-path: 'fonts' !default;
$--font-display: 'auto' !default;
/// fontSize|1|Font Size|0
$--font-size-extra-large: 20px !default;
/// fontSize|1|Font Size|0

View File

@ -5,7 +5,8 @@
src: url('#{$--font-path}/element-icons.woff') format('woff'), /* chrome, firefox */
url('#{$--font-path}/element-icons.ttf') format('truetype'); /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
font-weight: normal;
font-style: normal
font-display: $--font-display;
font-style: normal;
}
[class^="el-icon-"], [class*=" el-icon-"] {