element-portable/res/themes/light/css/_fonts.pcss
Michael Telatynski 23c28a957c
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/fix/25969
# Conflicts:
#	res/themes/light/css/_fonts.pcss
#	yarn.lock
2024-11-27 10:04:32 +00:00

20 lines
689 B
Text

/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
*/
/* Twemoji COLR */
@font-face {
font-family: "Twemoji";
font-weight: 400;
src: url("$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2") format("woff2");
}
/* For at least Chrome on Windows 10, we have to explictly add extra weights for the emoji to appear in bold messages, etc. */
@font-face {
font-family: "Twemoji";
font-weight: 600;
src: url("$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2") format("woff2");
}
@font-face {
font-family: "Twemoji";
font-weight: 700;
src: url("$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2") format("woff2");
}