Open jimmyhappy19920308 opened 3 years ago
thanks @yingming25
But it'd be even better if you could provide a digest or to describe and provide key info here. :-)
Jimy 3 days ago 我目前是引入 FontAwesome CSS 的 CDN ,因為聽說 SVG 版有雷,也可能是覺得 SVG 版有些複雜,看 @Sid 吸管 對 FontAwesome SVG 版有沒有什麼看法 :laughing: (edited) 發現要用 kit 的方式,CDN 的方式準備要棄用了 :exploding_head:
透過以下的連結可以新增一個 kit https://fontawesome.com/kits (edited) Font AwesomeFont Awesome Font Awesome The world’s most popular and easiest to use icon set just got an upgrade. More icons. More styles. More Options.
進去後右上方有個 new kit 的按鈕可以新增一個新的 kit
在 Setting 的頁籤裡需要調整成 Pro 跟 webfont (edited)
設定完 kit 後記得要儲存設定 :laughing: 然後回到 How to Use 的頁籤複製 Kit 給我們 :kneel: (edited)
web font or svg - comparison: https://fontawesome.com/how-to-use/on-the-web/other-topics/performance
@SidStraw @yingming25 @CS6 要開 conflict detection 功能嗎?
https://fontawesome.com/how-to-use/on-the-web/other-topics/conflict-detection
How to use:
<script src="https://kit.fontawesome.com/a74fe4087b.js" crossorigin="anonymous"></script>
Example:
<!doctype html>
<html>
<head>
<!-- Place your kit's code here -->
<script src="https://kit.fontawesome.com/a74fe4087b.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- Ready to use Font Awesome. Activate interlock. Dynotherms - connected. Infracells - up. Icons are go! -->
<i class="fas fa-thumbs-up fa-5x"></i>
</body>
</html>
好像還能上傳自訂 icon,如果用 svg 版的話
Upload Your Own Icons! Add your own icons to a Font Awesome kit and easily use them right alongside (or as a replacement for) official Font Awesome icons!
Change this Kit to use SVG + Upload! This beta is available only on Pro and SVG-based Kits.
SVG version
<script src="https://kit.fontawesome.com/dc3280c5e8.js" crossorigin="anonymous"></script>
@bluet 我會更注意些,提供更多關鍵資訊細節,
conflict detection 似乎是升級版本後用來排除衝突的"診斷工具",目前是使用 FontAwesome V5.15.1 最新版本,我覺得先不用,
@CS6 我有找到2個不確定適不適合當敲碗 icon 的 SVG :
https://www.flaticon.com/free-icon/bowl-and-chopsticks-of-japan_12775?term=bowl&page=11&position=31#
@CS6 不過我不確定我們是不是有必要用到敲碗的 icon XD, 目前敲碗數的文字部分在 iphone5 跟 4欄排版時也已經很擠了 QQ
https://monospace-work.slack.com/archives/GC4AHA05C/p1605064098008200