Change Ubuntu font to load locally

This commit is contained in:
Andrew 2024-05-05 13:45:53 +03:00
parent a3368d1c80
commit fd2671fb9b
3 changed files with 5 additions and 2 deletions

View File

@ -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);

Binary file not shown.

View File

@ -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>