You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
lint
This commit is contained in:
@@ -114,8 +114,7 @@ export async function fixupColorFonts() {
|
|||||||
// weights for the emoji to appear in bold messages, etc.
|
// weights for the emoji to appear in bold messages, etc.
|
||||||
document.fonts.add(new FontFace("Twemoji", path, { weight: 600 }));
|
document.fonts.add(new FontFace("Twemoji", path, { weight: 600 }));
|
||||||
document.fonts.add(new FontFace("Twemoji", path, { weight: 700 }));
|
document.fonts.add(new FontFace("Twemoji", path, { weight: 700 }));
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// fall back to SBIX, generated via https://github.com/matrix-org/twemoji-colr/tree/matthew/sbix
|
// fall back to SBIX, generated via https://github.com/matrix-org/twemoji-colr/tree/matthew/sbix
|
||||||
const path = `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-sbix.woff2")}')`;
|
const path = `url('${require("../../res/fonts/Twemoji_Mozilla/TwemojiMozilla-sbix.woff2")}')`;
|
||||||
document.fonts.add(new FontFace("Twemoji", path, {}));
|
document.fonts.add(new FontFace("Twemoji", path, {}));
|
||||||
|
|||||||
Reference in New Issue
Block a user