Replace mada-regular.ttf

This commit is contained in:
0x1eef 2024-08-30 14:28:08 -03:00
parent 07788b4e5e
commit 22fb6b87fa
5 changed files with 6 additions and 3 deletions

View file

@ -2,6 +2,11 @@
** vNEXT
**** Remove ~mada-regular.ttf~
With this change, the Arabic font is now based on
standard web fonts rather than a custom font obtained
from fonts.google.com
**** Add ~src/js/main/vendor.ts~
The new vendor entry point bundles preact, and other
third party dependencies in a single file. This change

View file

@ -18,7 +18,7 @@ html {
direction: ltr;
}
.rtl {
font-family: "Mada Regular";
font-family: 'Arial', 'Tahoma', sans-serif;
direction: rtl;
}
.invisible, .hidden {

Binary file not shown.

View file

@ -21,7 +21,6 @@ import { formatNumber } from "~/lib/t";
item.script(`/js/main/vendor.js?v=${rev}`, { id: 0 }),
item.script(`/js/main/surah-index.js?v=${rev}`, { id: 1 }),
item.font("Kanit Regular", "url(/fonts/kanit-regular.ttf)"),
item.font("Mada Regular", "url(/fonts/mada-regular.ttf"),
item.progress((percent: number) => {
progressBar.value = percent;
progressNumber.innerText = formatNumber(

View file

@ -22,7 +22,6 @@ import { formatNumber } from "~/lib/t";
item.script(`/js/main/vendor.js?v=${rev}`, { id: 0 }),
item.script(`/js/main/surah-stream.js?v=${rev}`, { id: 1 }),
item.font("Kanit Regular", "url(/fonts/kanit-regular.ttf)"),
item.font("Mada Regular", "url(/fonts/mada-regular.ttf"),
/* eslint-disable */
item.json(`/json/${doc.lang}/${surahId}/info.json?v=${rev}`, { className: "json surahinfo" }),
item.json(`/json/${doc.lang}/${surahId}/surah.json?v=${rev}`, { className: "json surah" }),