(ar) change font

This commit is contained in:
Andrea Vos 2024-05-19 14:21:51 +02:00
parent 009452a24f
commit 5b92d748f8
4 changed files with 25 additions and 2 deletions

View File

@ -212,3 +212,26 @@
src: url('/fonts/rubik-v28-arabic_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
}
@if list.index($fonts, 'Almarai') {
/* almarai-regular - arabic */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Almarai';
font-style: normal;
font-weight: 400;
src: url('/fonts/almarai-v12-arabic-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('/fonts/almarai-v12-arabic-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* almarai-700 - arabic */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Almarai';
font-style: normal;
font-weight: 700;
src: url('/fonts/almarai-v12-arabic-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('/fonts/almarai-v12-arabic-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
}

View File

@ -1,2 +1,2 @@
$fontHeadings: 'Rubik';
$fontText: 'Rubik';
$fontHeadings: 'Almarai';
$fontText: 'Almarai';

Binary file not shown.

Binary file not shown.