Browse Source

fix(typography): enable synthetic bold for regular fonts by specifying exact font-weight in @font-face

master
mortezaei 2 weeks ago
parent
commit
72a5a9439d
  1. 8
      src/app/globals.css

8
src/app/globals.css

@ -4,28 +4,28 @@
@font-face {
font-family: 'Faminela';
src: url('/assets/fonts/faminela.ttf') format('truetype');
font-weight: 400 900;
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'YekanX';
src: url('/assets/fonts/YekanXFaNum-R.ttf') format('truetype');
font-weight: 400 900;
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'YekanXArabic';
src: url('/assets/fonts/ArabicYekanXRegular.ttf') format('truetype');
font-weight: 400 900;
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'NastaliqUrdu';
src: url('/assets/fonts/NotoNastaliqUrdu.ttf') format('truetype');
font-weight: 400 900;
font-weight: 400;
font-style: normal;
font-display: swap;
}

Loading…
Cancel
Save