mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
zulip-icons: Use WOFF2 format for icon font.
We’re currently generating the icon font in five formats: Embedded OpenType, WOFF, WOFF2, TrueType, and SVG. But they’re misordered by webfonts-loader such that modern browsers always select the WOFF version. WOFF2 is supported by all modern browsers, so just use that exclusively. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7fad8f1f54
commit
3b9bb7b2d2
@@ -12,4 +12,5 @@ module.exports = {
|
||||
baseSelector: ".zulip-icon",
|
||||
cssTemplate: "./template.hbs",
|
||||
ligature: false,
|
||||
types: ["woff2"], // https://github.com/jeerbl/webfonts-loader/pull/219
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user