hayun-vite 0.0.2 → 0.0.3
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.
- package/package.json +1 -1
- package/src/Form/Forms.js +1 -1
- package/src/Form/TextBox.js +3 -1
package/package.json
CHANGED
package/src/Form/Forms.js
CHANGED
@@ -5,7 +5,7 @@ import Form from "./Form.js";
|
|
5
5
|
import combo from "./templates/combo.js"; // این در حقیقیت یک تمپلت هست
|
6
6
|
import rasaAud from "./templates/rasaAud.js";
|
7
7
|
import rasaAudImage from './templates/rasaAud.png'
|
8
|
-
import '../fonts/Vazirmatn-Regular.woff2'
|
8
|
+
// import '../fonts/Vazirmatn-Regular.woff2'
|
9
9
|
import '../style.css'
|
10
10
|
|
11
11
|
// کلاس جدید که فرمهای مختلف را نمایش میدهد
|
package/src/Form/TextBox.js
CHANGED
@@ -28,6 +28,7 @@ export default class TextBox {
|
|
28
28
|
|
29
29
|
style = `
|
30
30
|
font-family: Arial, Helvetica, sans-serif !important;
|
31
|
+
font-family: vazirmatn;
|
31
32
|
font-size: 0.8mm;
|
32
33
|
font-weight: bold;
|
33
34
|
text-anchor: start; /*تراز افقی*/
|
@@ -50,7 +51,8 @@ export default class TextBox {
|
|
50
51
|
}
|
51
52
|
|
52
53
|
style = `
|
53
|
-
font-family: Arial, Helvetica, sans-serif
|
54
|
+
font-family: Arial, Helvetica, sans-serif;
|
55
|
+
font-family: vazirmatn;
|
54
56
|
font-size: 0.8mm;
|
55
57
|
text-anchor: start; /*تراز افقی*/
|
56
58
|
/* dominant-baseline: middle; /* تراز عمودی*/
|