@engdawood/thmanyah-font-web 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.en.md +141 -0
  2. package/README.md +79 -126
  3. package/index.css +16 -31
  4. package/package.json +10 -5
  5. package/sans.css +51 -0
  6. package/serif-display.css +51 -0
  7. package/serif-text.css +51 -0
  8. package/LICENSE +0 -93
  9. package/README.ar.md +0 -234
  10. package/fonts/thmanyah-sans/otf/thmanyah-sans-Black.otf +0 -0
  11. package/fonts/thmanyah-sans/otf/thmanyah-sans-Bold.otf +0 -0
  12. package/fonts/thmanyah-sans/otf/thmanyah-sans-Light.otf +0 -0
  13. package/fonts/thmanyah-sans/otf/thmanyah-sans-Medium.otf +0 -0
  14. package/fonts/thmanyah-sans/otf/thmanyah-sans-Regular.otf +0 -0
  15. package/fonts/thmanyah-sans/woff2/thmanyah-sans-Black.woff2 +0 -0
  16. package/fonts/thmanyah-sans/woff2/thmanyah-sans-Bold.woff2 +0 -0
  17. package/fonts/thmanyah-sans/woff2/thmanyah-sans-Light.woff2 +0 -0
  18. package/fonts/thmanyah-sans/woff2/thmanyah-sans-Medium.woff2 +0 -0
  19. package/fonts/thmanyah-sans/woff2/thmanyah-sans-Regular.woff2 +0 -0
  20. package/fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Black.otf +0 -0
  21. package/fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Bold.otf +0 -0
  22. package/fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Light.otf +0 -0
  23. package/fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Medium.otf +0 -0
  24. package/fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Regular.otf +0 -0
  25. package/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Black.woff2 +0 -0
  26. package/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Bold.woff2 +0 -0
  27. package/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Light.woff2 +0 -0
  28. package/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Medium.woff2 +0 -0
  29. package/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Regular.woff2 +0 -0
  30. package/fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Black.otf +0 -0
  31. package/fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Bold.otf +0 -0
  32. package/fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Light.otf +0 -0
  33. package/fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Medium.otf +0 -0
  34. package/fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Regular.otf +0 -0
  35. package/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Black.woff2 +0 -0
  36. package/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Bold.woff2 +0 -0
  37. package/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Light.woff2 +0 -0
  38. package/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Medium.woff2 +0 -0
  39. package/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Regular.woff2 +0 -0
