Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@alwatr/font

Alwatr289MIT1.2.0

Best practices (The Right Way) of using Persian/Arabic web fonts in the website and webapp.

font, fonts, persian, farsi, arabic, vazirmatn, sahel, typography, pwa, alwatr

readme

Alwatr Font - @alwatr/font

Best practices (The Right Way) of using Persian/Arabic web fonts in the website and webapp.

How to use

Insert these lines inside <head> tag. Demo

Vazirmatn

<meta charset="UTF-8" />

<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/vazirmatn.min.css" fetchpriority="high" />

<link
  rel="preload"
  href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/vazirmatn/vazirmatn[wght].woff2"
  as="font"
  type="font/woff2"
  crossorigin
/>

Vazirmatn Round Dot

<meta charset="UTF-8" />

<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/vazirmatn-roundot.min.css"
  fetchpriority="high"
/>

<link
  rel="preload"
  href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/vazirmatn-roundot/vazirmatn-roundot[wght].woff2"
  as="font"
  type="font/woff2"
  crossorigin
/>

Sahel

<meta charset="UTF-8" />

<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/sahel.min.css" fetchpriority="high" />

<link
  rel="preload"
  href="https://cdn.jsdelivr.net/npm/@alwatr/font@0.21.0/sahel/sahel[wght].woff2"
  as="font"
  type="font/woff2"
  crossorigin
/>

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.2.0 (2023-11-10)

Note: Version bump only for package @alwatr/font

1.1.2 (2023-09-20)

Bug Fixes

  • all repo urls (2ec6e1e) by @AliMD

1.1.1 (2023-09-12)

Note: Version bump only for package @alwatr/font

1.1.0 (2023-09-12)

1.0.0 (2023-06-14)

0.32.0 (2023-05-27)

0.31.0 (2023-05-08)

Performance Improvements

  • pwa: optimize first load and rendering (343d757)

0.30.0 (2023-03-06)

0.29.0 (2023-02-10)

0.28.0 (2023-01-20)

0.27.0 (2022-12-29)

Features

0.26.0 (2022-12-22)

Bug Fixes

  • packages/*: package path in refrences (841d86d)

1.0.0 (2023-06-14)

Note: Version bump only for package @alwatr/font

0.32.0 (2023-05-27)

Note: Version bump only for package @alwatr/font

0.31.0 (2023-05-08)

Performance Improvements

  • pwa: optimize first load and rendering (343d757)

0.30.0 (2023-03-06)

Note: Version bump only for package @alwatr/font

0.29.0 (2023-02-10)

Note: Version bump only for package @alwatr/font

0.28.0 (2023-01-20)

Note: Version bump only for package @alwatr/font

0.27.0 (2022-12-29)

Features

0.26.0 (2022-12-22)

Bug Fixes

  • packages/*: package path in refrences (841d86d)

0.25.0 (2022-12-07)

Note: Version bump only for package @alwatr/font

0.24.0 (2022-11-28)

Note: Version bump only for package @alwatr/font

0.23.0 (2022-11-23)

Note: Version bump only for package @alwatr/font

0.22.1 (2022-11-21)

Note: Version bump only for package @alwatr/font

0.22.0 (2022-11-20)

Note: Version bump only for package @alwatr/font

0.21.0 (2022-11-13)

Note: Version bump only for package @alwatr/font

0.20.0 (2022-11-05)

Note: Version bump only for package @alwatr/font

0.19.0 (2022-11-01)

Bug Fixes

Features

  • font: rename font files (eb76649)
  • font: seprate stylesheets (fafa726)

0.18.0 (2022-10-22)

Note: Version bump only for package @alwatr/font

0.17.0 (2022-10-21)

Note: Version bump only for package @alwatr/font

0.16.0 (2022-09-08)

Note: Version bump only for package @alwatr/font

0.15.0 (2022-09-01)

Note: Version bump only for package @alwatr/font

0.14.0 (2022-08-19)

Note: Version bump only for package @alwatr/font

0.13.0 (2022-08-06)

Note: Version bump only for package @alwatr/font

0.12.0 (2022-07-22)

Bug Fixes

  • font: sahel-vf font-weight (bf84782)

0.11.0 (2022-04-16)

Note: Version bump only for package @alwatr/font

0.10.1 (2022-04-02)

Bug Fixes

0.10.0 (2022-04-02)

Features

  • font: add vazirmatn font files (6499d01)
  • font: define fonts, the wight way! (215afb8)