@fontsource/firjar 0.0.0-stage → 5.3.2

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 (93) hide show
  1. package/100.css +29 -0
  2. package/200.css +29 -0
  3. package/300.css +29 -0
  4. package/400.css +29 -0
  5. package/500.css +29 -0
  6. package/600.css +29 -0
  7. package/700.css +29 -0
  8. package/800.css +29 -0
  9. package/CHANGELOG.md +2 -0
  10. package/LICENSE +93 -0
  11. package/README.md +46 -2
  12. package/arabic-100.css +8 -0
  13. package/arabic-200.css +8 -0
  14. package/arabic-300.css +8 -0
  15. package/arabic-400.css +8 -0
  16. package/arabic-500.css +8 -0
  17. package/arabic-600.css +8 -0
  18. package/arabic-700.css +8 -0
  19. package/arabic-800.css +8 -0
  20. package/arabic.css +71 -0
  21. package/files/firjar-arabic-100-normal.woff +0 -0
  22. package/files/firjar-arabic-100-normal.woff2 +0 -0
  23. package/files/firjar-arabic-200-normal.woff +0 -0
  24. package/files/firjar-arabic-200-normal.woff2 +0 -0
  25. package/files/firjar-arabic-300-normal.woff +0 -0
  26. package/files/firjar-arabic-300-normal.woff2 +0 -0
  27. package/files/firjar-arabic-400-normal.woff +0 -0
  28. package/files/firjar-arabic-400-normal.woff2 +0 -0
  29. package/files/firjar-arabic-500-normal.woff +0 -0
  30. package/files/firjar-arabic-500-normal.woff2 +0 -0
  31. package/files/firjar-arabic-600-normal.woff +0 -0
  32. package/files/firjar-arabic-600-normal.woff2 +0 -0
  33. package/files/firjar-arabic-700-normal.woff +0 -0
  34. package/files/firjar-arabic-700-normal.woff2 +0 -0
  35. package/files/firjar-arabic-800-normal.woff +0 -0
  36. package/files/firjar-arabic-800-normal.woff2 +0 -0
  37. package/files/firjar-latin-100-normal.woff +0 -0
  38. package/files/firjar-latin-100-normal.woff2 +0 -0
  39. package/files/firjar-latin-200-normal.woff +0 -0
  40. package/files/firjar-latin-200-normal.woff2 +0 -0
  41. package/files/firjar-latin-300-normal.woff +0 -0
  42. package/files/firjar-latin-300-normal.woff2 +0 -0
  43. package/files/firjar-latin-400-normal.woff +0 -0
  44. package/files/firjar-latin-400-normal.woff2 +0 -0
  45. package/files/firjar-latin-500-normal.woff +0 -0
  46. package/files/firjar-latin-500-normal.woff2 +0 -0
  47. package/files/firjar-latin-600-normal.woff +0 -0
  48. package/files/firjar-latin-600-normal.woff2 +0 -0
  49. package/files/firjar-latin-700-normal.woff +0 -0
  50. package/files/firjar-latin-700-normal.woff2 +0 -0
  51. package/files/firjar-latin-800-normal.woff +0 -0
  52. package/files/firjar-latin-800-normal.woff2 +0 -0
  53. package/files/firjar-latin-ext-100-normal.woff +0 -0
  54. package/files/firjar-latin-ext-100-normal.woff2 +0 -0
  55. package/files/firjar-latin-ext-200-normal.woff +0 -0
  56. package/files/firjar-latin-ext-200-normal.woff2 +0 -0
  57. package/files/firjar-latin-ext-300-normal.woff +0 -0
  58. package/files/firjar-latin-ext-300-normal.woff2 +0 -0
  59. package/files/firjar-latin-ext-400-normal.woff +0 -0
  60. package/files/firjar-latin-ext-400-normal.woff2 +0 -0
  61. package/files/firjar-latin-ext-500-normal.woff +0 -0
  62. package/files/firjar-latin-ext-500-normal.woff2 +0 -0
  63. package/files/firjar-latin-ext-600-normal.woff +0 -0
  64. package/files/firjar-latin-ext-600-normal.woff2 +0 -0
  65. package/files/firjar-latin-ext-700-normal.woff +0 -0
  66. package/files/firjar-latin-ext-700-normal.woff2 +0 -0
  67. package/files/firjar-latin-ext-800-normal.woff +0 -0
  68. package/files/firjar-latin-ext-800-normal.woff2 +0 -0
  69. package/index.css +29 -0
  70. package/index.d.css.ts +1 -0
  71. package/latin-100.css +8 -0
  72. package/latin-200.css +8 -0
  73. package/latin-300.css +8 -0
  74. package/latin-400.css +8 -0
  75. package/latin-500.css +8 -0
  76. package/latin-600.css +8 -0
  77. package/latin-700.css +8 -0
  78. package/latin-800.css +8 -0
  79. package/latin-ext-100.css +8 -0
  80. package/latin-ext-200.css +8 -0
  81. package/latin-ext-300.css +8 -0
  82. package/latin-ext-400.css +8 -0
  83. package/latin-ext-500.css +8 -0
  84. package/latin-ext-600.css +8 -0
  85. package/latin-ext-700.css +8 -0
  86. package/latin-ext-800.css +8 -0
  87. package/latin-ext.css +71 -0
  88. package/latin.css +71 -0
  89. package/metadata.json +22 -0
  90. package/package.json +49 -3
  91. package/scss/metadata.scss +30 -0
  92. package/scss/mixins.scss +193 -0
  93. package/unicode.json +5 -0
