mirror of https://github.com/zulip/zulip.git
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:
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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue