Change Ubuntu font to load locally
This commit is contained in:
parent
a3368d1c80
commit
fd2671fb9b
@ -3,6 +3,11 @@
|
|||||||
src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
|
src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Ubuntu";
|
||||||
|
src: url("../fonts/Ubuntu-Regular.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
|
||||||
:root[theme="light"] {
|
:root[theme="light"] {
|
||||||
--background: #fff;
|
--background: #fff;
|
||||||
--text: rgb(45, 45, 45);
|
--text: rgb(45, 45, 45);
|
||||||
|
BIN
assets/fonts/Ubuntu-Regular.ttf
Normal file
BIN
assets/fonts/Ubuntu-Regular.ttf
Normal file
Binary file not shown.
@ -11,8 +11,6 @@
|
|||||||
<script src="../src/renderer.js" defer></script>
|
<script src="../src/renderer.js" defer></script>
|
||||||
<script src="../src/index.js" defer></script>
|
<script src="../src/index.js" defer></script>
|
||||||
<script src="../src/common.js" defer></script>
|
<script src="../src/common.js" defer></script>
|
||||||
<!-- Ubuntu Font -->
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet'>
|
|
||||||
<!-- Translating -->
|
<!-- Translating -->
|
||||||
<script>window.i18n = new (require('../translations/i18n'));</script>
|
<script>window.i18n = new (require('../translations/i18n'));</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user