package/index.css ADDED
@@ -0,0 +1,29 @@
1
+ /* firjar-arabic-400-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/firjar-arabic-400-normal.woff2) format('woff2'), url(./files/firjar-arabic-400-normal.woff) format('woff');
8
+ unicode-range: U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC7,U+10EC9-10EEE,U+10EF0-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
9
+ }
10
+
11
+ /* firjar-latin-ext-400-normal */
12
+ @font-face {
13
+ font-family: 'Firjar';
14
+ font-style: normal;
15
+ font-display: swap;
16
+ font-weight: 400;
17
+ src: url(./files/firjar-latin-ext-400-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-400-normal.woff) format('woff');
18
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
19
+ }
20
+
21
+ /* firjar-latin-400-normal */
22
+ @font-face {
23
+ font-family: 'Firjar';
24
+ font-style: normal;
25
+ font-display: swap;
26
+ font-weight: 400;
27
+ src: url(./files/firjar-latin-400-normal.woff2) format('woff2'), url(./files/firjar-latin-400-normal.woff) format('woff');
28
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
29
+ }
package/index.d.css.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/latin-100.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-100-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 100;
7
+ src: url(./files/firjar-latin-100-normal.woff2) format('woff2'), url(./files/firjar-latin-100-normal.woff) format('woff');
8
+ }
package/latin-200.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-200-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 200;
7
+ src: url(./files/firjar-latin-200-normal.woff2) format('woff2'), url(./files/firjar-latin-200-normal.woff) format('woff');
8
+ }
package/latin-300.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-300-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 300;
7
+ src: url(./files/firjar-latin-300-normal.woff2) format('woff2'), url(./files/firjar-latin-300-normal.woff) format('woff');
8
+ }
package/latin-400.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-400-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/firjar-latin-400-normal.woff2) format('woff2'), url(./files/firjar-latin-400-normal.woff) format('woff');
8
+ }
package/latin-500.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-500-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 500;
7
+ src: url(./files/firjar-latin-500-normal.woff2) format('woff2'), url(./files/firjar-latin-500-normal.woff) format('woff');
8
+ }
package/latin-600.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-600-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 600;
7
+ src: url(./files/firjar-latin-600-normal.woff2) format('woff2'), url(./files/firjar-latin-600-normal.woff) format('woff');
8
+ }
package/latin-700.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-700-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 700;
7
+ src: url(./files/firjar-latin-700-normal.woff2) format('woff2'), url(./files/firjar-latin-700-normal.woff) format('woff');
8
+ }
package/latin-800.css ADDED
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-800-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 800;
7
+ src: url(./files/firjar-latin-800-normal.woff2) format('woff2'), url(./files/firjar-latin-800-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-100-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 100;
7
+ src: url(./files/firjar-latin-ext-100-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-100-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-200-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 200;
7
+ src: url(./files/firjar-latin-ext-200-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-200-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-300-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 300;
7
+ src: url(./files/firjar-latin-ext-300-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-300-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-400-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/firjar-latin-ext-400-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-400-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-500-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 500;
7
+ src: url(./files/firjar-latin-ext-500-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-500-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-600-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 600;
7
+ src: url(./files/firjar-latin-ext-600-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-600-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-700-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 700;
7
+ src: url(./files/firjar-latin-ext-700-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-700-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* firjar-latin-ext-800-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 800;
7
+ src: url(./files/firjar-latin-ext-800-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-800-normal.woff) format('woff');
8
+ }
package/latin-ext.css ADDED
@@ -0,0 +1,71 @@
1
+ /* firjar-latin-ext-100-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 100;
7
+ src: url(./files/firjar-latin-ext-100-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-100-normal.woff) format('woff');
8
+ }
9
+
10
+ /* firjar-latin-ext-200-normal */
11
+ @font-face {
12
+ font-family: 'Firjar';
13
+ font-style: normal;
14
+ font-display: swap;
15
+ font-weight: 200;
16
+ src: url(./files/firjar-latin-ext-200-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-200-normal.woff) format('woff');
17
+ }
18
+
19
+ /* firjar-latin-ext-300-normal */
20
+ @font-face {
21
+ font-family: 'Firjar';
22
+ font-style: normal;
23
+ font-display: swap;
24
+ font-weight: 300;
25
+ src: url(./files/firjar-latin-ext-300-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-300-normal.woff) format('woff');
26
+ }
27
+
28
+ /* firjar-latin-ext-400-normal */
29
+ @font-face {
30
+ font-family: 'Firjar';
31
+ font-style: normal;
32
+ font-display: swap;
33
+ font-weight: 400;
34
+ src: url(./files/firjar-latin-ext-400-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-400-normal.woff) format('woff');
35
+ }
36
+
37
+ /* firjar-latin-ext-500-normal */
38
+ @font-face {
39
+ font-family: 'Firjar';
40
+ font-style: normal;
41
+ font-display: swap;
42
+ font-weight: 500;
43
+ src: url(./files/firjar-latin-ext-500-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-500-normal.woff) format('woff');
44
+ }
45
+
46
+ /* firjar-latin-ext-600-normal */
47
+ @font-face {
48
+ font-family: 'Firjar';
49
+ font-style: normal;
50
+ font-display: swap;
51
+ font-weight: 600;
52
+ src: url(./files/firjar-latin-ext-600-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-600-normal.woff) format('woff');
53
+ }
54
+
55
+ /* firjar-latin-ext-700-normal */
56
+ @font-face {
57
+ font-family: 'Firjar';
58
+ font-style: normal;
59
+ font-display: swap;
60
+ font-weight: 700;
61
+ src: url(./files/firjar-latin-ext-700-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-700-normal.woff) format('woff');
62
+ }
63
+
64
+ /* firjar-latin-ext-800-normal */
65
+ @font-face {
66
+ font-family: 'Firjar';
67
+ font-style: normal;
68
+ font-display: swap;
69
+ font-weight: 800;
70
+ src: url(./files/firjar-latin-ext-800-normal.woff2) format('woff2'), url(./files/firjar-latin-ext-800-normal.woff) format('woff');
71
+ }
package/latin.css ADDED
@@ -0,0 +1,71 @@
1
+ /* firjar-latin-100-normal */
2
+ @font-face {
3
+ font-family: 'Firjar';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 100;
7
+ src: url(./files/firjar-latin-100-normal.woff2) format('woff2'), url(./files/firjar-latin-100-normal.woff) format('woff');
8
+ }
9
+
10
+ /* firjar-latin-200-normal */
11
+ @font-face {
12
+ font-family: 'Firjar';
13
+ font-style: normal;
14
+ font-display: swap;
15
+ font-weight: 200;
16
+ src: url(./files/firjar-latin-200-normal.woff2) format('woff2'), url(./files/firjar-latin-200-normal.woff) format('woff');
17
+ }
18
+
19
+ /* firjar-latin-300-normal */
20
+ @font-face {
21
+ font-family: 'Firjar';
22
+ font-style: normal;
23
+ font-display: swap;
24
+ font-weight: 300;
25
+ src: url(./files/firjar-latin-300-normal.woff2) format('woff2'), url(./files/firjar-latin-300-normal.woff) format('woff');
26
+ }
27
+
28
+ /* firjar-latin-400-normal */
29
+ @font-face {
30
+ font-family: 'Firjar';
31
+ font-style: normal;
32
+ font-display: swap;
33
+ font-weight: 400;
34
+ src: url(./files/firjar-latin-400-normal.woff2) format('woff2'), url(./files/firjar-latin-400-normal.woff) format('woff');
35
+ }
36
+
37
+ /* firjar-latin-500-normal */
38
+ @font-face {
39
+ font-family: 'Firjar';
40
+ font-style: normal;
41
+ font-display: swap;
42
+ font-weight: 500;
43
+ src: url(./files/firjar-latin-500-normal.woff2) format('woff2'), url(./files/firjar-latin-500-normal.woff) format('woff');
44
+ }
45
+
46
+ /* firjar-latin-600-normal */
47
+ @font-face {
48
+ font-family: 'Firjar';
49
+ font-style: normal;
50
+ font-display: swap;
51
+ font-weight: 600;
52
+ src: url(./files/firjar-latin-600-normal.woff2) format('woff2'), url(./files/firjar-latin-600-normal.woff) format('woff');
53
+ }
54
+
55
+ /* firjar-latin-700-normal */
56
+ @font-face {
57
+ font-family: 'Firjar';
58
+ font-style: normal;
59
+ font-display: swap;
60
+ font-weight: 700;
61
+ src: url(./files/firjar-latin-700-normal.woff2) format('woff2'), url(./files/firjar-latin-700-normal.woff) format('woff');
62
+ }
63
+
64
+ /* firjar-latin-800-normal */
65
+ @font-face {
66
+ font-family: 'Firjar';
67
+ font-style: normal;
68
+ font-display: swap;
69
+ font-weight: 800;
70
+ src: url(./files/firjar-latin-800-normal.woff2) format('woff2'), url(./files/firjar-latin-800-normal.woff) format('woff');
71
+ }
package/metadata.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "firjar",
3
+ "family": "Firjar",
4
+ "subsets": ["arabic", "latin", "latin-ext"],
5
+ "weights": [100, 200, 300, 400, 500, 600, 700, 800],
6
+ "styles": ["normal"],
7
+ "defSubset": "latin",
8
+ "variable": {
9
+ "wdth": {"default": "100", "min": "75", "max": "125", "step": "0.1"},
10
+ "wght": {"default": "400", "min": "100", "max": "800", "step": "1"}
11
+ },
12
+ "lastModified": "2026-11-11",
13
+ "version": "v1",
14
+ "category": "sans-serif",
15
+ "license": {
16
+ "type": "OFL-1.1",
17
+ "url": "https://openfontlicense.org",
18
+ "attribution": "Copyright 2025 The Firjar Project Authors (https://github.com/Mestaratype/Firjar)"
19
+ },
20
+ "source": "https://github.com/google/fonts",
21
+ "type": "google"
22
+ }
package/package.json CHANGED
@@ -1,6 +1,52 @@
1
1
  {
2
2
  "name": "@fontsource/firjar",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "5.3.2",
4
+ "description": "Self-host the Firjar font in a neatly bundled NPM package.",
5
+ "main": "index.css",
6
+ "types": "index.d.css.ts",
7
+ "publishConfig": {"access": "public"},
8
+ "keywords": [
9
+ "fontsource",
10
+ "font",
11
+ "font family",
12
+ "google fonts",
13
+ "firjar",
14
+ "Firjar",
15
+ "css",
16
+ "sass",
17
+ "front-end",
18
+ "web",
19
+ "typeface",
20
+ "variable"
21
+ ],
22
+ "exports": {
23
+ ".": {
24
+ "types": "./index.d.css.ts",
25
+ "sass": "./index.css",
26
+ "default": "./index.css"
27
+ },
28
+ "./LICENSE": "./LICENSE",
29
+ "./*": {"sass": "./*.css", "default": "./*.css"},
30
+ "./*.css": {"sass": "./*.css", "default": "./*.css"},
31
+ "./files/*": {"sass": "./files/*", "default": "./files/*"},
32
+ "./files/*.woff": {"sass": "./files/*.woff", "default": "./files/*.woff"},
33
+ "./files/*.woff2": {
34
+ "sass": "./files/*.woff2",
35
+ "default": "./files/*.woff2"
36
+ },
37
+ "./package.json": "./package.json",
38
+ "./metadata.json": "./metadata.json",
39
+ "./unicode.json": "./unicode.json",
40
+ "./scss": {"sass": "./scss/metadata.scss"}
41
+ },
42
+ "author": "Google Inc.",
43
+ "license": "OFL-1.1",
44
+ "homepage": "https://fontsource.org/fonts/firjar",
45
+ "funding": "https://github.com/sponsors/ayuhito",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/fontsource/font-files.git",
49
+ "directory": "fonts/google/firjar"
50
+ },
51
+ "publishHash": "016a16cfa328e97874198028a729c9f0e74abc49c2b8b3c66d57b95e60bc5ca5"
6
52
  }
@@ -0,0 +1,30 @@
1
+ $id: 'firjar';
2
+ $family: 'Firjar';
3
+ $category: sans-serif;
4
+ $subsets: (arabic, latin, latin-ext);
5
+ $weights: (100, 200, 300, 400, 500, 600, 700, 800);
6
+ $styles: (normal);
7
+ $axes: null;
8
+ $defaults: (
9
+ subset: latin,
10
+ weight: 400,
11
+ style: normal,
12
+ axis: null,
13
+ );
14
+ $unicode: (
15
+ arabic: (U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC7,U+10EC9-10EEE,U+10EF0-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1),
16
+ latin-ext: (U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF),
17
+ latin: (U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
18
+ );
19
+
20
+ $metadata: (
21
+ id: $id,
22
+ family: $family,
23
+ category: $category,
24
+ subsets: $subsets,
25
+ weights: $weights,
26
+ styles: $styles,
27
+ axes: $axes,
28
+ defaults: $defaults,
29
+ unicode: $unicode,
30
+ ) !default;
@@ -0,0 +1,193 @@
1
+ @use 'sass:list';
2
+ @use 'sass:map';
3
+ @use 'sass:math';
4
+ @use 'sass:meta';
5
+ @use 'sass:string';
6
+
7
+ @use 'metadata';
8
+
9
+ $metadata: metadata.$metadata !default;
10
+ $directory: null !default;
11
+
12
+ $family: null !default;
13
+ $display: null !default;
14
+ $formats: null !default;
15
+ $subsets: null !default;
16
+ $weights: null !default;
17
+ $styles: null !default;
18
+ $axes: null !default;
19
+
20
+ // Deprecated
21
+ $displayVar: null !default;
22
+
23
+ @mixin generator(
24
+ $metadata: $metadata,
25
+ $directory: $directory,
26
+ $family: $family,
27
+ $display: $display,
28
+ $formats: $formats,
29
+ $subsets: $subsets,
30
+ $weights: $weights,
31
+ $styles: $styles,
32
+ $axes: $axes,
33
+
34
+ // Deprecated
35
+ $displayVar: $displayVar
36
+ ) {
37
+ @warn "Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.";
38
+
39
+ @if $displayVar != null {
40
+ @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
41
+ }
42
+
43
+ $isVariable: map.get($metadata, axes) != null;
44
+
45
+ $directory: if(
46
+ $directory,
47
+ $directory,
48
+ '~@fontsource#{if($isVariable, '-variable', '')}/#{map.get($metadata, id)}/files'
49
+ );
50
+
51
+ $family: if($family, $family, map.get($metadata, family) + if($isVariable, ' Variable', ''));
52
+ $display: if($display, $display, swap);
53
+ $formats: if(not $formats or $formats == all, if($isVariable, woff2, (woff2, woff)), $formats);
54
+ $subsets: if(
55
+ $subsets,
56
+ if($subsets == all, map.get($metadata, subsets), $subsets),
57
+ map.get($metadata, subsets)
58
+ );
59
+ $weights: if(
60
+ $weights,
61
+ if($weights == all, map.get($metadata, weights), $weights),
62
+ map.get($metadata, defaults, weight)
63
+ );
64
+ $styles: if(
65
+ $styles,
66
+ if($styles == all, map.get($metadata, styles), $styles),
67
+ map.get($metadata, defaults, style)
68
+ );
69
+ $axes: if(
70
+ $axes,
71
+ if($axes == all, full, $axes),
72
+ if($isVariable, if(map.has-key($metadata, axes, wght), wght, full), null)
73
+ );
74
+
75
+ @each $subset in $subsets {
76
+ @each $unicodeSubset, $unicodeRange in map.get($metadata, unicode) {
77
+ // If condition is true, generate faces for the current subset
78
+ @if (
79
+ // If there is no unicode information for the font or
80
+ ($unicodeSubset == null) or
81
+ // If the subset match a unicode subset or
82
+ ($subset == $unicodeSubset) or
83
+ (
84
+ // If $unicodeSubset is a numeric unicode subset
85
+ // and current subset exists in the list of font subsets but does not match any unicode subset
86
+ // then generate faces for this numeric unicode subset as it is representing part of the current subset
87
+ list.index(map.get($metadata, subsets), $subset) and not
88
+ map.has-key($metadata, unicode, $subset) and not
89
+ list.index(map.get($metadata, subsets), $unicodeSubset)
90
+ )
91
+ ) {
92
+ @each $weight in if($axes, null, $weights) {
93
+ @each $axis in $axes {
94
+ @each $style in $styles {
95
+ $variant: '#{map.get($metadata, id)}-#{if($unicodeSubset, $unicodeSubset, $subset)}-#{if($axis, $axis, $weight)}-#{$style}';
96
+
97
+ $src: ();
98
+ @each $format in $formats {
99
+ $src: list.append(
100
+ $src,
101
+ url('#{$directory}/#{$variant}.#{$format}')
102
+ format('#{$format}#{if($axis, '-variations', '')}'),
103
+ comma
104
+ );
105
+ }
106
+
107
+ @content ((
108
+ metadata: $metadata,
109
+ directory: $directory,
110
+ family: $family,
111
+ display: $display,
112
+ formats: $formats,
113
+ subsets: $subsets,
114
+ weights: $weights,
115
+ styles: $styles,
116
+ axes: $axes,
117
+
118
+ variant: $variant,
119
+ subset: $subset,
120
+ unicodeSubset: $unicodeSubset,
121
+ unicodeRange: $unicodeRange,
122
+ weight: $weight,
123
+ axis: $axis,
124
+ style: $style,
125
+
126
+ font-family: string.quote($family),
127
+ font-style: if(
128
+ (($axis == full) or ($axis == slnt)) and map.has-key($metadata, axes, slnt),
129
+ oblique map.get($metadata, axes, slnt, min) + deg map.get($metadata, axes, slnt, max) + deg,
130
+ $style
131
+ ),
132
+ font-display: $display,
133
+ font-weight: if(
134
+ (($axis == full) or ($axis == wght)) and map.has-key($metadata, axes, wght),
135
+ map.get($metadata, axes, wght, min) map.get($metadata, axes, wght, max),
136
+ $weight
137
+ ),
138
+ font-stretch: if(
139
+ (($axis == full) or ($axis == wdth)) and map.has-key($metadata, axes, wdth),
140
+ '#{map.get($metadata, axes, wdth, min)}% #{map.get($metadata, axes, wdth, max)}%',
141
+ null
142
+ ),
143
+ src: $src,
144
+ unicode-range: $unicodeRange,
145
+ ));
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+
154
+ @mixin faces(
155
+ $metadata: $metadata,
156
+ $directory: $directory,
157
+ $family: $family,
158
+ $display: $display,
159
+ $formats: $formats,
160
+ $subsets: $subsets,
161
+ $weights: $weights,
162
+ $styles: $styles,
163
+ $axes: $axes,
164
+
165
+ // Deprecated
166
+ $displayVar: $displayVar
167
+ ) {
168
+ @include generator(
169
+ $metadata: $metadata,
170
+ $directory: $directory,
171
+ $family: $family,
172
+ $display: $display,
173
+ $formats: $formats,
174
+ $subsets: $subsets,
175
+ $weights: $weights,
176
+ $styles: $styles,
177
+ $axes: $axes,
178
+
179
+ $displayVar: $displayVar
180
+ )
181
+ using ($props) {
182
+ /* #{map.get($props, variant)} */
183
+ @font-face {
184
+ font-family: map.get($props, font-family);
185
+ font-style: map.get($props, font-style);
186
+ font-display: map.get($props, font-display);
187
+ font-weight: map.get($props, font-weight);
188
+ font-stretch: map.get($props, font-stretch);
189
+ unicode-range: map.get($props, unicode-range);
190
+ src: map.get($props, src);
191
+ }
192
+ }
193
+ }