Commit f4df2522 authored by Faizal Andyka's avatar Faizal Andyka Committed by hetech

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

parent 54887e5b
......@@ -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
......
......@@ -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-"] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment