80 lines
2.5 KiB
Text
80 lines
2.5 KiB
Text
|
--- a/src/vector/jitsi/index.pcss
|
||
|
+++ b/src/vector/jitsi/index.pcss
|
||
|
@@ -14,7 +14,7 @@
|
||
|
font-family: "Nunito";
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
- src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
|
||
|
+ src: local("Nunito Regular");
|
||
|
}
|
||
|
|
||
|
$dark-fg: #edf3ff;
|
||
|
--- a/res/themes/light/css/_fonts.pcss
|
||
|
+++ b/res/themes/light/css/_fonts.pcss
|
||
|
@@ -5,16 +5,16 @@
|
||
|
@font-face {
|
||
|
font-family: "Twemoji";
|
||
|
font-weight: 400;
|
||
|
- src: url("$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2") format("woff2");
|
||
|
+ src: local("Twemoji");
|
||
|
}
|
||
|
/* 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");
|
||
|
+ src: local("Twemoji");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: "Twemoji";
|
||
|
font-weight: 700;
|
||
|
- src: url("$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2") format("woff2");
|
||
|
+ src: local("Twemoji");
|
||
|
}
|
||
|
--- a/res/themes/legacy-light/css/_fonts.pcss
|
||
|
+++ b/res/themes/legacy-light/css/_fonts.pcss
|
||
|
@@ -23,17 +23,17 @@
|
||
|
font-family: "Nunito";
|
||
|
font-style: normal;
|
||
|
font-weight: 400;
|
||
|
- src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
|
||
|
+ src: local("Nunito Regular");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: "Nunito";
|
||
|
font-style: normal;
|
||
|
font-weight: 600;
|
||
|
- src: url("$(res)/fonts/Nunito/Nunito-SemiBold.ttf") format("truetype");
|
||
|
+ src: local("Nunito SemiBold");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: "Nunito";
|
||
|
font-style: normal;
|
||
|
font-weight: 700;
|
||
|
- src: url("$(res)/fonts/Nunito/Nunito-Bold.ttf") format("truetype");
|
||
|
+ src: local("Nunito Bold");
|
||
|
}
|
||
|
--- ./src/theme.ts.orig
|
||
|
+++ ./src/theme.ts
|
||
|
@@ -7,20 +7,6 @@
|
||
|
Please see LICENSE files in the repository root for full details.
|
||
|
*/
|
||
|
|
||
|
-import "@fontsource/inter/400.css";
|
||
|
-import "@fontsource/inter/400-italic.css";
|
||
|
-import "@fontsource/inter/500.css";
|
||
|
-import "@fontsource/inter/500-italic.css";
|
||
|
-import "@fontsource/inter/600.css";
|
||
|
-import "@fontsource/inter/600-italic.css";
|
||
|
-import "@fontsource/inter/700.css";
|
||
|
-import "@fontsource/inter/700-italic.css";
|
||
|
-
|
||
|
-import "@fontsource/inconsolata/latin-ext-400.css";
|
||
|
-import "@fontsource/inconsolata/latin-400.css";
|
||
|
-import "@fontsource/inconsolata/latin-ext-700.css";
|
||
|
-import "@fontsource/inconsolata/latin-700.css";
|
||
|
-
|
||
|
import { logger } from "matrix-js-sdk/src/logger";
|
||
|
|
||
|
import { _t } from "./languageHandler";
|