@arraypress/covers 0.0.0-stage → 1.0.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.
- package/CHANGELOG.md +50 -0
- package/LICENSE +29 -0
- package/README.md +561 -2
- package/fonts/OFL.txt +93 -0
- package/fonts/inter-latin-400.woff +0 -0
- package/fonts/inter-latin-500.woff +0 -0
- package/fonts/inter-latin-600.woff +0 -0
- package/fonts/inter-latin-700.woff +0 -0
- package/package.json +96 -4
- package/recipes/aurora.json +132 -0
- package/recipes/bauhaus.json +113 -0
- package/recipes/bigType.json +103 -0
- package/recipes/contour.json +109 -0
- package/recipes/cutout.json +191 -0
- package/recipes/diagram.json +92 -0
- package/recipes/dither.json +170 -0
- package/recipes/duotone.json +75 -0
- package/recipes/gridTitle.json +136 -0
- package/recipes/iconTile.json +214 -0
- package/recipes/issue.json +221 -0
- package/recipes/mark.json +170 -0
- package/recipes/photo.json +156 -0
- package/recipes/riso.json +387 -0
- package/recipes/stripes.json +206 -0
- package/recipes/waveform.json +154 -0
- package/schema/recipe.schema.json +2292 -0
- package/src/astro.d.ts +31 -0
- package/src/astro.js +86 -0
- package/src/color.js +246 -0
- package/src/diagram.js +248 -0
- package/src/extract.js +90 -0
- package/src/flatten.js +234 -0
- package/src/fonts.js +200 -0
- package/src/geometry.js +187 -0
- package/src/grid.js +41 -0
- package/src/handmade.js +253 -0
- package/src/icons.js +157 -0
- package/src/index.d.ts +897 -0
- package/src/index.js +19 -0
- package/src/json-recipe.js +458 -0
- package/src/layer-options.js +37 -0
- package/src/layers.js +972 -0
- package/src/palette.js +185 -0
- package/src/png.js +77 -0
- package/src/print.js +658 -0
- package/src/recipes.js +78 -0
- package/src/render.js +462 -0
- package/src/rng.js +95 -0
- package/src/svg.js +69 -0
- package/src/text.js +230 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/recipe.schema.json",
|
|
3
|
+
"name": "iconTile",
|
|
4
|
+
"description": "An icon on a raised tile over a soft tint of the accent, a glow and faint rings. With a title, the tile moves to the upper left.",
|
|
5
|
+
"vars": {
|
|
6
|
+
"tint": {
|
|
7
|
+
"mix": [
|
|
8
|
+
"@bg",
|
|
9
|
+
"@accent",
|
|
10
|
+
{
|
|
11
|
+
"if": {
|
|
12
|
+
"mode": "dark"
|
|
13
|
+
},
|
|
14
|
+
"then": 0.1,
|
|
15
|
+
"else": 0.07
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"glow": {
|
|
20
|
+
"if": "title",
|
|
21
|
+
"then": {
|
|
22
|
+
"x": {
|
|
23
|
+
"add": [
|
|
24
|
+
0.22,
|
|
25
|
+
{
|
|
26
|
+
"range": [
|
|
27
|
+
-0.12,
|
|
28
|
+
0.12
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"y": {
|
|
34
|
+
"add": [
|
|
35
|
+
0.26,
|
|
36
|
+
{
|
|
37
|
+
"range": [
|
|
38
|
+
-0.12,
|
|
39
|
+
0.12
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"else": {
|
|
46
|
+
"x": {
|
|
47
|
+
"add": [
|
|
48
|
+
0.5,
|
|
49
|
+
{
|
|
50
|
+
"range": [
|
|
51
|
+
-0.12,
|
|
52
|
+
0.12
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"y": {
|
|
58
|
+
"add": [
|
|
59
|
+
0.5,
|
|
60
|
+
{
|
|
61
|
+
"range": [
|
|
62
|
+
-0.12,
|
|
63
|
+
0.12
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"layers": [
|
|
72
|
+
{
|
|
73
|
+
"id": "bg",
|
|
74
|
+
"type": "solid",
|
|
75
|
+
"color": "$tint"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "glow",
|
|
79
|
+
"type": "radial",
|
|
80
|
+
"colors": [
|
|
81
|
+
{
|
|
82
|
+
"mix": [
|
|
83
|
+
"$tint",
|
|
84
|
+
"@accent",
|
|
85
|
+
{
|
|
86
|
+
"if": {
|
|
87
|
+
"mode": "dark"
|
|
88
|
+
},
|
|
89
|
+
"then": 0.32,
|
|
90
|
+
"else": 0.26
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"$tint"
|
|
95
|
+
],
|
|
96
|
+
"x": "$glow.x",
|
|
97
|
+
"y": "$glow.y",
|
|
98
|
+
"radius": "52vmax"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "rings",
|
|
102
|
+
"type": "pattern",
|
|
103
|
+
"kind": "rings",
|
|
104
|
+
"size": {
|
|
105
|
+
"if": "title",
|
|
106
|
+
"then": "6vmin",
|
|
107
|
+
"else": "7vmin"
|
|
108
|
+
},
|
|
109
|
+
"center": "$glow",
|
|
110
|
+
"opacity": {
|
|
111
|
+
"if": {
|
|
112
|
+
"mode": "dark"
|
|
113
|
+
},
|
|
114
|
+
"then": 0.14,
|
|
115
|
+
"else": 0.16
|
|
116
|
+
},
|
|
117
|
+
"fade": "radial",
|
|
118
|
+
"color": {
|
|
119
|
+
"if": {
|
|
120
|
+
"mode": "dark"
|
|
121
|
+
},
|
|
122
|
+
"then": "@text",
|
|
123
|
+
"else": "@accent"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "icon",
|
|
128
|
+
"type": "icon",
|
|
129
|
+
"name": "{icon}",
|
|
130
|
+
"path": {
|
|
131
|
+
"if": {
|
|
132
|
+
"not": "icon"
|
|
133
|
+
},
|
|
134
|
+
"then": "M12 2c.4 4.9 2.1 7.6 7 8.6l3 .4-3 .4c-4.9 1-6.6 3.7-7 8.6-.4-4.9-2.1-7.6-7-8.6L2 11l3-.4c4.9-1 6.6-3.7 7-8.6Z"
|
|
135
|
+
},
|
|
136
|
+
"viewBox": {
|
|
137
|
+
"if": {
|
|
138
|
+
"not": "icon"
|
|
139
|
+
},
|
|
140
|
+
"then": [
|
|
141
|
+
0,
|
|
142
|
+
0,
|
|
143
|
+
24,
|
|
144
|
+
24
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"size": {
|
|
148
|
+
"mul": [
|
|
149
|
+
"@u",
|
|
150
|
+
{
|
|
151
|
+
"if": "title",
|
|
152
|
+
"then": 0.075,
|
|
153
|
+
"else": 0.12
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"anchor": {
|
|
158
|
+
"if": "title",
|
|
159
|
+
"then": "top-left",
|
|
160
|
+
"else": "center"
|
|
161
|
+
},
|
|
162
|
+
"tile": {
|
|
163
|
+
"color": {
|
|
164
|
+
"if": {
|
|
165
|
+
"mode": "dark"
|
|
166
|
+
},
|
|
167
|
+
"then": {
|
|
168
|
+
"mix": [
|
|
169
|
+
"$tint",
|
|
170
|
+
"@text",
|
|
171
|
+
0.09
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"else": {
|
|
175
|
+
"mix": [
|
|
176
|
+
"$tint",
|
|
177
|
+
"#ffffff",
|
|
178
|
+
0.85
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "grain",
|
|
186
|
+
"type": "grain",
|
|
187
|
+
"amount": 0.05
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "title",
|
|
191
|
+
"type": "text",
|
|
192
|
+
"when": "title",
|
|
193
|
+
"content": "{title}",
|
|
194
|
+
"anchor": "bottom-left",
|
|
195
|
+
"weight": 500,
|
|
196
|
+
"size": {
|
|
197
|
+
"mul": [
|
|
198
|
+
"@u",
|
|
199
|
+
0.066
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"minSize": {
|
|
203
|
+
"mul": [
|
|
204
|
+
"@u",
|
|
205
|
+
0.048
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"lineHeight": 1.08,
|
|
209
|
+
"letterSpacing": -0.025,
|
|
210
|
+
"maxLines": 3,
|
|
211
|
+
"label": "{label}"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/recipe.schema.json",
|
|
3
|
+
"name": "issue",
|
|
4
|
+
"description": "Type-led: a huge issue number in the accent, sized to the canvas and cropped at the bottom only, an optional No., a masthead line with the date, a hairline.",
|
|
5
|
+
"params": {
|
|
6
|
+
"number": null,
|
|
7
|
+
"masthead": null,
|
|
8
|
+
"date": null,
|
|
9
|
+
"prefix": true
|
|
10
|
+
},
|
|
11
|
+
"vars": {
|
|
12
|
+
"number": {
|
|
13
|
+
"if": "number",
|
|
14
|
+
"then": "{number}",
|
|
15
|
+
"else": {
|
|
16
|
+
"int": [
|
|
17
|
+
1,
|
|
18
|
+
64
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"numeral": {
|
|
23
|
+
"readable": [
|
|
24
|
+
"@bg",
|
|
25
|
+
3,
|
|
26
|
+
"@accent"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"size": {
|
|
30
|
+
"min": [
|
|
31
|
+
{
|
|
32
|
+
"mul": [
|
|
33
|
+
"@height",
|
|
34
|
+
1.04
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"div": [
|
|
39
|
+
{
|
|
40
|
+
"mul": [
|
|
41
|
+
"@width",
|
|
42
|
+
1.62
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"length": "$number"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"bleed": {
|
|
53
|
+
"add": [
|
|
54
|
+
1,
|
|
55
|
+
{
|
|
56
|
+
"div": [
|
|
57
|
+
{
|
|
58
|
+
"mul": [
|
|
59
|
+
"$size",
|
|
60
|
+
0.1
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"@height"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"layers": [
|
|
70
|
+
{
|
|
71
|
+
"id": "bg",
|
|
72
|
+
"type": "solid"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "masthead",
|
|
76
|
+
"type": "text",
|
|
77
|
+
"when": "masthead",
|
|
78
|
+
"content": "{masthead}",
|
|
79
|
+
"anchor": "top-left",
|
|
80
|
+
"size": {
|
|
81
|
+
"mul": [
|
|
82
|
+
"@u",
|
|
83
|
+
0.024
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"weight": 600,
|
|
87
|
+
"letterSpacing": 0.08,
|
|
88
|
+
"transform": "uppercase",
|
|
89
|
+
"maxLines": 1,
|
|
90
|
+
"balance": false,
|
|
91
|
+
"color": "@text"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "date",
|
|
95
|
+
"type": "text",
|
|
96
|
+
"when": "date",
|
|
97
|
+
"content": "{date}",
|
|
98
|
+
"anchor": "top-right",
|
|
99
|
+
"size": {
|
|
100
|
+
"mul": [
|
|
101
|
+
"@u",
|
|
102
|
+
0.024
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"weight": 500,
|
|
106
|
+
"letterSpacing": 0.04,
|
|
107
|
+
"maxLines": 1,
|
|
108
|
+
"balance": false,
|
|
109
|
+
"color": "@text"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "rule",
|
|
113
|
+
"type": "rule",
|
|
114
|
+
"y": {
|
|
115
|
+
"if": {
|
|
116
|
+
"any": [
|
|
117
|
+
"masthead",
|
|
118
|
+
"date"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"then": 0.13,
|
|
122
|
+
"else": 0.1
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "no",
|
|
127
|
+
"type": "text",
|
|
128
|
+
"when": {
|
|
129
|
+
"not": {
|
|
130
|
+
"prefix": false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"content": "No.",
|
|
134
|
+
"anchor": "left",
|
|
135
|
+
"position": {
|
|
136
|
+
"x": 0.07,
|
|
137
|
+
"y": {
|
|
138
|
+
"if": "title",
|
|
139
|
+
"then": 0.31,
|
|
140
|
+
"else": 0.27
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"size": {
|
|
144
|
+
"mul": [
|
|
145
|
+
"@u",
|
|
146
|
+
0.05
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"weight": 500,
|
|
150
|
+
"letterSpacing": -0.02,
|
|
151
|
+
"color": "$numeral",
|
|
152
|
+
"maxLines": 1,
|
|
153
|
+
"balance": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "number",
|
|
157
|
+
"type": "text",
|
|
158
|
+
"content": "$number",
|
|
159
|
+
"anchor": "bottom-left",
|
|
160
|
+
"position": {
|
|
161
|
+
"x": 0.055,
|
|
162
|
+
"y": "$bleed"
|
|
163
|
+
},
|
|
164
|
+
"size": "$size",
|
|
165
|
+
"weight": 600,
|
|
166
|
+
"letterSpacing": -0.06,
|
|
167
|
+
"lineHeight": 1,
|
|
168
|
+
"maxLines": 1,
|
|
169
|
+
"maxWidth": 100000,
|
|
170
|
+
"balance": false,
|
|
171
|
+
"color": "$numeral"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "title",
|
|
175
|
+
"type": "text",
|
|
176
|
+
"when": "title",
|
|
177
|
+
"content": "{title}",
|
|
178
|
+
"anchor": {
|
|
179
|
+
"if": {
|
|
180
|
+
"aspect": "wide"
|
|
181
|
+
},
|
|
182
|
+
"then": "top-right",
|
|
183
|
+
"else": "top-left"
|
|
184
|
+
},
|
|
185
|
+
"weight": 500,
|
|
186
|
+
"size": {
|
|
187
|
+
"mul": [
|
|
188
|
+
"@u",
|
|
189
|
+
0.05
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"minSize": {
|
|
193
|
+
"mul": [
|
|
194
|
+
"@u",
|
|
195
|
+
0.04
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"lineHeight": 1.08,
|
|
199
|
+
"letterSpacing": -0.025,
|
|
200
|
+
"maxLines": 2,
|
|
201
|
+
"label": {
|
|
202
|
+
"if": "label",
|
|
203
|
+
"then": {
|
|
204
|
+
"color": "@text",
|
|
205
|
+
"content": "{label}"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"offset": {
|
|
209
|
+
"y": "9vh"
|
|
210
|
+
},
|
|
211
|
+
"maxWidth": {
|
|
212
|
+
"if": {
|
|
213
|
+
"aspect": "wide"
|
|
214
|
+
},
|
|
215
|
+
"then": "40vw",
|
|
216
|
+
"else": "52vw"
|
|
217
|
+
},
|
|
218
|
+
"align": "left"
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/recipe.schema.json",
|
|
3
|
+
"name": "mark",
|
|
4
|
+
"description": "One icon, centred, on the accent or an accent gradient: white whenever white clears 3:1 (WCAG 1.4.11, non-text) against everything under it, else near-black.",
|
|
5
|
+
"params": {
|
|
6
|
+
"background": "solid",
|
|
7
|
+
"angle": 135,
|
|
8
|
+
"colors": null,
|
|
9
|
+
"size": "24vmin",
|
|
10
|
+
"iconColor": "auto"
|
|
11
|
+
},
|
|
12
|
+
"vars": {
|
|
13
|
+
"gradient": {
|
|
14
|
+
"if": "colors",
|
|
15
|
+
"then": "{colors}",
|
|
16
|
+
"else": [
|
|
17
|
+
"@accent",
|
|
18
|
+
{
|
|
19
|
+
"mix": [
|
|
20
|
+
"@accent",
|
|
21
|
+
"@colors.1",
|
|
22
|
+
0.5,
|
|
23
|
+
"oklch"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"ink": {
|
|
29
|
+
"if": {
|
|
30
|
+
"iconColor": "auto"
|
|
31
|
+
},
|
|
32
|
+
"then": {
|
|
33
|
+
"if": {
|
|
34
|
+
"background": "gradient"
|
|
35
|
+
},
|
|
36
|
+
"then": {
|
|
37
|
+
"readable": [
|
|
38
|
+
{
|
|
39
|
+
"gradientUnder": [
|
|
40
|
+
"$gradient",
|
|
41
|
+
"{angle}",
|
|
42
|
+
"{size}"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
3,
|
|
46
|
+
"white"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"else": {
|
|
50
|
+
"readable": [
|
|
51
|
+
"@accent",
|
|
52
|
+
3,
|
|
53
|
+
"white"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"else": {
|
|
58
|
+
"if": {
|
|
59
|
+
"iconColor": "white"
|
|
60
|
+
},
|
|
61
|
+
"then": "#ffffff",
|
|
62
|
+
"else": {
|
|
63
|
+
"if": {
|
|
64
|
+
"iconColor": "black"
|
|
65
|
+
},
|
|
66
|
+
"then": "#111111",
|
|
67
|
+
"else": "{iconColor}"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"type": {
|
|
72
|
+
"if": {
|
|
73
|
+
"background": "gradient"
|
|
74
|
+
},
|
|
75
|
+
"then": {
|
|
76
|
+
"readable": [
|
|
77
|
+
"$gradient",
|
|
78
|
+
4.5,
|
|
79
|
+
"$ink"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"else": {
|
|
83
|
+
"readable": [
|
|
84
|
+
"@accent",
|
|
85
|
+
4.5,
|
|
86
|
+
"$ink"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"layers": [
|
|
92
|
+
{
|
|
93
|
+
"id": "bg",
|
|
94
|
+
"type": "solid",
|
|
95
|
+
"when": {
|
|
96
|
+
"background": "solid"
|
|
97
|
+
},
|
|
98
|
+
"color": "@accent"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "bg",
|
|
102
|
+
"type": "linear",
|
|
103
|
+
"when": {
|
|
104
|
+
"background": "gradient"
|
|
105
|
+
},
|
|
106
|
+
"angle": "{angle}",
|
|
107
|
+
"colors": "$gradient"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "icon",
|
|
111
|
+
"type": "icon",
|
|
112
|
+
"name": "{icon}",
|
|
113
|
+
"path": {
|
|
114
|
+
"if": {
|
|
115
|
+
"not": "icon"
|
|
116
|
+
},
|
|
117
|
+
"then": "M12 2c.4 4.9 2.1 7.6 7 8.6l3 .4-3 .4c-4.9 1-6.6 3.7-7 8.6-.4-4.9-2.1-7.6-7-8.6L2 11l3-.4c4.9-1 6.6-3.7 7-8.6Z"
|
|
118
|
+
},
|
|
119
|
+
"viewBox": {
|
|
120
|
+
"if": {
|
|
121
|
+
"not": "icon"
|
|
122
|
+
},
|
|
123
|
+
"then": [
|
|
124
|
+
0,
|
|
125
|
+
0,
|
|
126
|
+
24,
|
|
127
|
+
24
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"size": "{size}",
|
|
131
|
+
"color": "$ink"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "grain",
|
|
135
|
+
"type": "grain",
|
|
136
|
+
"amount": 0.03
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "title",
|
|
140
|
+
"type": "text",
|
|
141
|
+
"when": "title",
|
|
142
|
+
"content": "{title}",
|
|
143
|
+
"anchor": "bottom-left",
|
|
144
|
+
"weight": 500,
|
|
145
|
+
"size": {
|
|
146
|
+
"mul": [
|
|
147
|
+
"@u",
|
|
148
|
+
0.066
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"minSize": {
|
|
152
|
+
"mul": [
|
|
153
|
+
"@u",
|
|
154
|
+
0.048
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"lineHeight": 1.08,
|
|
158
|
+
"letterSpacing": -0.025,
|
|
159
|
+
"maxLines": 3,
|
|
160
|
+
"label": {
|
|
161
|
+
"if": "label",
|
|
162
|
+
"then": {
|
|
163
|
+
"color": "$type",
|
|
164
|
+
"content": "{label}"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"color": "$type"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|