@terrahq/wysiwyg 1.0.0 → 1.0.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.
- package/README.md +666 -746
- package/content/wordpress-content.html +193 -152
- package/dist/content/wordpress-content.html +185 -154
- package/dist/wordpress-starter/assets/icons/ArrowRight.svg +3 -0
- package/package.json +1 -1
- package/public/wordpress-starter/assets/icons/ArrowRight.svg +3 -0
- package/readme/blocks/Button.md +33 -13
- package/readme/blocks/Columns.md +28 -13
- package/readme/blocks/Links.md +2 -0
- package/readme/blocks/Quote.md +12 -0
- package/readme/blocks/Separator.md +25 -0
- package/readme/blocks/Table.md +96 -103
- package/readme/blocks/Video.md +80 -11
- package/readme/properties/Background.md +74 -0
- package/readme/properties/Font.md +15 -0
- package/readme/properties/Media.md +33 -0
- package/src/assets/icons/ArrowRight.svg +3 -0
- package/src/scss/_paths.scss +2 -1
- package/src/scss/framework/_var/_vars.scss +1 -1
- package/src/scss/framework/components/btn/_c--btn-a.scss +1 -0
- package/src/scss/framework/components/content/_c--content-a.scss +405 -455
- package/src/scss/framework/components/link/_c--link-a.scss +38 -7
- package/src/scss/global-content/_global-mixins/blocks/_content-block-btn.scss +25 -6
- package/src/scss/global-content/_global-mixins/blocks/_content-block-columns.scss +11 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-quote.scss +23 -6
- package/src/scss/global-content/_global-mixins/blocks/_content-block-separator.scss +49 -3
- package/src/scss/global-content/_global-mixins/blocks/_content-block-table.scss +79 -7
- package/src/scss/global-content/_global-mixins/blocks/_content-links.scss +9 -2
- package/src/scss/global-content/_global-mixins/properties/_background.scss +50 -0
- package/src/scss/global-content/_global-mixins/properties/_font.scss +18 -6
- package/src/scss/global-content/_global-mixins/properties/_properties.scss +1 -0
- package/src/scss/sanity.scss +17 -1
- package/src/scss/wp.scss +441 -256
|
@@ -2,459 +2,409 @@
|
|
|
2
2
|
@use "@scss/framework/foundation/_foundation.scss";
|
|
3
3
|
@use "@scss/framework/_var/_vars.scss" as *;
|
|
4
4
|
.c--content-a {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
// "font-weight": 400,
|
|
411
|
-
// "letter-spacing": 1px,
|
|
412
|
-
// "line-height": 1.5,
|
|
413
|
-
// "max-lines": 3,
|
|
414
|
-
// "text-decoration": underline,
|
|
415
|
-
// "text-decoration-color": #000000,
|
|
416
|
-
// "text-underline-position": under,
|
|
417
|
-
// "margin-bottom": $measure*2,
|
|
418
|
-
"padding-top": $measure * 2,
|
|
419
|
-
"text-align": right,
|
|
420
|
-
// "margin-bottom-before-lists": 24px,
|
|
421
|
-
// "bold-font-weight": 800,
|
|
422
|
-
// ),,,,
|
|
423
|
-
),
|
|
424
|
-
$video-options: (
|
|
425
|
-
// "border-color": red,
|
|
426
|
-
// "border-radius": 20px,
|
|
427
|
-
// "border-style": solid,
|
|
428
|
-
// "border-width": 2px,
|
|
429
|
-
// "object-fit": cover,
|
|
430
|
-
// "max-height": 700px,
|
|
431
|
-
// "min-height": 0,
|
|
432
|
-
// "object-position": center,
|
|
433
|
-
// "max-width": 100%,
|
|
434
|
-
// "min-width": 30px,
|
|
435
|
-
"margin-bottom": $measure * 5,
|
|
436
|
-
"caption": (
|
|
437
|
-
// "className": f--font-a,
|
|
438
|
-
// "color": #638c1d,
|
|
439
|
-
// "font-family": arial,
|
|
440
|
-
// "font-size": 2rem,
|
|
441
|
-
// "font-style": italic,
|
|
442
|
-
// "font-weight": 400,
|
|
443
|
-
// "letter-spacing": 1px,
|
|
444
|
-
// "line-height": 1.5,
|
|
445
|
-
// "max-lines": 3,
|
|
446
|
-
// "text-decoration": underline,
|
|
447
|
-
// "text-decoration-color": #000000,
|
|
448
|
-
// "text-underline-position": under,
|
|
449
|
-
// "margin-bottom": $measure*2,
|
|
450
|
-
"padding-top": $measure * 2,
|
|
451
|
-
"text-align": right,
|
|
452
|
-
// "margin-bottom-before-lists": 24px,
|
|
453
|
-
// "bold-font-weight": 800,
|
|
454
|
-
),
|
|
455
|
-
),
|
|
456
|
-
$utilities-options: (
|
|
457
|
-
"media-text-aligned-margin-x": $measure * 5,
|
|
458
|
-
)
|
|
459
|
-
);
|
|
5
|
+
&--wp {
|
|
6
|
+
@include make-content();
|
|
7
|
+
@include make-content-modifier(
|
|
8
|
+
$btn-options: (
|
|
9
|
+
//"className": c--btn-a c--btn-a--second,
|
|
10
|
+
//"even-className": c--btn-a,
|
|
11
|
+
//"margin-bottom": $measure * 3,
|
|
12
|
+
//"column-gap": $measure * 2,
|
|
13
|
+
//"row-gap": $measure,
|
|
14
|
+
),
|
|
15
|
+
$columns-options: (
|
|
16
|
+
//"breakpoint": $tablets,
|
|
17
|
+
//"column-gap": $measure * 4,
|
|
18
|
+
//"margin-bottom": $measure * 3,
|
|
19
|
+
//"row-gap": $measure * 4,
|
|
20
|
+
),
|
|
21
|
+
$footnote-options: (
|
|
22
|
+
//"className": f--font-f,
|
|
23
|
+
//"color": map.get($color-options, h),
|
|
24
|
+
//"bold-color": red,
|
|
25
|
+
//"bold-font-weight": 600,
|
|
26
|
+
//"font-weight": 300,
|
|
27
|
+
//"font-style": italic,
|
|
28
|
+
//"margin-bottom": $measure * 3,
|
|
29
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
30
|
+
//"max-lines": 1,
|
|
31
|
+
//"padding-top": $measure*9,
|
|
32
|
+
//"text-align": left,
|
|
33
|
+
//"text-decoration": underline,
|
|
34
|
+
//"text-decoration-color": map.get($color-options, g),
|
|
35
|
+
//"text-underline-position": above,
|
|
36
|
+
),
|
|
37
|
+
$headings-options: (
|
|
38
|
+
"h1": (
|
|
39
|
+
//"bold-color": red,
|
|
40
|
+
//"bold-font-weight": 600,
|
|
41
|
+
//"className": f--font-a,
|
|
42
|
+
//"color": orange,
|
|
43
|
+
//"font-style": italic,
|
|
44
|
+
//"font-weight": 400,
|
|
45
|
+
//"margin-bottom": $measure * 3,
|
|
46
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
47
|
+
//"padding-top": $measure * 2,
|
|
48
|
+
//"text-align": left,
|
|
49
|
+
//"text-decoration": none,
|
|
50
|
+
//"text-decoration-color": #000000,
|
|
51
|
+
//"text-underline-position": under,
|
|
52
|
+
),
|
|
53
|
+
"h2": (
|
|
54
|
+
//"bold-color": map.get($color-options, e),
|
|
55
|
+
//"bold-font-weight": 600,
|
|
56
|
+
//"className": f--font-a,
|
|
57
|
+
//"color": map.get($color-options, h),
|
|
58
|
+
//"font-style": italic,
|
|
59
|
+
//"font-weight": 400,
|
|
60
|
+
//"margin-bottom": $measure * 3,
|
|
61
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
62
|
+
//"padding-top": $measure * 2,
|
|
63
|
+
//"text-align": left,
|
|
64
|
+
//"text-decoration": none,
|
|
65
|
+
//"text-decoration-color": #000000,
|
|
66
|
+
//"text-underline-position": under,
|
|
67
|
+
),
|
|
68
|
+
"h3": (
|
|
69
|
+
//"bold-color": map.get($color-options, e),
|
|
70
|
+
//"bold-font-weight": 600,
|
|
71
|
+
//"className": f--font-b,
|
|
72
|
+
//"color": map.get($color-options, h),
|
|
73
|
+
//"font-style": italic,
|
|
74
|
+
//"font-weight": 400,
|
|
75
|
+
//"margin-bottom": $measure * 3,
|
|
76
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
77
|
+
//"padding-top": $measure * 2,
|
|
78
|
+
//"text-align": left,
|
|
79
|
+
//"text-decoration": none,
|
|
80
|
+
//"text-decoration-color": #000000,
|
|
81
|
+
//"text-underline-position": under,
|
|
82
|
+
),
|
|
83
|
+
"h4": (
|
|
84
|
+
//"bold-color": map.get($color-options, f),
|
|
85
|
+
//"bold-font-weight": 600,
|
|
86
|
+
//"className": f--font-c,
|
|
87
|
+
//"color": map.get($color-options, i),
|
|
88
|
+
//"font-style": italic,
|
|
89
|
+
//"font-weight": 400,
|
|
90
|
+
//"margin-bottom": $measure * 3,
|
|
91
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
92
|
+
//"padding-top": $measure * 2,
|
|
93
|
+
//"text-align": left,
|
|
94
|
+
//"text-decoration": none,
|
|
95
|
+
//"text-decoration-color": #000000,
|
|
96
|
+
//"text-underline-position": under,
|
|
97
|
+
),
|
|
98
|
+
"h5": (
|
|
99
|
+
//"bold-color": map.get($color-options, f),
|
|
100
|
+
//"bold-font-weight": 600,
|
|
101
|
+
//"className": f--font-d,
|
|
102
|
+
//"color": map.get($color-options, i),
|
|
103
|
+
//"font-style": italic,
|
|
104
|
+
//"font-weight": 400,
|
|
105
|
+
//"margin-bottom": $measure * 3,
|
|
106
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
107
|
+
|
|
108
|
+
//"padding-top": $measure * 2,
|
|
109
|
+
//"text-align": left,
|
|
110
|
+
//"text-decoration": none,
|
|
111
|
+
//"text-decoration-color": #000000,
|
|
112
|
+
//"text-underline-position": under,
|
|
113
|
+
),
|
|
114
|
+
"h6": (
|
|
115
|
+
//"bold-color": map.get($color-options, h),
|
|
116
|
+
//"bold-font-weight": 600,
|
|
117
|
+
//"className": f--font-e,
|
|
118
|
+
//"color": map.get($color-options, g),
|
|
119
|
+
//"font-style": italic,
|
|
120
|
+
//"font-weight": 400,
|
|
121
|
+
//"margin-bottom": $measure * 3,
|
|
122
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
123
|
+
|
|
124
|
+
//"padding-top": $measure * 2,
|
|
125
|
+
//"text-align": left,
|
|
126
|
+
//"text-decoration": none,
|
|
127
|
+
//"text-decoration-color": #000000,
|
|
128
|
+
//"text-underline-position": under,
|
|
129
|
+
),
|
|
130
|
+
),
|
|
131
|
+
$highlighted-options: (
|
|
132
|
+
//"bold-color": map.get($color-options, i),
|
|
133
|
+
//"bold-font-weight": 600,
|
|
134
|
+
//"className": f--font-d f--color-a,
|
|
135
|
+
//"color": red,
|
|
136
|
+
//"font-style": italic,
|
|
137
|
+
//"font-weight": 400,
|
|
138
|
+
//"margin-bottom": $measure * 3,
|
|
139
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
140
|
+
//"padding-top": $measure,
|
|
141
|
+
//"text-align": center,
|
|
142
|
+
//"text-decoration": none,
|
|
143
|
+
//"text-decoration-color": #000000,
|
|
144
|
+
//"text-underline-position": under,
|
|
145
|
+
),
|
|
146
|
+
$image-options: (
|
|
147
|
+
//"border-color": red,
|
|
148
|
+
//"border-radius": $measure*2,
|
|
149
|
+
//"border-style": solid,
|
|
150
|
+
//"border-width": 2px,
|
|
151
|
+
"caption": (
|
|
152
|
+
//"bold-color": map.get($color-options, f),
|
|
153
|
+
//"bold-font-weight": 600,
|
|
154
|
+
//"className": f--font-f,
|
|
155
|
+
//"color": red,
|
|
156
|
+
//"font-style": italic,
|
|
157
|
+
//"font-weight": 400,
|
|
158
|
+
//"margin-bottom": $measure * 3,
|
|
159
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
160
|
+
//"padding-top": $measure*2,
|
|
161
|
+
//"text-align": right,
|
|
162
|
+
//"text-decoration": none,
|
|
163
|
+
//"text-decoration-color": #000000,
|
|
164
|
+
//"text-underline-position": under,
|
|
165
|
+
),
|
|
166
|
+
//"margin-bottom": $measure * 3,
|
|
167
|
+
//"max-height": 700px,
|
|
168
|
+
//"max-width": 100%,
|
|
169
|
+
//"min-height": 0,
|
|
170
|
+
//"min-width": 30px,
|
|
171
|
+
//"object-fit": cover,
|
|
172
|
+
//"object-position": center,
|
|
173
|
+
//"zoom-button-background-color": map.get($color-options, f),
|
|
174
|
+
//"zoom-button-border-radius": 4px,
|
|
175
|
+
//"zoom-button-bottom": 16px,
|
|
176
|
+
//"zoom-button-right": 16px,
|
|
177
|
+
),
|
|
178
|
+
$link-options: (
|
|
179
|
+
//"className": c--link-a,
|
|
180
|
+
),
|
|
181
|
+
$lists-options: (
|
|
182
|
+
//"first-level-artwork-background": map.get($color-options, i),
|
|
183
|
+
//"first-level-artwork-border-color": map.get($color-options, f),
|
|
184
|
+
//"first-level-artwork-border-radius": 50%,
|
|
185
|
+
//"first-level-artwork-border-width": 2px,
|
|
186
|
+
//"first-level-artwork-image": null,
|
|
187
|
+
//"first-level-artwork-top": 6px,
|
|
188
|
+
//"first-level-artwork-width": 10px,
|
|
189
|
+
//"first-level-number-color": map.get($color-options, f),
|
|
190
|
+
//"first-number-width": 14px,
|
|
191
|
+
"font-styles": (
|
|
192
|
+
//"bold-color": map.get($color-options, f),
|
|
193
|
+
//"bold-font-weight": 600,
|
|
194
|
+
//"className": f--font-e f--color-a,
|
|
195
|
+
//"color": red,
|
|
196
|
+
//"font-style": italic,
|
|
197
|
+
//"font-weight": 400,
|
|
198
|
+
//"margin-bottom": $measure,
|
|
199
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
200
|
+
//"padding-top": $measure,
|
|
201
|
+
//"text-align": left,
|
|
202
|
+
//"text-decoration": none,
|
|
203
|
+
//"text-decoration-color": #000000,
|
|
204
|
+
//"text-underline-position": under,
|
|
205
|
+
),
|
|
206
|
+
"number-font": (
|
|
207
|
+
//"bold-color": red,
|
|
208
|
+
//"bold-font-weight": 600,
|
|
209
|
+
//"className": f--font-e,
|
|
210
|
+
//"color": red,
|
|
211
|
+
//"font-style": italic,
|
|
212
|
+
//"font-weight": 600,
|
|
213
|
+
//"margin-bottom": $measure,
|
|
214
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
215
|
+
//"padding-top": $measure,
|
|
216
|
+
//"text-align": left,
|
|
217
|
+
//"text-decoration": none,
|
|
218
|
+
//"text-decoration-color": #000000,
|
|
219
|
+
//"text-underline-position": under,
|
|
220
|
+
),
|
|
221
|
+
//"second-level-artwork-background": null,
|
|
222
|
+
//"second-level-artwork-border-color": transparent,
|
|
223
|
+
//"second-level-artwork-border-radius": null,
|
|
224
|
+
//"second-level-artwork-border-width": null,
|
|
225
|
+
//"second-level-artwork-image": null,
|
|
226
|
+
//"second-level-artwork-top": null,
|
|
227
|
+
//"second-level-artwork-width": null,
|
|
228
|
+
//"second-level-number-color": map.get($color-options, g),
|
|
229
|
+
//"third-level-artwork-background": map.get($color-options, f),
|
|
230
|
+
//"third-level-artwork-border-color": null,
|
|
231
|
+
//"third-level-artwork-border-radius": null,
|
|
232
|
+
//"third-level-artwork-border-width": 2px,
|
|
233
|
+
//"third-level-artwork-image": null,
|
|
234
|
+
//"third-level-artwork-top": 8px,
|
|
235
|
+
//"third-level-artwork-width": 8px,
|
|
236
|
+
//"third-level-number-color": map.get($color-options, f),
|
|
237
|
+
//"margin-bottom": $measure * 3,
|
|
238
|
+
//"nested-list-spacing": $measure,
|
|
239
|
+
),
|
|
240
|
+
$paragraphs-options: (
|
|
241
|
+
//"bold-color": map.get($color-options, e),
|
|
242
|
+
//"bold-font-weight": 600,
|
|
243
|
+
//"className": f--font-e f--color-a,
|
|
244
|
+
//"color": red,
|
|
245
|
+
//"font-style": italic,
|
|
246
|
+
//"font-weight": 400,
|
|
247
|
+
//"margin-bottom": $measure * 3,
|
|
248
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
249
|
+
//"padding-top": $measure,
|
|
250
|
+
//"text-align": left,
|
|
251
|
+
//"text-decoration": none,
|
|
252
|
+
//"text-decoration-color": #000000,
|
|
253
|
+
//"text-underline-position": under,
|
|
254
|
+
),
|
|
255
|
+
$quote-options: (
|
|
256
|
+
//"background-color": color.adjust(map.get($color-options, e), $lightness: 50%),
|
|
257
|
+
//"margin-bottom": $measure * 5,
|
|
258
|
+
//"margin-top": $measure,
|
|
259
|
+
//"padding": $measure * 5,
|
|
260
|
+
"border": (
|
|
261
|
+
//"border-color": color.adjust(map.get($color-options, e), $lightness: 45%),
|
|
262
|
+
//"border-radius": $measure*2,
|
|
263
|
+
//"border-style": solid,
|
|
264
|
+
//"border-width": 2px 0,
|
|
265
|
+
),
|
|
266
|
+
"cite": (
|
|
267
|
+
//"bold-color": red,
|
|
268
|
+
//"bold-font-weight": 600,
|
|
269
|
+
//"className": f--font-f,
|
|
270
|
+
//"color": map.get($color-options, e),
|
|
271
|
+
//"font-weight": 400,
|
|
272
|
+
//"font-style": italic,
|
|
273
|
+
//"margin-bottom": $measure * 3,
|
|
274
|
+
//"padding-top": $measure * 2,
|
|
275
|
+
//"text-align": right,
|
|
276
|
+
//"text-decoration": none,
|
|
277
|
+
//"text-decoration-color": #000000,
|
|
278
|
+
//"text-underline-position": under,
|
|
279
|
+
),
|
|
280
|
+
"paragraph": (
|
|
281
|
+
//"bold-color": red,
|
|
282
|
+
//"bold-font-weight": 600,
|
|
283
|
+
//"className": f--font-d,
|
|
284
|
+
//"color": color.adjust(map.get($color-options, e), $lightness: -20%),
|
|
285
|
+
//"font-style": italic,
|
|
286
|
+
//"font-weight": 400,
|
|
287
|
+
//"margin-bottom": $measure * 3,
|
|
288
|
+
//"padding-top": $measure,
|
|
289
|
+
//"text-align": right,
|
|
290
|
+
//"text-decoration": none,
|
|
291
|
+
//"text-decoration-color": #000000,
|
|
292
|
+
//"text-underline-position": under,
|
|
293
|
+
),
|
|
294
|
+
),
|
|
295
|
+
$separator-options: (
|
|
296
|
+
//"color": color.adjust(map.get($color-options, e), $lightness: -10%),
|
|
297
|
+
//"height": 7px,
|
|
298
|
+
//"margin": $measure * 10 0,
|
|
299
|
+
//"width": 100%,
|
|
300
|
+
//"dots-color": map.get($color-options, h),
|
|
301
|
+
//"dots-size": 8rem,
|
|
302
|
+
//"dots-spacing": 1em,
|
|
303
|
+
),
|
|
304
|
+
$table-options: (
|
|
305
|
+
//"body-background": rgba(map.get($color-options, e), 0.3),
|
|
306
|
+
//"body-border-right": 1px solid map.get($color-options, e),
|
|
307
|
+
//"body-border-bottom": 1px solid map.get($color-options, e),
|
|
308
|
+
//"table-border": 3px solid map.get($color-options, e),
|
|
309
|
+
//"table-border-radius": $measure * 2,
|
|
310
|
+
//"scroll-breakpoint": 700px,
|
|
311
|
+
//"body-cells-padding": $measure $measure * 2,
|
|
312
|
+
//"odd-rows-background": rgba(map.get($color-options, e), 0.5),
|
|
313
|
+
//"odd-rows-text-color": map.get($color-options, i),
|
|
314
|
+
"body-font-styles": (
|
|
315
|
+
//"bold-color": map.get($color-options, h),
|
|
316
|
+
//"bold-font-weight": 600,
|
|
317
|
+
//"className": f--font-d,
|
|
318
|
+
//"color": red,
|
|
319
|
+
//"font-style": italic,
|
|
320
|
+
//"font-weight": 600,
|
|
321
|
+
//"margin-bottom": $measure * 3,
|
|
322
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
323
|
+
//"padding-top": $measure,
|
|
324
|
+
//"text-align": right,
|
|
325
|
+
//"text-decoration": none,
|
|
326
|
+
//"text-decoration-color": #000000,
|
|
327
|
+
//"text-underline-position": under,
|
|
328
|
+
),
|
|
329
|
+
//"header-background": rgba(map.get($color-options, e), 0.1),
|
|
330
|
+
//"header-border-right": 1px solid map.get($color-options, e),
|
|
331
|
+
//"header-border-bottom": 2px solid map.get($color-options, e),
|
|
332
|
+
//"header-cells-padding": $measure * 2,
|
|
333
|
+
"header-font-styles": (
|
|
334
|
+
//"bold-color": red,
|
|
335
|
+
//"bold-font-weight": 600,
|
|
336
|
+
//"className": f--font-d,
|
|
337
|
+
//"color": map.get($color-options, e),
|
|
338
|
+
//"font-style": italic,
|
|
339
|
+
//"font-weight": 600,
|
|
340
|
+
//"margin-bottom": $measure * 3,
|
|
341
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
342
|
+
//"padding-top": $measure,
|
|
343
|
+
//"text-align": center,
|
|
344
|
+
//"text-decoration": none,
|
|
345
|
+
//"text-decoration-color": #000000,
|
|
346
|
+
//"text-underline-position": under,
|
|
347
|
+
),
|
|
348
|
+
"caption": (
|
|
349
|
+
//"bold-color": map.get($color-options, h),
|
|
350
|
+
// "bold-font-weight": 600,
|
|
351
|
+
//"className": f--font-f,
|
|
352
|
+
// "color": map.get($color-options, a),
|
|
353
|
+
// "font-style": italic,
|
|
354
|
+
// "font-weight": 600,
|
|
355
|
+
// "margin-bottom": $measure,
|
|
356
|
+
// "margin-bottom-before-lists": $measure * 2,
|
|
357
|
+
//"padding-top": $measure,
|
|
358
|
+
// "text-align": right,
|
|
359
|
+
// "text-decoration": none,
|
|
360
|
+
// "text-decoration-color": #000000,
|
|
361
|
+
// "text-underline-position": under,
|
|
362
|
+
),
|
|
363
|
+
//"margin-bottom": $measure * 4,
|
|
364
|
+
|
|
365
|
+
),
|
|
366
|
+
$utilities-options: (
|
|
367
|
+
//"media-text-aligned-margin-x": 32px,
|
|
368
|
+
),
|
|
369
|
+
$video-options: (
|
|
370
|
+
//"border-color": map.get($color-options, e),
|
|
371
|
+
//"border-radius": $measure*2,
|
|
372
|
+
//"border-style": solid,
|
|
373
|
+
//"border-width": 4px,
|
|
374
|
+
"caption": (
|
|
375
|
+
//"bold-color": map.get($color-options, e),
|
|
376
|
+
//"bold-font-weight": 600,
|
|
377
|
+
//"className": f--font-f,
|
|
378
|
+
//"color": red,
|
|
379
|
+
//"font-style": italic,
|
|
380
|
+
//"font-weight": 400,
|
|
381
|
+
//"margin-bottom": $measure * 3,
|
|
382
|
+
//"margin-bottom-before-lists": $measure * 2,
|
|
383
|
+
|
|
384
|
+
//"padding-top": $measure*1.5,
|
|
385
|
+
//"text-align": right,
|
|
386
|
+
//"text-decoration": none,
|
|
387
|
+
//"text-decoration-color": #000000,
|
|
388
|
+
//"text-underline-position": under,
|
|
389
|
+
),
|
|
390
|
+
//"margin-bottom": $measure * 3,
|
|
391
|
+
//"max-height": 700px,
|
|
392
|
+
//"max-width": 100%,
|
|
393
|
+
//"min-height": 0,
|
|
394
|
+
//"min-width": 30px,
|
|
395
|
+
//"object-fit": cover,
|
|
396
|
+
//"object-position": center,
|
|
397
|
+
),
|
|
398
|
+
$custom-options: (
|
|
399
|
+
//".mi-selector": (
|
|
400
|
+
//"class": f--font-e f--color-f,
|
|
401
|
+
//"color": red,
|
|
402
|
+
// ),
|
|
403
|
+
//"parent": (
|
|
404
|
+
// "background": map.get($color-options, i),
|
|
405
|
+
// "padding": $measure * 2,
|
|
406
|
+
// ),
|
|
407
|
+
),
|
|
408
|
+
);
|
|
409
|
+
}
|
|
460
410
|
}
|