Font Awesome 5.1.0 发布,增加新 Emoji 图标

  

Font Awesome 5.1.0 发布了,Font Awesome 提供了一套可缩放的矢量图标,你可以使用 CSS 所提供的所有特性对它们进行更改,包括:大小、颜色、阴影或者其它任何支持的效果。

此次更新内容如下:

Added

  • New Emoji, Design, and Travel category pack

  • Another group of requested and commissioned icons

  • Version 4 shim for Web Fonts with CSS

  • New simplified download and NPM packages

  • @fortawesome/fontawesome-free and @fortawesome/fontawesome-pro NPM packages that match what's available in the CDN and .ZIP files

  • Brand icons rev, nimblr, megaport, mailchimp, hornbill, wix, weebly, themeco, squarespace, aws, shopware

  • API method toHtml() for converting abstract objects to HTML

  • API method counter() to generate Layers Counters

  • API method watch() to configure MutationObserver and watch DOM for icon changes and additions

Changed

  • Relocating sponsor data to a separate sponsors.yml

  • Updated teamspeak brand icon

  • No more default exports in the CommonJS/ES packages (anything installed from NPM)

  • Greatly improved performance and rendering of CSS pseudo-elements with SVG and JavaScript

  • Configuration of SVG with JavaScript can now be done with attributes on the script tag

  • SVG with JavaScript pseudo-elements now match syntax (font-family, font-weight) of Web Fonts with CSS

Fixed

  • Tree shaking of all NPM packages by default

  • Alignment of the book-open and dice-six icon

  • Correcting creative-commons

  • Incorrect license on the fontawesome-common-types package

  • Improve ligatures that share a base name with another ligature

  • Correcting solid style of the digital-tachograph icon

  • Prevent duplicating classes in some scenarios with SVG with JavaScript

  • Duplicate insertion of CSS when insertCss() method was called

  • Missing TypeScript definitions for the free-brands-svg-icons package

发布公告

下载地址:

猜你喜欢

转载自www.oschina.net/news/97493/font-awesome-5-1-0-released
今日推荐