Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 0ff85fe

Browse files
committed
Update 05-fahkwang.json
Move font families definition to the corresponding style variation. See #8079
1 parent 5d92660 commit 0ff85fe

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

assembler/styles/typography/05-fahkwang.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,70 @@
1919
],
2020
"settings": {
2121
"typography": {
22+
"fontFamilies": [
23+
{
24+
"fontFace": [
25+
{
26+
"fontFamily": "Fahkwang",
27+
"fontStyle": "normal",
28+
"fontWeight": "400",
29+
"src": [
30+
"file:./assets/fonts/fahkwang/Fahkwang-Regular.ttf"
31+
]
32+
},
33+
{
34+
"fontFamily": "Fahkwang",
35+
"fontStyle": "italic",
36+
"fontWeight": "400",
37+
"src": [
38+
"file:./assets/fonts/fahkwang/Fahkwang-Italic.ttf"
39+
]
40+
},
41+
{
42+
"fontFamily": "Fahkwang",
43+
"fontStyle": "normal",
44+
"fontWeight": "600",
45+
"src": [
46+
"file:./assets/fonts/fahkwang/Fahkwang-Bold.ttf"
47+
]
48+
},
49+
{
50+
"fontFamily": "Fahkwang",
51+
"fontStyle": "italic",
52+
"fontWeight": "600",
53+
"src": [
54+
"file:./assets/fonts/fahkwang/Fahkwang-BoldItalic.ttf"
55+
]
56+
}
57+
],
58+
"fontFamily": "\"Fahkwang\", sans-serif",
59+
"name": "Fahkwang",
60+
"slug": "fahkwang"
61+
},
62+
{
63+
"fontFace": [
64+
{
65+
"fontFamily": "DM Sans",
66+
"fontStyle": "normal",
67+
"fontWeight": "300 700",
68+
"src": [
69+
"file:./assets/fonts/dm-sans/DMSans-VariableFont_opsz,wght.ttf"
70+
]
71+
},
72+
{
73+
"fontFamily": "DM Sans",
74+
"fontStyle": "italic",
75+
"fontWeight": "300 700",
76+
"src": [
77+
"file:./assets/fonts/dm-sans/DMSans-Italic-VariableFont_opsz,wght.ttf"
78+
]
79+
}
80+
],
81+
"fontFamily": "\"DM Sans\", sans-serif",
82+
"name": "DM Sans",
83+
"slug": "dm-sans"
84+
}
85+
],
2286
"fontSizes": [
2387
{
2488
"name": "Small",

0 commit comments

Comments
 (0)