瀏覽代碼

Update font icons, use font-display:swap

Daniel Supernault 4 年之前
父節點
當前提交
77d4353a0a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      resources/assets/sass/lib/fontawesome.scss

+ 3 - 3
resources/assets/sass/lib/fontawesome.scss

@@ -4255,7 +4255,7 @@ readers do not read off random characters that represent icons */
   font-family: 'Font Awesome 5 Brands';
   font-family: 'Font Awesome 5 Brands';
   font-style: normal;
   font-style: normal;
   font-weight: normal;
   font-weight: normal;
-  font-display: auto;
+  font-display: swap;
   src: url("/fonts/fa-brands-400.eot");
   src: url("/fonts/fa-brands-400.eot");
   src: url("/fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-brands-400.woff2") format("woff2"), url("/fonts/fa-brands-400.woff") format("woff"), url("/fonts/fa-brands-400.ttf") format("truetype"), url("/fonts/fa-brands-400.svg#fontawesome") format("svg"); }
   src: url("/fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-brands-400.woff2") format("woff2"), url("/fonts/fa-brands-400.woff") format("woff"), url("/fonts/fa-brands-400.ttf") format("truetype"), url("/fonts/fa-brands-400.svg#fontawesome") format("svg"); }
 
 
@@ -4265,7 +4265,7 @@ readers do not read off random characters that represent icons */
   font-family: 'Font Awesome 5 Free';
   font-family: 'Font Awesome 5 Free';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 400;
-  font-display: auto;
+  font-display: swap;
   src: url("/fonts/fa-regular-400.eot");
   src: url("/fonts/fa-regular-400.eot");
   src: url("/fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-regular-400.woff2") format("woff2"), url("/fonts/fa-regular-400.woff") format("woff"), url("/fonts/fa-regular-400.ttf") format("truetype"), url("/fonts/fa-regular-400.svg#fontawesome") format("svg"); }
   src: url("/fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-regular-400.woff2") format("woff2"), url("/fonts/fa-regular-400.woff") format("woff"), url("/fonts/fa-regular-400.ttf") format("truetype"), url("/fonts/fa-regular-400.svg#fontawesome") format("svg"); }
 
 
@@ -4276,7 +4276,7 @@ readers do not read off random characters that represent icons */
   font-family: 'Font Awesome 5 Free';
   font-family: 'Font Awesome 5 Free';
   font-style: normal;
   font-style: normal;
   font-weight: 900;
   font-weight: 900;
-  font-display: auto;
+  font-display: swap;
   src: url("/fonts/fa-solid-900.eot");
   src: url("/fonts/fa-solid-900.eot");
   src: url("/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-solid-900.woff2") format("woff2"), url("/fonts/fa-solid-900.woff") format("woff"), url("/fonts/fa-solid-900.ttf") format("truetype"), url("/fonts/fa-solid-900.svg#fontawesome") format("svg"); }
   src: url("/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-solid-900.woff2") format("woff2"), url("/fonts/fa-solid-900.woff") format("woff"), url("/fonts/fa-solid-900.ttf") format("truetype"), url("/fonts/fa-solid-900.svg#fontawesome") format("svg"); }