package/README.en.md ADDED
@@ -0,0 +1,141 @@
1
+ # خط ثمانية للويب — Thmanyah Font Web
2
+
3
+ ![خط ثمانية — أصيل. حديث. مرن. حي.](./public/image.png)
4
+
5
+ **[🇸🇦 اقرأ التوثيق بالعربية](./README.md)**
6
+
7
+ A community-maintained web package for the Thmanyah (ثمانية) font family — three families, five weights each. Drop a single `<link>` or CSS import into your project and start using the fonts immediately. No font files are bundled — fonts are served via jsDelivr CDN from this repository.
8
+
9
+ > The Thmanyah font family is designed and owned by [Thmanyah (ثمانية)](https://thmanyah.com). This is a community package that provides a convenient CSS wrapper for web usage.
10
+
11
+ ---
12
+
13
+ [![NPM Version](https://img.shields.io/npm/v/@engdawood/thmanyah-font-web)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
14
+ [![NPM Downloads](https://img.shields.io/npm/dt/@engdawood/thmanyah-font-web?label=npm%20downloads)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
15
+ [![jsDelivr Hits](https://img.shields.io/jsdelivr/npm/hm/@engdawood/thmanyah-font-web)](https://www.jsdelivr.com/package/npm/@engdawood/thmanyah-font-web)
16
+ [![License](https://img.shields.io/badge/license-Thmanyah%20Font%20License-blue)](#license)
17
+
18
+ ---
19
+
20
+ ## Quick Start
21
+
22
+ ### CDN — no install needed
23
+
24
+ **All three families:**
25
+ ```html
26
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@engdawood/thmanyah-font-web/index.css" />
27
+ ```
28
+
29
+ **Sans only:**
30
+ ```html
31
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@engdawood/thmanyah-font-web/sans.css" />
32
+ ```
33
+
34
+ **Serif Display only:**
35
+ ```html
36
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@engdawood/thmanyah-font-web/serif-display.css" />
37
+ ```
38
+
39
+ **Serif Text only:**
40
+ ```html
41
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@engdawood/thmanyah-font-web/serif-text.css" />
42
+ ```
43
+
44
+ ### npm
45
+
46
+ ```bash
47
+ npm install @engdawood/thmanyah-font-web
48
+ ```
49
+
50
+ ```js
51
+ // All families
52
+ import "@engdawood/thmanyah-font-web";
53
+
54
+ // Or import only what you need
55
+ import "@engdawood/thmanyah-font-web/sans.css";
56
+ import "@engdawood/thmanyah-font-web/serif-display.css";
57
+ import "@engdawood/thmanyah-font-web/serif-text.css";
58
+ ```
59
+
60
+ ```css
61
+ /* In CSS */
62
+ @import "@engdawood/thmanyah-font-web";
63
+ @import "@engdawood/thmanyah-font-web/sans.css";
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Font Families & Weights
69
+
70
+ | Family | CSS `font-family` | Weights |
71
+ |--------|-------------------|---------|
72
+ | **Thmanyah Sans** | `"Thmanyah Sans", sans-serif` | 300 · 400 · 500 · 700 · 900 |
73
+ | **Thmanyah Serif Display** | `"Thmanyah Serif Display", serif` | 300 · 400 · 500 · 700 · 900 |
74
+ | **Thmanyah Serif Text** | `"Thmanyah Serif Text", serif` | 300 · 400 · 500 · 700 · 900 |
75
+
76
+ ---
77
+
78
+ ## Usage
79
+
80
+ ### CSS
81
+
82
+ ```css
83
+ body {
84
+ font-family: "Thmanyah Sans", sans-serif;
85
+ font-weight: 400;
86
+ direction: rtl;
87
+ }
88
+
89
+ h1 {
90
+ font-family: "Thmanyah Serif Display", serif;
91
+ font-weight: 700;
92
+ }
93
+
94
+ article p {
95
+ font-family: "Thmanyah Serif Text", serif;
96
+ font-weight: 400;
97
+ }
98
+ ```
99
+
100
+ ### Utility Classes
101
+
102
+ ```html
103
+ <!-- Family -->
104
+ <p class="font-thmanyah-sans">ثمانية سانس</p>
105
+ <h1 class="font-thmanyah-serif-display">ثمانية سيريف ديسبلاي</h1>
106
+ <p class="font-thmanyah-serif-text">ثمانية سيريف تكست</p>
107
+
108
+ <!-- Weight -->
109
+ <p class="font-thmanyah-sans font-weight-light">300</p>
110
+ <p class="font-thmanyah-sans font-weight-regular">400</p>
111
+ <p class="font-thmanyah-sans font-weight-medium">500</p>
112
+ <p class="font-thmanyah-sans font-weight-bold">700</p>
113
+ <p class="font-thmanyah-sans font-weight-black">900</p>
114
+ ```
115
+
116
+ | Class | Value |
117
+ |-------|-------|
118
+ | `.font-thmanyah-sans` | `font-family: "Thmanyah Sans", sans-serif` |
119
+ | `.font-thmanyah-serif-display` | `font-family: "Thmanyah Serif Display", serif` |
120
+ | `.font-thmanyah-serif-text` | `font-family: "Thmanyah Serif Text", serif` |
121
+ | `.font-weight-light` | `font-weight: 300` |
122
+ | `.font-weight-regular` | `font-weight: 400` |
123
+ | `.font-weight-medium` | `font-weight: 500` |
124
+ | `.font-weight-bold` | `font-weight: 700` |
125
+ | `.font-weight-black` | `font-weight: 900` |
126
+
127
+ ---
128
+
129
+ ## Official Thmanyah Links
130
+
131
+ | | Link |
132
+ |---|---|
133
+ | Try the font | [font.thmanyah.com](https://font.thmanyah.com/) |
134
+
135
+ ---
136
+
137
+ ## License
138
+
139
+ The Thmanyah font family is designed and owned by [Thmanyah (ثمانية)](https://thmanyah.com). Font license details at [font.thmanyah.com/licenses](https://font.thmanyah.com/licenses).
140
+
141
+ This community package (CSS wrapper + CDN setup) is maintained by [@engdawood](https://github.com/engdawood).
package/README.md CHANGED
@@ -1,60 +1,51 @@
1
- # خط ثمانية للويب — Thmanyah Font Web
1
+ <div dir="rtl" align="right">
2
2
 
3
- **[🇸🇦 اقرأ التوثيق بالعربية](./README.ar.md)**
3
+ # خط ثمانية للويب — Thmanyah Font Web
4
4
 
5
- **A community‑maintained web package for the Thmanyah (ثمانية) font family three families, five weights each.** Drop a single CSS file into your project and start using Thmanyah Sans, Thmanyah Serif Display, and Thmanyah Serif Text immediately.
5
+ ![خط ثمانية — أصيل. حديث. مرن. حي.](./public/image.png)
6
6
 
7
- > **Note:** The Thmanyah font family is designed and owned by [Thmanyah (ثمانية)](https://thmanyah.com). This repo is a community package that repackages the fonts for easy web/npm/CDN usage.
7
+ **حزمة مجتمعية لعائلة خطوط ثمانية للويب ثلاث عائلات، خمسة أوزان لكل عائلة.** أضف ملف CSS واحد لمشروعك وابدأ باستخدام ثمانية سانس، ثمانية سيريف ديسبلاي، وثمانية سيريف تكست فورًا.
8
8
 
9
- ---
9
+ > **ملاحظة:** خط ثمانية من تصميم وملكية [ثمانية](https://thmanyah.com). هذا المستودع حزمة مجتمعية تعيد تجميع الخطوط لتسهيل استخدامها على الويب عبر npm و CDN.
10
10
 
11
- ## 📦 Package Information
11
+ **[🇬🇧 Read in English](./README.en.md)**
12
12
 
13
- [![NPM Version](https://img.shields.io/npm/v/@engdawood/thmanyah-font-web)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
14
- [![NPM Downloads](https://img.shields.io/npm/dt/@engdawood/thmanyah-font-web?label=npm%20downloads)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
15
- [![jsDelivr Hits](https://img.shields.io/jsdelivr/npm/hm/@engdawood/thmanyah-font-web)](https://www.jsdelivr.com/package/npm/@engdawood/thmanyah-font-web)
16
- [![License](https://img.shields.io/badge/license-OFL--1.1-blue)](./LICENSE)
17
- [![Font Weights](https://img.shields.io/badge/weights-300%20·%20400%20·%20500%20·%20700%20·%20900-blueviolet)](#font-families--weights)
13
+ ---
18
14
 
19
- ## 📊 Repository Stats
15
+ ## 📦 معلومات الحزمة
20
16
 
21
- [![GitHub Stars](https://img.shields.io/github/stars/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/stargazers)
22
- [![GitHub Forks](https://img.shields.io/github/forks/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/network/members)
23
- [![GitHub Issues](https://img.shields.io/github/issues/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/issues)
24
- [![Code Size](https://img.shields.io/github/languages/code-size/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web)
25
- [![GitHub last commit](https://img.shields.io/github/last-commit/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/commits)
17
+ <div dir="ltr" align="left">
26
18
 
27
- ## 🔄 Compatibility
19
+ [![NPM Version](https://img.shields.io/npm/v/@engdawood/thmanyah-font-web)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
20
+ [![Font Weights](https://img.shields.io/badge/weights-300%20·%20400%20·%20500%20·%20700%20·%20900-blueviolet)](#عائلات-الخطوط-والأوزان)
28
21
 
29
- [![Browsers](https://img.shields.io/badge/browsers-Chrome%20·%20Firefox%20·%20Safari%20·%20Edge-brightgreen)](#)
30
- [![Platforms](https://img.shields.io/badge/platforms-Windows%20·%20Mac%20·%20Linux%20·%20Android%20·%20iOS-blue)](#)
31
- [![Maintained](https://img.shields.io/badge/maintained%3F-yes-green.svg)](https://github.com/engdawood/thmanyah-font-web/graphs/commit-activity)
32
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/engdawood/thmanyah-font-web/pulls)
22
+ </div>
33
23
 
34
24
  ---
35
25
 
36
- ## 🌍 Live Demo
26
+ ## 🌍 تجربة حية
37
27
 
38
- 🎉 **Check out the live demo here:**
39
- 🔗 [Thmanyah Font Demo](https://engdawood.github.io/thmanyah-font-web/examples/demo.html)
28
+ 🔗 [عرض خط ثمانية](https://engdawood.github.io/thmanyah-font-web/examples/demo.html)
40
29
 
41
30
  ---
42
31
 
43
- ## 🔗 Official Thmanyah Links
32
+ ## 🔗 روابط ثمانية الرسمية
44
33
 
45
- | | Link |
34
+ | | الرابط |
46
35
  |---|---|
47
- | 🎨 **Try the font** | [font.thmanyah.com](https://font.thmanyah.com/) |
48
- | 𝕏 **Announcement** | [Thmanyah on X](https://x.com/thmanyah/status/2046944611969487256?s=20) |
49
- | 📜 **Font License** | [font.thmanyah.com/licenses](https://font.thmanyah.com/licenses) |
36
+ | 🎨 **جرّب الخط** | [font.thmanyah.com](https://font.thmanyah.com/) |
37
+ | 𝕏 **إعلان الخط** | [ثمانية على X](https://x.com/thmanyah/status/2046944611969487256?s=20) |
38
+ | 📜 **ترخيص الخط** | [font.thmanyah.com/licenses](https://font.thmanyah.com/licenses) |
50
39
 
51
40
  ---
52
41
 
53
- ## 🚀 Quick Start
42
+ ## 🚀 البداية السريعة
54
43
 
55
- ### Option 1 — CDN (Fastest)
44
+ ### الطريقة ١ — CDN (الأسرع)
56
45
 
57
- Add a single `<link>` tag to your HTML. No build step, no install, no download.
46
+ أضف وسم `<link>` واحد لصفحتك. بدون تثبيت، بدون تحميل، بدون أي إعدادات.
47
+
48
+ <div dir="ltr" align="left">
58
49
 
59
50
  **jsDelivr:**
60
51
 
@@ -74,49 +65,61 @@ Add a single `<link>` tag to your HTML. No build step, no install, no download.
74
65
  />
75
66
  ```
76
67
 
77
- ### Option 2 — Package Manager
68
+ </div>
69
+
70
+ ### الطريقة ٢ — مدير الحزم
71
+
72
+ <div dir="ltr" align="left">
78
73
 
79
74
  ```bash
80
75
  npm install @engdawood/thmanyah-font-web
81
76
  ```
82
77
 
83
- Then import the CSS in your project:
84
-
85
78
  ```css
86
- /* In your CSS */
79
+ /* CSS */
87
80
  @import "@engdawood/thmanyah-font-web";
88
81
  ```
89
82
 
90
83
  ```js
91
- // Or in your JS/TS entry point
84
+ // JS / TS
92
85
  import "@engdawood/thmanyah-font-web";
93
86
  ```
94
87
 
95
- ### Option 3 — Manual Download
88
+ </div>
89
+
90
+ ### الطريقة ٣ — التحميل اليدوي
91
+
92
+ انسخ مجلد `fonts/` وملف `index.css` لمشروعك، ثم اربطه في صفحتك:
96
93
 
97
- 1. Download this repository
98
- 2. Copy the `fonts/` directory and `index.css` to your project
99
- 3. Link `index.css` in your HTML:
94
+ <div dir="ltr" align="left">
100
95
 
101
96
  ```html
102
97
  <link rel="stylesheet" href="path/to/index.css" />
103
98
  ```
104
99
 
100
+ </div>
101
+
105
102
  ---
106
103
 
107
- ## 🔤 Font Families & Weights
104
+ ## 🔤 عائلات الخطوط والأوزان
105
+
106
+ <div dir="ltr" align="left">
108
107
 
109
- | Family | CSS `font-family` | Weights |
110
- | ------------------------ | ---------------------------- | ------------------------------------ |
111
- | **Thmanyah Sans** | `"Thmanyah Sans", sans-serif` | Light 300 · Regular 400 · Medium 500 · Bold 700 · Black 900 |
112
- | **Thmanyah Serif Display** | `"Thmanyah Serif Display", serif` | Light 300 · Regular 400 · Medium 500 · Bold 700 · Black 900 |
113
- | **Thmanyah Serif Text** | `"Thmanyah Serif Text", serif` | Light 300 · Regular 400 · Medium 500 · Bold 700 · Black 900 |
108
+ | Family | CSS `font-family` | Weights |
109
+ | --- | --- | --- |
110
+ | **Thmanyah Sans** | `"Thmanyah Sans", sans-serif` | 300 · 400 · 500 · 700 · 900 |
111
+ | **Thmanyah Serif Display** | `"Thmanyah Serif Display", serif` | 300 · 400 · 500 · 700 · 900 |
112
+ | **Thmanyah Serif Text** | `"Thmanyah Serif Text", serif` | 300 · 400 · 500 · 700 · 900 |
113
+
114
+ </div>
114
115
 
115
116
  ---
116
117
 
117
- ## 💡 Usage Examples
118
+ ## 💡 أمثلة الاستخدام
119
+
120
+ ### خصائص CSS مباشرة
118
121
 
119
- ### Direct CSS Properties
122
+ <div dir="ltr" align="left">
120
123
 
121
124
  ```css
122
125
  body {
@@ -125,9 +128,7 @@ body {
125
128
  direction: rtl;
126
129
  }
127
130
 
128
- h1,
129
- h2,
130
- h3 {
131
+ h1, h2, h3 {
131
132
  font-family: "Thmanyah Serif Display", serif;
132
133
  font-weight: 700;
133
134
  }
@@ -138,93 +139,45 @@ article p {
138
139
  }
139
140
  ```
140
141
 
141
- ### Utility Classes
142
+ </div>
142
143
 
143
- The package ships ready-made utility classes:
144
+ ### الأصناف الجاهزة (Utility Classes)
145
+
146
+ <div dir="ltr" align="left">
144
147
 
145
148
  ```html
146
- <!-- Family classes -->
149
+ <!-- Family -->
147
150
  <p class="font-thmanyah-sans">ثمانية سانس</p>
148
151
  <h1 class="font-thmanyah-serif-display">ثمانية سيريف ديسبلاي</h1>
149
152
  <p class="font-thmanyah-serif-text">ثمانية سيريف تكست</p>
150
153
 
151
- <!-- Weight classes -->
152
- <p class="font-thmanyah-sans font-weight-light">وزن خفيف — 300</p>
153
- <p class="font-thmanyah-sans font-weight-regular">وزن عادي — 400</p>
154
- <p class="font-thmanyah-sans font-weight-medium">وزن متوسط — 500</p>
155
- <p class="font-thmanyah-sans font-weight-bold">وزن سميك — 700</p>
156
- <p class="font-thmanyah-sans font-weight-black">وزن أسود — 900</p>
154
+ <!-- Weight -->
155
+ <p class="font-thmanyah-sans font-weight-light">300</p>
156
+ <p class="font-thmanyah-sans font-weight-regular">400</p>
157
+ <p class="font-thmanyah-sans font-weight-medium">500</p>
158
+ <p class="font-thmanyah-sans font-weight-bold">700</p>
159
+ <p class="font-thmanyah-sans font-weight-black">900</p>
157
160
  ```
158
161
 
159
- ### Utility Classes Reference
160
-
161
- | Class | Effect |
162
- | ------------------------------ | -------------------------------------------- |
163
- | `.font-thmanyah-sans` | `font-family: "Thmanyah Sans", sans-serif` |
162
+ | Class | Value |
163
+ | --- | --- |
164
+ | `.font-thmanyah-sans` | `font-family: "Thmanyah Sans", sans-serif` |
164
165
  | `.font-thmanyah-serif-display` | `font-family: "Thmanyah Serif Display", serif` |
165
- | `.font-thmanyah-serif-text` | `font-family: "Thmanyah Serif Text", serif` |
166
- | `.font-weight-light` | `font-weight: 300` |
167
- | `.font-weight-regular` | `font-weight: 400` |
168
- | `.font-weight-medium` | `font-weight: 500` |
169
- | `.font-weight-bold` | `font-weight: 700` |
170
- | `.font-weight-black` | `font-weight: 900` |
171
-
172
- ---
173
-
174
- ## 📁 Repository Structure
175
-
176
- ```
177
- thmanyah-font-web/
178
- ├── fonts/
179
- │ ├── thmanyah-sans/
180
- │ │ ├── woff2/ ← Primary web format
181
- │ │ └── otf/ ← Fallback / desktop
182
- │ ├── thmanyah-serif-display/
183
- │ │ ├── woff2/
184
- │ │ └── otf/
185
- │ └── thmanyah-serif-text/
186
- │ ├── woff2/
187
- │ └── otf/
188
- ├── examples/
189
- │ └── demo.html ← Live demo page (GitHub Pages)
190
- ├── index.css ← All @font-face declarations + utility classes
191
- ├── package.json
192
- ├── LICENSE ← OFL-1.1
193
- └── README.md
194
- ```
166
+ | `.font-thmanyah-serif-text` | `font-family: "Thmanyah Serif Text", serif` |
167
+ | `.font-weight-light` | `font-weight: 300` |
168
+ | `.font-weight-regular` | `font-weight: 400` |
169
+ | `.font-weight-medium` | `font-weight: 500` |
170
+ | `.font-weight-bold` | `font-weight: 700` |
171
+ | `.font-weight-black` | `font-weight: 900` |
195
172
 
196
- ---
197
-
198
- ## ⚙️ Technical Details
199
-
200
- - **Primary format:** WOFF2 (compressed, best browser support)
201
- - **Fallback format:** OTF/OpenType (desktop compatibility)
202
- - **`font-display: swap`** — text is visible immediately, font loads in background
203
- - **`unicode-range`** — covers Arabic (U+0600–06FF, U+0750–077F, U+08A0–08FF, U+FB50–FDFF, U+FE70–FEFF) and Basic Latin (U+0020–02AF)
204
- - **RTL-ready** — designed and optimized for right-to-left layouts
173
+ </div>
205
174
 
206
175
  ---
207
176
 
208
- ## 📄 License
209
-
210
- The Thmanyah font family is licensed under the **[SIL Open Font License, Version 1.1](./LICENSE)**.
211
-
212
- - ✅ Free to use in personal and commercial projects
213
- - ✅ Can be bundled with any software
214
- - ✅ Can be modified and redistributed
215
- - ❌ Cannot be sold by itself
216
-
217
- **Font design & copyright © [Thmanyah (ثمانية)](https://thmanyah.com)** — all rights to the font belong to them.
218
- **Community web package by [@engdawood](https://github.com/engdawood)** — this repo only repackages the fonts for web usage.
219
-
220
- ---
177
+ ## 📄 الترخيص
221
178
 
222
- ## 🤝 Contributing
179
+ خط ثمانية من تصميم وملكية [ثمانية](https://thmanyah.com).
223
180
 
224
- Contributions are welcome! Feel free to open issues or submit pull requests.
181
+ حزمة الويب المجتمعية (إعداد CSS و CDN) بواسطة [@engdawood](https://github.com/engdawood).
225
182
 
226
- 1. Fork the repository
227
- 2. Create your feature branch (`git checkout -b feature/improvement`)
228
- 3. Commit your changes (`git commit -m 'Add improvement'`)
229
- 4. Push to the branch (`git push origin feature/improvement`)
230
- 5. Open a Pull Request
183
+ </div>
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Thmanyah Font Web v1.0.0 | OFL-1.1 License | github.com/engdawood/thmanyah-font-web */
1
+ /*! Thmanyah Font Web v1.0.0 | github.com/engdawood/thmanyah-font-web */
2
2
 
3
3
  /* ============================================================
4
4
  Thmanyah Sans
@@ -6,8 +6,7 @@
6
6
 
7
7
  @font-face {
8
8
  font-family: "Thmanyah Sans";
9
- src: url("fonts/thmanyah-sans/woff2/thmanyah-sans-Light.woff2") format("woff2"),
10
- url("fonts/thmanyah-sans/otf/thmanyah-sans-Light.otf") format("opentype");
9
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Light.woff2") format("woff2");
11
10
  font-weight: 300;
12
11
  font-style: normal;
13
12
  font-display: swap;
@@ -17,8 +16,7 @@
17
16
 
18
17
  @font-face {
19
18
  font-family: "Thmanyah Sans";
20
- src: url("fonts/thmanyah-sans/woff2/thmanyah-sans-Regular.woff2") format("woff2"),
21
- url("fonts/thmanyah-sans/otf/thmanyah-sans-Regular.otf") format("opentype");
19
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Regular.woff2") format("woff2");
22
20
  font-weight: 400;
23
21
  font-style: normal;
24
22
  font-display: swap;
@@ -28,8 +26,7 @@
28
26
 
29
27
  @font-face {
30
28
  font-family: "Thmanyah Sans";
31
- src: url("fonts/thmanyah-sans/woff2/thmanyah-sans-Medium.woff2") format("woff2"),
32
- url("fonts/thmanyah-sans/otf/thmanyah-sans-Medium.otf") format("opentype");
29
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Medium.woff2") format("woff2");
33
30
  font-weight: 500;
34
31
  font-style: normal;
35
32
  font-display: swap;
@@ -39,8 +36,7 @@
39
36
 
40
37
  @font-face {
41
38
  font-family: "Thmanyah Sans";
42
- src: url("fonts/thmanyah-sans/woff2/thmanyah-sans-Bold.woff2") format("woff2"),
43
- url("fonts/thmanyah-sans/otf/thmanyah-sans-Bold.otf") format("opentype");
39
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Bold.woff2") format("woff2");
44
40
  font-weight: 700;
45
41
  font-style: normal;
46
42
  font-display: swap;
@@ -50,8 +46,7 @@
50
46
 
51
47
  @font-face {
52
48
  font-family: "Thmanyah Sans";
53
- src: url("fonts/thmanyah-sans/woff2/thmanyah-sans-Black.woff2") format("woff2"),
54
- url("fonts/thmanyah-sans/otf/thmanyah-sans-Black.otf") format("opentype");
49
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Black.woff2") format("woff2");
55
50
  font-weight: 900;
56
51
  font-style: normal;
57
52
  font-display: swap;
@@ -65,8 +60,7 @@
65
60
 
66
61
  @font-face {
67
62
  font-family: "Thmanyah Serif Display";
68
- src: url("fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Light.woff2") format("woff2"),
69
- url("fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Light.otf") format("opentype");
63
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Light.woff2") format("woff2");
70
64
  font-weight: 300;
71
65
  font-style: normal;
72
66
  font-display: swap;
@@ -76,8 +70,7 @@
76
70
 
77
71
  @font-face {
78
72
  font-family: "Thmanyah Serif Display";
79
- src: url("fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Regular.woff2") format("woff2"),
80
- url("fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Regular.otf") format("opentype");
73
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Regular.woff2") format("woff2");
81
74
  font-weight: 400;
82
75
  font-style: normal;
83
76
  font-display: swap;
@@ -87,8 +80,7 @@
87
80
 
88
81
  @font-face {
89
82
  font-family: "Thmanyah Serif Display";
90
- src: url("fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Medium.woff2") format("woff2"),
91
- url("fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Medium.otf") format("opentype");
83
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Medium.woff2") format("woff2");
92
84
  font-weight: 500;
93
85
  font-style: normal;
94
86
  font-display: swap;
@@ -98,8 +90,7 @@
98
90
 
99
91
  @font-face {
100
92
  font-family: "Thmanyah Serif Display";
101
- src: url("fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Bold.woff2") format("woff2"),
102
- url("fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Bold.otf") format("opentype");
93
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Bold.woff2") format("woff2");
103
94
  font-weight: 700;
104
95
  font-style: normal;
105
96
  font-display: swap;
@@ -109,8 +100,7 @@
109
100
 
110
101
  @font-face {
111
102
  font-family: "Thmanyah Serif Display";
112
- src: url("fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Black.woff2") format("woff2"),
113
- url("fonts/thmanyah-serif-display/otf/thmanyah-serif-display-Black.otf") format("opentype");
103
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Black.woff2") format("woff2");
114
104
  font-weight: 900;
115
105
  font-style: normal;
116
106
  font-display: swap;
@@ -124,8 +114,7 @@
124
114
 
125
115
  @font-face {
126
116
  font-family: "Thmanyah Serif Text";
127
- src: url("fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Light.woff2") format("woff2"),
128
- url("fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Light.otf") format("opentype");
117
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Light.woff2") format("woff2");
129
118
  font-weight: 300;
130
119
  font-style: normal;
131
120
  font-display: swap;
@@ -135,8 +124,7 @@
135
124
 
136
125
  @font-face {
137
126
  font-family: "Thmanyah Serif Text";
138
- src: url("fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Regular.woff2") format("woff2"),
139
- url("fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Regular.otf") format("opentype");
127
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Regular.woff2") format("woff2");
140
128
  font-weight: 400;
141
129
  font-style: normal;
142
130
  font-display: swap;
@@ -146,8 +134,7 @@
146
134
 
147
135
  @font-face {
148
136
  font-family: "Thmanyah Serif Text";
149
- src: url("fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Medium.woff2") format("woff2"),
150
- url("fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Medium.otf") format("opentype");
137
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Medium.woff2") format("woff2");
151
138
  font-weight: 500;
152
139
  font-style: normal;
153
140
  font-display: swap;
@@ -157,8 +144,7 @@
157
144
 
158
145
  @font-face {
159
146
  font-family: "Thmanyah Serif Text";
160
- src: url("fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Bold.woff2") format("woff2"),
161
- url("fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Bold.otf") format("opentype");
147
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Bold.woff2") format("woff2");
162
148
  font-weight: 700;
163
149
  font-style: normal;
164
150
  font-display: swap;
@@ -168,8 +154,7 @@
168
154
 
169
155
  @font-face {
170
156
  font-family: "Thmanyah Serif Text";
171
- src: url("fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Black.woff2") format("woff2"),
172
- url("fonts/thmanyah-serif-text/otf/thmanyah-serif-text-Black.otf") format("opentype");
157
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Black.woff2") format("woff2");
173
158
  font-weight: 900;
174
159
  font-style: normal;
175
160
  font-display: swap;
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@engdawood/thmanyah-font-web",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Community web package for the Thmanyah (ثمانية) font family — Sans, Serif Display & Serif Text in five weights. Drop-in CSS, CDN-ready, npm-installable.",
5
5
  "main": "index.css",
6
6
  "style": "index.css",
7
7
  "files": [
8
8
  "index.css",
9
- "fonts/**/*",
10
- "LICENSE"
9
+ "sans.css",
10
+ "serif-display.css",
11
+ "serif-text.css"
11
12
  ],
12
13
  "directories": {
13
14
  "example": "examples"
@@ -37,9 +38,13 @@
37
38
  "opentype"
38
39
  ],
39
40
  "author": "engdawood",
40
- "license": "OFL-1.1",
41
+ "license": "SEE LICENSE IN https://font.thmanyah.com/licenses",
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
41
45
  "bugs": {
42
46
  "url": "https://github.com/engdawood/thmanyah-font-web/issues"
43
47
  },
44
- "homepage": "https://engdawood.github.io/thmanyah-font-web/"
48
+ "homepage": "https://engdawood.github.io/thmanyah-font-web/",
49
+ "dependencies": {}
45
50
  }
package/sans.css ADDED
@@ -0,0 +1,51 @@
1
+ /*! Thmanyah Sans | github.com/engdawood/thmanyah-font-web */
2
+
3
+ @font-face {
4
+ font-family: "Thmanyah Sans";
5
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Light.woff2") format("woff2");
6
+ font-weight: 300;
7
+ font-style: normal;
8
+ font-display: swap;
9
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
10
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
11
+ }
12
+
13
+ @font-face {
14
+ font-family: "Thmanyah Sans";
15
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Regular.woff2") format("woff2");
16
+ font-weight: 400;
17
+ font-style: normal;
18
+ font-display: swap;
19
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
20
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Thmanyah Sans";
25
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Medium.woff2") format("woff2");
26
+ font-weight: 500;
27
+ font-style: normal;
28
+ font-display: swap;
29
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
30
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: "Thmanyah Sans";
35
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Bold.woff2") format("woff2");
36
+ font-weight: 700;
37
+ font-style: normal;
38
+ font-display: swap;
39
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
40
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
41
+ }
42
+
43
+ @font-face {
44
+ font-family: "Thmanyah Sans";
45
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-sans/woff2/thmanyah-sans-Black.woff2") format("woff2");
46
+ font-weight: 900;
47
+ font-style: normal;
48
+ font-display: swap;
49
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
50
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
51
+ }
@@ -0,0 +1,51 @@
1
+ /*! Thmanyah Serif Display | github.com/engdawood/thmanyah-font-web */
2
+
3
+ @font-face {
4
+ font-family: "Thmanyah Serif Display";
5
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Light.woff2") format("woff2");
6
+ font-weight: 300;
7
+ font-style: normal;
8
+ font-display: swap;
9
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
10
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
11
+ }
12
+
13
+ @font-face {
14
+ font-family: "Thmanyah Serif Display";
15
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Regular.woff2") format("woff2");
16
+ font-weight: 400;
17
+ font-style: normal;
18
+ font-display: swap;
19
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
20
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Thmanyah Serif Display";
25
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Medium.woff2") format("woff2");
26
+ font-weight: 500;
27
+ font-style: normal;
28
+ font-display: swap;
29
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
30
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: "Thmanyah Serif Display";
35
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Bold.woff2") format("woff2");
36
+ font-weight: 700;
37
+ font-style: normal;
38
+ font-display: swap;
39
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
40
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
41
+ }
42
+
43
+ @font-face {
44
+ font-family: "Thmanyah Serif Display";
45
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-display/woff2/thmanyah-serif-display-Black.woff2") format("woff2");
46
+ font-weight: 900;
47
+ font-style: normal;
48
+ font-display: swap;
49
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
50
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
51
+ }
package/serif-text.css ADDED
@@ -0,0 +1,51 @@
1
+ /*! Thmanyah Serif Text | github.com/engdawood/thmanyah-font-web */
2
+
3
+ @font-face {
4
+ font-family: "Thmanyah Serif Text";
5
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Light.woff2") format("woff2");
6
+ font-weight: 300;
7
+ font-style: normal;
8
+ font-display: swap;
9
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
10
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
11
+ }
12
+
13
+ @font-face {
14
+ font-family: "Thmanyah Serif Text";
15
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Regular.woff2") format("woff2");
16
+ font-weight: 400;
17
+ font-style: normal;
18
+ font-display: swap;
19
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
20
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Thmanyah Serif Text";
25
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Medium.woff2") format("woff2");
26
+ font-weight: 500;
27
+ font-style: normal;
28
+ font-display: swap;
29
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
30
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: "Thmanyah Serif Text";
35
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Bold.woff2") format("woff2");
36
+ font-weight: 700;
37
+ font-style: normal;
38
+ font-display: swap;
39
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
40
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
41
+ }
42
+
43
+ @font-face {
44
+ font-family: "Thmanyah Serif Text";
45
+ src: url("https://cdn.jsdelivr.net/gh/engdawood/thmanyah-font-web@main/fonts/thmanyah-serif-text/woff2/thmanyah-serif-text-Black.woff2") format("woff2");
46
+ font-weight: 900;
47
+ font-style: normal;
48
+ font-display: swap;
49
+ unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF,
50
+ U+FE70-FEFF, U+0020-007F, U+00A0-00FF, U+0100-024F, U+0250-02AF;
51
+ }
package/LICENSE DELETED
@@ -1,93 +0,0 @@
1
- Copyright (c) Thmanyah (ثمانية), https://thmanyah.com
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://openfontlicense.org
6
-
7
- ---
8
-
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
-
11
- PREAMBLE
12
- The goals of the Open Font License (OFL) are to stimulate worldwide
13
- development of collaborative font projects, to support the font creation
14
- efforts of academic and linguistic communities, and to provide a free and
15
- open framework in which fonts may be shared and improved in partnership
16
- with others.
17
-
18
- The fonts covered by the Open Font License can be used, studied, modified
19
- and redistributed freely as long as they are not sold by themselves. The
20
- fonts, including any derivative works, can be bundled, embedded,
21
- redistributed and/or sold with any software provided that any reserved
22
- names are not used by derivative works. The fonts and derivatives,
23
- however, cannot be released under any other type of license. The
24
- requirement for fonts to remain under this license does not apply to any
25
- document created using the fonts or their derivatives.
26
-
27
- DEFINITIONS
28
- "Font Software" refers to the set of files released by the Copyright
29
- Holder(s) under this license and clearly marked as such. This may
30
- include source files, build scripts and documentation.
31
-
32
- "Reserved Font Name" refers to any names specified as such after the
33
- copyright statement(s).
34
-
35
- "Original Version" refers to the collection of Font Software components
36
- as distributed by the Copyright Holder(s).
37
-
38
- "Modified Version" refers to any derivative made by adding to, deleting,
39
- or substituting—in part or in whole—any of the components of the
40
- Original Version, by changing formats or by porting the Font Software to
41
- a new environment.
42
-
43
- "Author" refers to any designer, engineer, programmer, technical writer
44
- or other person who contributed to the Font Software.
45
-
46
- PERMISSION & CONDITIONS
47
- Permission is hereby granted, free of charge, to any person obtaining a
48
- copy of the original Font Software or a Modified Version of the Font
49
- Software, to use, study, copy, merge, embed, modify, redistribute, and
50
- sell modified and unmodified copies of the Font Software, subject to the
51
- following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components, in
54
- Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the
65
- corresponding Copyright Holder. This restriction only applies to the
66
- primary font name as presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole, must
75
- be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created using
78
- the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
88
- COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
93
- DEALINGS IN THE FONT SOFTWARE.
package/README.ar.md DELETED
@@ -1,234 +0,0 @@
1
- <div dir="rtl" align="right">
2
-
3
- # خط ثمانية للويب — Thmanyah Font Web
4
-
5
- **حزمة مجتمعية لعائلة خطوط ثمانية للويب — ثلاث عائلات، خمسة أوزان لكل عائلة.** أضف ملف CSS واحد لمشروعك وابدأ باستخدام ثمانية سانس، ثمانية سيريف ديسبلاي، وثمانية سيريف تكست فورًا.
6
-
7
- > **ملاحظة:** خط ثمانية من تصميم وملكية [ثمانية](https://thmanyah.com). هذا المستودع حزمة مجتمعية تعيد تجميع الخطوط لتسهيل استخدامها على الويب عبر npm و CDN.
8
-
9
- ---
10
-
11
- ## 📦 معلومات الحزمة
12
-
13
- [![NPM Version](https://img.shields.io/npm/v/@engdawood/thmanyah-font-web)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
14
- [![NPM Downloads](https://img.shields.io/npm/dt/@engdawood/thmanyah-font-web?label=npm%20downloads)](https://www.npmjs.com/package/@engdawood/thmanyah-font-web)
15
- [![jsDelivr Hits](https://img.shields.io/jsdelivr/npm/hm/@engdawood/thmanyah-font-web)](https://www.jsdelivr.com/package/npm/@engdawood/thmanyah-font-web)
16
- [![License](https://img.shields.io/badge/license-OFL--1.1-blue)](./LICENSE)
17
- [![Font Weights](https://img.shields.io/badge/weights-300%20·%20400%20·%20500%20·%20700%20·%20900-blueviolet)](#عائلات-الخطوط-والأوزان)
18
-
19
- ## 📊 إحصائيات المستودع
20
-
21
- [![GitHub Stars](https://img.shields.io/github/stars/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/stargazers)
22
- [![GitHub Forks](https://img.shields.io/github/forks/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/network/members)
23
- [![GitHub Issues](https://img.shields.io/github/issues/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/issues)
24
- [![Code Size](https://img.shields.io/github/languages/code-size/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web)
25
- [![GitHub last commit](https://img.shields.io/github/last-commit/engdawood/thmanyah-font-web)](https://github.com/engdawood/thmanyah-font-web/commits)
26
-
27
- ## 🔄 التوافق
28
-
29
- [![Browsers](https://img.shields.io/badge/browsers-Chrome%20·%20Firefox%20·%20Safari%20·%20Edge-brightgreen)](#)
30
- [![Platforms](https://img.shields.io/badge/platforms-Windows%20·%20Mac%20·%20Linux%20·%20Android%20·%20iOS-blue)](#)
31
- [![Maintained](https://img.shields.io/badge/maintained%3F-yes-green.svg)](https://github.com/engdawood/thmanyah-font-web/graphs/commit-activity)
32
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/engdawood/thmanyah-font-web/pulls)
33
-
34
- ---
35
-
36
- ## 🌍 تجربة حية
37
-
38
- 🎉 **شاهد العرض التوضيحي هنا:**
39
- 🔗 [عرض خط ثمانية](https://engdawood.github.io/thmanyah-font-web/examples/demo.html)
40
-
41
- ---
42
-
43
- ## 🔗 روابط ثمانية الرسمية
44
-
45
- | | الرابط |
46
- |---|---|
47
- | 🎨 **جرّب الخط** | [font.thmanyah.com](https://font.thmanyah.com/) |
48
- | 𝕏 **إعلان الخط** | [ثمانية على X](https://x.com/thmanyah/status/2046944611969487256?s=20) |
49
- | 📜 **ترخيص الخط** | [font.thmanyah.com/licenses](https://font.thmanyah.com/licenses) |
50
-
51
- ---
52
-
53
- ## 🚀 البداية السريعة
54
-
55
- ### الطريقة ١ — CDN (الأسرع)
56
-
57
- أضف وسم `<link>` واحد لصفحتك. بدون تثبيت، بدون تحميل، بدون أي إعدادات.
58
-
59
- **jsDelivr:**
60
-
61
- ```html
62
- <link
63
- rel="stylesheet"
64
- href="https://cdn.jsdelivr.net/npm/@engdawood/thmanyah-font-web/index.css"
65
- />
66
- ```
67
-
68
- **unpkg:**
69
-
70
- ```html
71
- <link
72
- rel="stylesheet"
73
- href="https://unpkg.com/@engdawood/thmanyah-font-web/index.css"
74
- />
75
- ```
76
-
77
- ### الطريقة ٢ — مدير الحزم
78
-
79
- ```bash
80
- npm install @engdawood/thmanyah-font-web
81
- ```
82
-
83
- ثم استورد ملف CSS في مشروعك:
84
-
85
- ```css
86
- /* في ملف CSS */
87
- @import "@engdawood/thmanyah-font-web";
88
- ```
89
-
90
- ```js
91
- // أو في نقطة الدخول JS/TS
92
- import "@engdawood/thmanyah-font-web";
93
- ```
94
-
95
- ### الطريقة ٣ — التحميل اليدوي
96
-
97
- 1. حمّل هذا المستودع
98
- 2. انسخ مجلد `fonts/` وملف `index.css` لمشروعك
99
- 3. اربط `index.css` في صفحتك:
100
-
101
- ```html
102
- <link rel="stylesheet" href="path/to/index.css" />
103
- ```
104
-
105
- ---
106
-
107
- ## 🔤 عائلات الخطوط والأوزان
108
-
109
- | العائلة | قيمة `font-family` في CSS | الأوزان |
110
- | --- | --- | --- |
111
- | **ثمانية سانس** | `"Thmanyah Sans", sans-serif` | خفيف 300 · عادي 400 · متوسط 500 · سميك 700 · أسود 900 |
112
- | **ثمانية سيريف ديسبلاي** | `"Thmanyah Serif Display", serif` | خفيف 300 · عادي 400 · متوسط 500 · سميك 700 · أسود 900 |
113
- | **ثمانية سيريف تكست** | `"Thmanyah Serif Text", serif` | خفيف 300 · عادي 400 · متوسط 500 · سميك 700 · أسود 900 |
114
-
115
- ---
116
-
117
- ## 💡 أمثلة الاستخدام
118
-
119
- ### خصائص CSS مباشرة
120
-
121
- ```css
122
- body {
123
- font-family: "Thmanyah Sans", sans-serif;
124
- font-weight: 400;
125
- direction: rtl;
126
- }
127
-
128
- h1,
129
- h2,
130
- h3 {
131
- font-family: "Thmanyah Serif Display", serif;
132
- font-weight: 700;
133
- }
134
-
135
- article p {
136
- font-family: "Thmanyah Serif Text", serif;
137
- font-weight: 400;
138
- }
139
- ```
140
-
141
- ### الأصناف الجاهزة (Utility Classes)
142
-
143
- الحزمة تأتي مع أصناف CSS جاهزة للاستخدام:
144
-
145
- ```html
146
- <!-- أصناف العائلة -->
147
- <p class="font-thmanyah-sans">ثمانية سانس</p>
148
- <h1 class="font-thmanyah-serif-display">ثمانية سيريف ديسبلاي</h1>
149
- <p class="font-thmanyah-serif-text">ثمانية سيريف تكست</p>
150
-
151
- <!-- أصناف الوزن -->
152
- <p class="font-thmanyah-sans font-weight-light">وزن خفيف — 300</p>
153
- <p class="font-thmanyah-sans font-weight-regular">وزن عادي — 400</p>
154
- <p class="font-thmanyah-sans font-weight-medium">وزن متوسط — 500</p>
155
- <p class="font-thmanyah-sans font-weight-bold">وزن سميك — 700</p>
156
- <p class="font-thmanyah-sans font-weight-black">وزن أسود — 900</p>
157
- ```
158
-
159
- ### مرجع الأصناف الجاهزة
160
-
161
- | الصنف | التأثير |
162
- | --- | --- |
163
- | `.font-thmanyah-sans` | `font-family: "Thmanyah Sans", sans-serif` |
164
- | `.font-thmanyah-serif-display` | `font-family: "Thmanyah Serif Display", serif` |
165
- | `.font-thmanyah-serif-text` | `font-family: "Thmanyah Serif Text", serif` |
166
- | `.font-weight-light` | `font-weight: 300` |
167
- | `.font-weight-regular` | `font-weight: 400` |
168
- | `.font-weight-medium` | `font-weight: 500` |
169
- | `.font-weight-bold` | `font-weight: 700` |
170
- | `.font-weight-black` | `font-weight: 900` |
171
-
172
- ---
173
-
174
- ## 📁 هيكل المستودع
175
-
176
- ```
177
- thmanyah-font-web/
178
- ├── fonts/
179
- │ ├── thmanyah-sans/
180
- │ │ ├── woff2/ ← الصيغة الأساسية للويب
181
- │ │ └── otf/ ← بديل / سطح المكتب
182
- │ ├── thmanyah-serif-display/
183
- │ │ ├── woff2/
184
- │ │ └── otf/
185
- │ └── thmanyah-serif-text/
186
- │ ├── woff2/
187
- │ └── otf/
188
- ├── examples/
189
- │ └── demo.html ← صفحة العرض التوضيحي (GitHub Pages)
190
- ├── index.css ← جميع تعريفات @font-face + الأصناف الجاهزة
191
- ├── index.html ← إعادة توجيه GitHub Pages
192
- ├── package.json
193
- ├── LICENSE ← OFL-1.1
194
- ├── README.md ← التوثيق بالإنجليزية
195
- └── README.ar.md ← التوثيق بالعربية (أنت هنا)
196
- ```
197
-
198
- ---
199
-
200
- ## ⚙️ تفاصيل تقنية
201
-
202
- - **الصيغة الأساسية:** WOFF2 (مضغوطة، أفضل دعم للمتصفحات)
203
- - **الصيغة البديلة:** OTF/OpenType (توافق مع سطح المكتب)
204
- - **`font-display: swap`** — النص يظهر فورًا، والخط يُحمّل في الخلفية
205
- - **`unicode-range`** — يغطي العربية (U+0600–06FF, U+0750–077F, U+08A0–08FF, U+FB50–FDFF, U+FE70–FEFF) واللاتينية الأساسية (U+0020–02AF)
206
- - **جاهز لـ RTL** — مصمم ومُحسّن للكتابة من اليمين لليسار
207
-
208
- ---
209
-
210
- ## 📄 الترخيص
211
-
212
- عائلة خطوط ثمانية مرخّصة تحت **[رخصة الخطوط المفتوحة SIL، الإصدار 1.1](./LICENSE)**.
213
-
214
- - ✅ مجاني للاستخدام الشخصي والتجاري
215
- - ✅ يمكن تضمينه مع أي برنامج
216
- - ✅ يمكن تعديله وإعادة توزيعه
217
- - ❌ لا يمكن بيعه بشكل مستقل
218
-
219
- **تصميم الخط وحقوق الملكية © [ثمانية](https://thmanyah.com)** — جميع الحقوق للخط تعود لهم.
220
- **حزمة الويب المجتمعية بواسطة [@engdawood](https://github.com/engdawood)** — هذا المستودع يعيد تجميع الخطوط فقط لاستخدام الويب.
221
-
222
- ---
223
-
224
- ## 🤝 المساهمة
225
-
226
- المساهمات مرحّب بها! لا تتردد في فتح Issues أو تقديم Pull Requests.
227
-
228
- 1. افعل Fork للمستودع
229
- 2. أنشئ فرعك (`git checkout -b feature/improvement`)
230
- 3. نفّذ تعديلاتك (`git commit -m 'Add improvement'`)
231
- 4. ادفع للفرع (`git push origin feature/improvement`)
232
- 5. افتح Pull Request
233
-
234
- </div>