Supports mixed compilation of single-color and multi-color icons
See original GitHub issueWhen the glyf_colr_0 format is used, the COLR/CPAL table will be generated if the icon has only one color.
In iconfont, there are a lot of mixed single-color and multi-color font projets, and users hope that monochromatic colors can still be changed with CSS color
property. I hope that a flag can be added so that the single-color icon does not generate a COLR table.
The following is an example of me manually merging ttx
files:
Demo: https://mo.m.taobao.com/union/color-font-test
https://user-images.githubusercontent.com/2784308/111959706-c6ca5180-8b29-11eb-9687-443abb61d325.mp4
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Let's make multi-colored icons with SVG symbols and CSS ...
Yet, there's one thing that remains absolutely impossible with icon fonts: multicolor support. Only SVG can do this.
Read more >Apple Watch Ultra faces and their features
Activity Analog watch face showing the time as well as Move, Exercise, and Stand. Customizable features: Color • Style (Rings, Subdials). Available ...
Read more >View and adjust colors in a mixed selection – Figma Help Center
The Selection Colors feature allows you to view and adjust any colors applied to objects in a selection. Select objects or layers and...
Read more >Color palette - Free art and design icons - Flaticon
Free vector icon. Download thousands of free icons of art and design in SVG, PSD, PNG, EPS format or as ICON FONT.
Read more >Use data bars, color scales, and icon sets to highlight data
Data bars, color scales, and icon sets are conditional formats that create ... For example, a three-icon set uses one icon to highlight...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This sounds like https://bugzilla.mozilla.org/show_bug.cgi?id=1738589 (also an earlier report at https://bugzilla.mozilla.org/show_bug.cgi?id=1520157), which I hope we’ll get fixed sometime soon.
Hi, rsheeter
Chrome has fixed this issue, now we’ll have to wait for nanoemoji to finish the rest. I recently received another user feedback about not being able to change the color. See: https://www.yuque.com/yisi/iconfont/colr-font#comment-22231181