@total_onion/onion-library 3.0.49 → 3.1.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.
@@ -0,0 +1,744 @@
1
+ @use './breakpoints';
2
+ @use './core-functions-v3';
3
+ @use 'sass:math';
4
+
5
+ @mixin textStyle() {
6
+ font-weight: var(--font-weight, var(--default-font-weight));
7
+ text-align: var(--text-align);
8
+ text-transform: var(--text-transform);
9
+ color: var(--text-colour);
10
+ }
11
+
12
+ @mixin device($size: '768px', $type: 'min-width') {
13
+ // @container (min-width: #{$size}) {
14
+ // @content;
15
+ // }
16
+ @media screen and (#{$type}: #{$size}) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin defaultThemeTextColours() {
22
+ color: var(--default-text-colour-mobile, var(--theme-primary-text-colour));
23
+
24
+ @include device(breakpoints.$tabPortrait) {
25
+ color: var(
26
+ --default-text-colour-portrait,
27
+ var(--default-text-colour-desktop)
28
+ );
29
+ }
30
+
31
+ @include device(breakpoints.$tabLandscape) {
32
+ color: var(
33
+ --default-text-colour-desktop,
34
+ var(--theme-primary-text-colour)
35
+ );
36
+ }
37
+ }
38
+ @mixin defaultTextTransform() {
39
+ text-transform: var(--default-text-transform-mobile);
40
+
41
+ @include device(breakpoints.$tabPortrait) {
42
+ text-transform: var(
43
+ --default-text-transform-portrait,
44
+ var(--default-text-transform-desktop)
45
+ );
46
+ }
47
+
48
+ @include device(breakpoints.$tabLandscape) {
49
+ text-transform: var(--default-text-transform-desktop);
50
+ }
51
+ }
52
+ @mixin defaultTextAlign() {
53
+ text-align: var(--default-text-align-mobile);
54
+
55
+ @include device(breakpoints.$tabPortrait) {
56
+ text-align: var(
57
+ --default-text-align-portrait,
58
+ var(--default-text-align-desktop)
59
+ );
60
+ }
61
+
62
+ @include device(breakpoints.$tabLandscape) {
63
+ text-align: var(--default-text-align-desktop);
64
+ }
65
+ }
66
+ @mixin defaultFontWeight() {
67
+ font-weight: var(--default-font-weight-mobile, var(--default-font-weight));
68
+
69
+ @include device(breakpoints.$tabPortrait) {
70
+ font-weight: var(
71
+ --default-font-weight-portrait,
72
+ var(--default-font-weight)
73
+ );
74
+ }
75
+
76
+ @include device(breakpoints.$tabLandscape) {
77
+ font-weight: var(
78
+ --default-font-weight-desktop,
79
+ var(--default-font-weight)
80
+ );
81
+ }
82
+ }
83
+
84
+ @mixin defaultFontStyle() {
85
+ font-style: var(--default-font-style-mobile);
86
+
87
+ @include device(breakpoints.$tabPortrait) {
88
+ font-style: var(
89
+ --default-font-style-portrait,
90
+ var(--default-font-style-desktop)
91
+ );
92
+ }
93
+
94
+ @include device(breakpoints.$tabLandscape) {
95
+ font-style: var(--default-font-style-desktop);
96
+ }
97
+ }
98
+
99
+ @mixin contentMaxWidth() {
100
+ @include device(breakpoints.$tabLandscape) {
101
+ max-width: var(--global-content-max-width);
102
+ margin-left: auto;
103
+ margin-right: auto;
104
+ }
105
+ }
106
+
107
+ @mixin responsiveShowHide($defaultDisplay: block) {
108
+ display: var(--display-mobile, $defaultDisplay);
109
+
110
+ @include device(breakpoints.$tabPortrait) {
111
+ display: var(--display-portrait, $defaultDisplay);
112
+ }
113
+
114
+ @include device(breakpoints.$tabLandscape) {
115
+ display: var(--display-desktop, $defaultDisplay);
116
+ }
117
+ }
118
+
119
+ @mixin lockPosition() {
120
+ overflow: hidden;
121
+ touch-action: none;
122
+ -webkit-overflow-scrolling: none;
123
+ overscroll-behavior: none;
124
+ }
125
+
126
+ @mixin contentImage() {
127
+ place-self: var(--image-position-vertical) var(--image-position-horizontal);
128
+ width: 100%;
129
+ translate: var(--image-position-offset-horizontal)
130
+ var(--image-position-offset-vertical);
131
+ rotate: var(--image-rotation);
132
+ z-index: -1;
133
+ border-radius: var(--content-image-border-radius);
134
+ max-width: core-functions-v3.fluidSize(
135
+ var(--image-max-width-mobile),
136
+ 'portrait'
137
+ );
138
+
139
+ @include device(breakpoints.$tabPortrait) {
140
+ max-width: core-functions-v3.fluidSize(
141
+ var(--image-max-width-portrait),
142
+ 'portrait'
143
+ );
144
+ }
145
+
146
+ @include device(breakpoints.$tabLandscape) {
147
+ max-width: core-functions-v3.fluidSize(
148
+ var(--image-max-width-landscape),
149
+ 'landscape'
150
+ );
151
+ }
152
+
153
+ @include device(breakpoints.$desktop) {
154
+ max-width: core-functions-v3.fluidSize(
155
+ var(--image-max-width-desktop),
156
+ 'desktop'
157
+ );
158
+ }
159
+ }
160
+
161
+ @mixin boxShadow() {
162
+ box-shadow: core-functions-v3.fluidSize(
163
+ var(--box-shadow-offset-x),
164
+ 'static'
165
+ )
166
+ core-functions-v3.fluidSize(var(--box-shadow-offset-y), 'static')
167
+ core-functions-v3.fluidSize(var(--box-shadow-blur), 'static')
168
+ core-functions-v3.fluidSize(var(--box-shadow-spread), 'static')
169
+ var(--box-shadow-colour) var(--box-shadow-position);
170
+ &:hover {
171
+ box-shadow: core-functions-v3.fluidSize(
172
+ var(--box-shadow-hover-offset-x),
173
+ 'static'
174
+ )
175
+ core-functions-v3.fluidSize(
176
+ var(--box-shadow-hover-offset-y),
177
+ 'static'
178
+ )
179
+ core-functions-v3.fluidSize(var(--box-shadow-hover-blur), 'static')
180
+ core-functions-v3.fluidSize(
181
+ var(--box-shadow-hover-spread),
182
+ 'static'
183
+ )
184
+ var(--box-shadow-hover-colour) var(--box-shadow-hover-position);
185
+ }
186
+ }
187
+
188
+ @mixin textShadow() {
189
+ text-shadow: core-functions-v3.fluidSize(
190
+ var(--text-shadow-offset-x),
191
+ 'static'
192
+ )
193
+ core-functions-v3.fluidSize(var(--text-shadow-offset-y), 'static')
194
+ core-functions-v3.fluidSize(var(--text-shadow-blur), 'static')
195
+ var(--text-shadow-colour);
196
+ }
197
+
198
+ //Typography Mixins
199
+ // @mixin h1-l {
200
+ // letter-spacing: var(--h1-l-letter-spacing);
201
+ // line-height: var(--h1-l-line-height);
202
+ // font-family: var(--h1-l-font-family);
203
+ // --default-font-weight: var(--h1-l-default-font-weight);
204
+ // font-weight: var(--default-font-weight);
205
+
206
+ // strong,
207
+ // b {
208
+ // font-weight: var(--h1-l-bold-font-weight);
209
+ // }
210
+
211
+ // font-size: clamp(
212
+ // var(--h-xl-font-size-min-mobile, 10px),
213
+ // core-functions-v3.fontSize(var(--h1-l-mobile), 'mobile'),
214
+ // var(--h-xl-font-size-max-mobile, 180px)
215
+ // );
216
+
217
+ // @include device(breakpoints.$tabPortrait) {
218
+ // font-size: clamp(
219
+ // var(--h-xl-font-size-min-mobile, 10px),
220
+ // core-functions-v3.fontSize(var(--h1-l-portrait), 'portrait'),
221
+ // var(--h-xl-font-size-max-mobile, 180px)
222
+ // );
223
+ // }
224
+
225
+ // @include device(breakpoints.$tabLandscape) {
226
+ // font-size: clamp(
227
+ // var(--h-xl-font-size-min-desktop, 10px),
228
+ // core-functions-v3.fontSize(var(--h1-l-landscape), 'landscape'),
229
+ // var(--h-xl-font-size-max-desktop, 180px)
230
+ // );
231
+ // }
232
+
233
+ // @include device(breakpoints.$desktop) {
234
+ // font-size: clamp(
235
+ // var(--h-xl-font-size-min-desktop, 10px),
236
+ // core-functions-v3.fontSize(var(--h1-l-desktop), 'desktop'),
237
+ // var(--h-xl-font-size-max-desktop, 180px)
238
+ // );
239
+ // }
240
+ // }
241
+ // @mixin h1 {
242
+ // letter-spacing: var(--h1-letter-spacing);
243
+ // line-height: var(--h1-line-height);
244
+ // font-family: var(--h1-font-family);
245
+ // --default-font-weight: var(--h1-default-font-weight);
246
+ // font-weight: var(--default-font-weight);
247
+
248
+ // strong,
249
+ // b {
250
+ // font-weight: var(--h1-bold-font-weight);
251
+ // }
252
+
253
+ // font-size: clamp(
254
+ // var(--h-l-font-size-min-mobile, 10px),
255
+ // core-functions-v3.fontSize(var(--h1-mobile), 'mobile'),
256
+ // var(--h-l-font-size-max-mobile, 180px)
257
+ // );
258
+
259
+ // @include device(breakpoints.$tabPortrait) {
260
+ // font-size: clamp(
261
+ // var(--h-l-font-size-min-mobile, 10px),
262
+ // core-functions-v3.fontSize(var(--h1-portrait), 'portrait'),
263
+ // var(--h-l-font-size-max-mobile, 180px)
264
+ // );
265
+ // }
266
+
267
+ // @include device(breakpoints.$tabLandscape) {
268
+ // font-size: clamp(
269
+ // var(--h-l-font-size-min-desktop, 10px),
270
+ // core-functions-v3.fontSize(var(--h1-landscape), 'landscape'),
271
+ // var(--h-l-font-size-max-desktop, 180px)
272
+ // );
273
+ // }
274
+
275
+ // @include device(breakpoints.$desktop) {
276
+ // font-size: clamp(
277
+ // var(--h-l-font-size-min-desktop, 10px),
278
+ // core-functions-v3.fontSize(var(--h1-desktop), 'desktop'),
279
+ // var(--h-l-font-size-max-desktop, 180px)
280
+ // );
281
+ // }
282
+ // }
283
+ // @mixin h2 {
284
+ // letter-spacing: var(--h2-letter-spacing);
285
+ // line-height: var(--h2-line-height);
286
+ // font-family: var(--h2-font-family);
287
+ // --default-font-weight: var(--h2-default-font-weight);
288
+ // font-weight: var(--default-font-weight);
289
+
290
+ // strong,
291
+ // b {
292
+ // font-weight: var(--h2-bold-font-weight);
293
+ // }
294
+
295
+ // font-size: clamp(
296
+ // var(--h-m-font-size-min-mobile, 10px),
297
+ // core-functions-v3.fontSize(var(--h2-mobile), 'mobile'),
298
+ // var(--h-m-font-size-max-mobile, 180px)
299
+ // );
300
+
301
+ // @include device(breakpoints.$tabPortrait) {
302
+ // font-size: clamp(
303
+ // var(--h-m-font-size-min-mobile, 10px),
304
+ // core-functions-v3.fontSize(var(--h2-portrait), 'portrait'),
305
+ // var(--h-m-font-size-max-mobile, 180px)
306
+ // );
307
+ // }
308
+
309
+ // @include device(breakpoints.$tabLandscape) {
310
+ // font-size: clamp(
311
+ // var(--h-m-font-size-min-desktop, 10px),
312
+ // core-functions-v3.fontSize(var(--h2-landscape), 'landscape'),
313
+ // var(--h-m-font-size-max-desktop, 180px)
314
+ // );
315
+ // }
316
+
317
+ // @include device(breakpoints.$desktop) {
318
+ // font-size: clamp(
319
+ // var(--h-m-font-size-min-desktop, 10px),
320
+ // core-functions-v3.fontSize(var(--h2-desktop), 'desktop'),
321
+ // var(--h-m-font-size-max-desktop, 180px)
322
+ // );
323
+ // }
324
+ // }
325
+ // @mixin h3 {
326
+ // letter-spacing: var(--h3-letter-spacing);
327
+ // line-height: var(--h3-line-height);
328
+ // font-family: var(--h3-font-family);
329
+ // --default-font-weight: var(--h3-default-font-weight);
330
+ // font-weight: var(--default-font-weight);
331
+
332
+ // strong,
333
+ // b {
334
+ // font-weight: var(--h3-bold-font-weight);
335
+ // }
336
+
337
+ // font-size: clamp(
338
+ // var(--h-s-font-size-min-mobile, 10px),
339
+ // core-functions-v3.fontSize(var(--h3-mobile), 'mobile'),
340
+ // var(--h-s-font-size-max-mobile, 180px)
341
+ // );
342
+
343
+ // @include device(breakpoints.$tabPortrait) {
344
+ // font-size: clamp(
345
+ // var(--h-s-font-size-min-mobile, 10px),
346
+ // core-functions-v3.fontSize(var(--h3-portrait), 'portrait'),
347
+ // var(--h-s-font-size-max-mobile, 180px)
348
+ // );
349
+ // }
350
+
351
+ // @include device(breakpoints.$tabLandscape) {
352
+ // font-size: clamp(
353
+ // var(--h-s-font-size-min-desktop, 10px),
354
+ // core-functions-v3.fontSize(var(--h3-landscape), 'landscape'),
355
+ // var(--h-s-font-size-max-desktop, 180px)
356
+ // );
357
+ // }
358
+
359
+ // @include device(breakpoints.$desktop) {
360
+ // font-size: clamp(
361
+ // var(--h-s-font-size-min-desktop, 10px),
362
+ // core-functions-v3.fontSize(var(--h3-desktop), 'desktop'),
363
+ // var(--h-s-font-size-max-desktop, 180px)
364
+ // );
365
+ // }
366
+ // }
367
+ // @mixin h4 {
368
+ // letter-spacing: var(--h4-letter-spacing);
369
+ // line-height: var(--h4-line-height);
370
+ // font-family: var(--h4-font-family);
371
+ // --default-font-weight: var(--h4-default-font-weight);
372
+ // font-weight: var(--default-font-weight);
373
+
374
+ // strong,
375
+ // b {
376
+ // font-weight: var(--h4-bold-font-weight);
377
+ // }
378
+
379
+ // font-size: clamp(
380
+ // var(--h-xs-font-size-min-mobile, 10px),
381
+ // core-functions-v3.fontSize(var(--h4-mobile), 'mobile'),
382
+ // var(--h-xs-font-size-max-mobile, 180px)
383
+ // );
384
+
385
+ // @include device(breakpoints.$tabPortrait) {
386
+ // font-size: clamp(
387
+ // var(--h-xs-font-size-min-mobile, 10px),
388
+ // core-functions-v3.fontSize(var(--h4-portrait), 'portrait'),
389
+ // var(--h-xs-font-size-max-mobile, 180px)
390
+ // );
391
+ // }
392
+
393
+ // @include device(breakpoints.$tabLandscape) {
394
+ // font-size: clamp(
395
+ // var(--h-xs-font-size-min-desktop, 10px),
396
+ // core-functions-v3.fontSize(var(--h4-landscape), 'landscape'),
397
+ // var(--h-xs-font-size-max-desktop, 180px)
398
+ // );
399
+ // }
400
+
401
+ // @include device(breakpoints.$desktop) {
402
+ // font-size: clamp(
403
+ // var(--h-xs-font-size-min-desktop, 10px),
404
+ // core-functions-v3.fontSize(var(--h4-desktop), 'desktop'),
405
+ // var(--h-xs-font-size-max-desktop, 180px)
406
+ // );
407
+ // }
408
+ // }
409
+ // @mixin h5 {
410
+ // letter-spacing: var(--h5-letter-spacing);
411
+ // line-height: var(--h5-line-height);
412
+ // font-family: var(--h5-font-family);
413
+ // --default-font-weight: var(--h5-default-font-weight);
414
+ // font-weight: var(--default-font-weight);
415
+
416
+ // strong,
417
+ // b {
418
+ // font-weight: var(--h5-bold-font-weight);
419
+ // }
420
+
421
+ // font-size: clamp(
422
+ // var(--h-xxs-font-size-min-mobile, 10px),
423
+ // core-functions-v3.fontSize(var(--h5-mobile), 'mobile'),
424
+ // var(--h-xxs-font-size-max-mobile, 180px)
425
+ // );
426
+
427
+ // @include device(breakpoints.$tabPortrait) {
428
+ // font-size: clamp(
429
+ // var(--h-xxs-font-size-min-mobile, 10px),
430
+ // core-functions-v3.fontSize(var(--h5-portrait), 'portrait'),
431
+ // var(--h-xxs-font-size-max-mobile, 180px)
432
+ // );
433
+ // }
434
+
435
+ // @include device(breakpoints.$tabLandscape) {
436
+ // font-size: clamp(
437
+ // var(--h-xxs-font-size-min-desktop, 10px),
438
+ // core-functions-v3.fontSize(var(--h5-landscape), 'landscape'),
439
+ // var(--h-xxs-font-size-max-desktop, 180px)
440
+ // );
441
+ // }
442
+
443
+ // @include device(breakpoints.$desktop) {
444
+ // font-size: clamp(
445
+ // var(--h-xxs-font-size-min-desktop, 10px),
446
+ // core-functions-v3.fontSize(var(--h5-desktop), 'desktop'),
447
+ // var(--h-xxs-font-size-max-desktop, 180px)
448
+ // );
449
+ // }
450
+ // }
451
+ // @mixin h6 {
452
+ // letter-spacing: var(--h6-letter-spacing);
453
+ // line-height: var(--h6-line-height);
454
+ // font-family: var(--h6-font-family);
455
+ // --default-font-weight: var(--h6-default-font-weight);
456
+ // font-weight: var(--default-font-weight);
457
+
458
+ // strong,
459
+ // b {
460
+ // font-weight: var(--h6-bold-font-weight);
461
+ // }
462
+
463
+ // font-size: clamp(
464
+ // var(--h-xxxs-font-size-min-mobile, 10px),
465
+ // core-functions-v3.fontSize(var(--h6-mobile), 'mobile'),
466
+ // var(--h-xxxs-font-size-max-mobile, 180px)
467
+ // );
468
+
469
+ // @include device(breakpoints.$tabPortrait) {
470
+ // font-size: clamp(
471
+ // var(--h-xxxs-font-size-min-mobile, 10px),
472
+ // core-functions-v3.fontSize(var(--h6-portrait), 'portrait'),
473
+ // var(--h-xxxs-font-size-max-mobile, 180px)
474
+ // );
475
+ // }
476
+
477
+ // @include device(breakpoints.$tabLandscape) {
478
+ // font-size: clamp(
479
+ // var(--h-xxxs-font-size-min-desktop, 10px),
480
+ // core-functions-v3.fontSize(var(--h6-landscape), 'landscape'),
481
+ // var(--h-xxxs-font-size-max-desktop, 180px)
482
+ // );
483
+ // }
484
+
485
+ // @include device(breakpoints.$desktop) {
486
+ // font-size: clamp(
487
+ // var(--h-xxxs-font-size-min-desktop, 10px),
488
+ // core-functions-v3.fontSize(var(--h6-desktop), 'desktop'),
489
+ // var(--h-xxxs-font-size-max-desktop, 180px)
490
+ // );
491
+ // }
492
+ // }
493
+ // @mixin sh1 {
494
+ // letter-spacing: var(--sh1-letter-spacing);
495
+ // line-height: var(--sh1-line-height);
496
+ // font-family: var(--sh1-font-family);
497
+ // --default-font-weight: var(--sh1-default-font-weight);
498
+ // font-weight: var(--default-font-weight);
499
+
500
+ // strong,
501
+ // b {
502
+ // font-weight: var(--sh1-bold-font-weight);
503
+ // }
504
+
505
+ // font-size: clamp(
506
+ // var(--sh-xl-font-size-min-mobile, 10px),
507
+ // core-functions-v3.fontSize(var(--sh1-mobile), 'mobile'),
508
+ // var(--sh-xl-font-size-max-mobile, 180px)
509
+ // );
510
+
511
+ // @include device(breakpoints.$tabPortrait) {
512
+ // font-size: clamp(
513
+ // var(--sh-xl-font-size-min-mobile, 10px),
514
+ // core-functions-v3.fontSize(var(--sh1-portrait), 'portrait'),
515
+ // var(--sh-xl-font-size-max-mobile, 180px)
516
+ // );
517
+ // }
518
+
519
+ // @include device(breakpoints.$tabLandscape) {
520
+ // font-size: clamp(
521
+ // var(--sh-xl-font-size-min-desktop, 10px),
522
+ // core-functions-v3.fontSize(var(--sh1-landscape), 'landscape'),
523
+ // var(--sh-xl-font-size-max-desktop, 180px)
524
+ // );
525
+ // }
526
+
527
+ // @include device(breakpoints.$desktop) {
528
+ // font-size: clamp(
529
+ // var(--sh-xl-font-size-min-desktop, 10px),
530
+ // core-functions-v3.fontSize(var(--sh1-desktop), 'desktop'),
531
+ // var(--sh-xl-font-size-max-desktop, 180px)
532
+ // );
533
+ // }
534
+ // }
535
+ // @mixin sh2 {
536
+ // letter-spacing: var(--sh2-letter-spacing);
537
+ // line-height: var(--sh2-line-height);
538
+ // font-family: var(--sh2-font-family);
539
+ // --default-font-weight: var(--sh2-default-font-weight);
540
+ // font-weight: var(--default-font-weight);
541
+
542
+ // strong,
543
+ // b {
544
+ // font-weight: var(--sh2-bold-font-weight);
545
+ // }
546
+
547
+ // font-size: clamp(
548
+ // var(--sh-l-font-size-min-mobile, 10px),
549
+ // core-functions-v3.fontSize(var(--sh2-mobile), 'mobile'),
550
+ // var(--sh-l-font-size-max-mobile, 180px)
551
+ // );
552
+
553
+ // @include device(breakpoints.$tabPortrait) {
554
+ // font-size: clamp(
555
+ // var(--sh-l-font-size-min-mobile, 10px),
556
+ // core-functions-v3.fontSize(var(--sh2-portrait), 'portrait'),
557
+ // var(--sh-l-font-size-max-mobile, 180px)
558
+ // );
559
+ // }
560
+
561
+ // @include device(breakpoints.$tabLandscape) {
562
+ // font-size: clamp(
563
+ // var(--sh-l-font-size-min-desktop, 10px),
564
+ // core-functions-v3.fontSize(var(--sh2-landscape), 'landscape'),
565
+ // var(--sh-l-font-size-max-desktop, 180px)
566
+ // );
567
+ // }
568
+
569
+ // @include device(breakpoints.$desktop) {
570
+ // font-size: clamp(
571
+ // var(--sh-l-font-size-min-desktop, 10px),
572
+ // core-functions-v3.fontSize(var(--sh2-desktop), 'desktop'),
573
+ // var(--sh-l-font-size-max-desktop, 180px)
574
+ // );
575
+ // }
576
+ // }
577
+ // @mixin sh3 {
578
+ // letter-spacing: var(--sh3-letter-spacing);
579
+ // line-height: var(--sh3-line-height);
580
+ // font-family: var(--sh3-font-family);
581
+ // --default-font-weight: var(--sh3-default-font-weight);
582
+ // font-weight: var(--default-font-weight);
583
+
584
+ // strong,
585
+ // b {
586
+ // font-weight: var(--sh3-bold-font-weight);
587
+ // }
588
+
589
+ // font-size: clamp(
590
+ // var(--sh-m-font-size-min-mobile, 10px),
591
+ // core-functions-v3.fontSize(var(--sh3-mobile), 'mobile'),
592
+ // var(--sh-m-font-size-max-mobile, 180px)
593
+ // );
594
+
595
+ // @include device(breakpoints.$tabPortrait) {
596
+ // font-size: clamp(
597
+ // var(--sh-m-font-size-min-mobile, 10px),
598
+ // core-functions-v3.fontSize(var(--sh3-portrait), 'portrait'),
599
+ // var(--sh-m-font-size-max-mobile, 180px)
600
+ // );
601
+ // }
602
+
603
+ // @include device(breakpoints.$tabLandscape) {
604
+ // font-size: clamp(
605
+ // var(--sh-m-font-size-min-desktop, 10px),
606
+ // core-functions-v3.fontSize(var(--sh3-landscape), 'landscape'),
607
+ // var(--sh-m-font-size-max-desktop, 180px)
608
+ // );
609
+ // }
610
+
611
+ // @include device(breakpoints.$desktop) {
612
+ // font-size: clamp(
613
+ // var(--sh-m-font-size-min-desktop, 10px),
614
+ // core-functions-v3.fontSize(var(--sh3-desktop), 'desktop'),
615
+ // var(--sh-m-font-size-max-desktop, 180px)
616
+ // );
617
+ // }
618
+ // }
619
+ // @mixin sh4 {
620
+ // letter-spacing: var(--sh4-letter-spacing);
621
+ // line-height: var(--sh4-line-height);
622
+ // font-family: var(--sh4-font-family);
623
+ // --default-font-weight: var(--sh4-default-font-weight);
624
+ // font-weight: var(--default-font-weight);
625
+
626
+ // strong,
627
+ // b {
628
+ // font-weight: var(--sh4-bold-font-weight);
629
+ // }
630
+
631
+ // font-size: clamp(
632
+ // var(--sh-s-font-size-min-mobile, 10px),
633
+ // core-functions-v3.fontSize(var(--sh4-mobile), 'mobile'),
634
+ // var(--sh-s-font-size-max-mobile, 180px)
635
+ // );
636
+
637
+ // @include device(breakpoints.$tabPortrait) {
638
+ // font-size: clamp(
639
+ // var(--sh-s-font-size-min-mobile, 10px),
640
+ // core-functions-v3.fontSize(var(--sh4-portrait), 'portrait'),
641
+ // var(--sh-s-font-size-max-mobile, 180px)
642
+ // );
643
+ // }
644
+
645
+ // @include device(breakpoints.$tabLandscape) {
646
+ // font-size: clamp(
647
+ // var(--sh-s-font-size-min-desktop, 10px),
648
+ // core-functions-v3.fontSize(var(--sh4-landscape), 'landscape'),
649
+ // var(--sh-s-font-size-max-desktop, 180px)
650
+ // );
651
+ // }
652
+
653
+ // @include device(breakpoints.$desktop) {
654
+ // font-size: clamp(
655
+ // var(--sh-s-font-size-min-desktop, 10px),
656
+ // core-functions-v3.fontSize(var(--sh4-desktop), 'desktop'),
657
+ // var(--sh-s-font-size-max-desktop, 180px)
658
+ // );
659
+ // }
660
+ // }
661
+ // @mixin sh5 {
662
+ // letter-spacing: var(--sh5-letter-spacing);
663
+ // line-height: var(--sh5-line-height);
664
+ // font-family: var(--sh5-font-family);
665
+ // --default-font-weight: var(--sh5-default-font-weight);
666
+ // font-weight: var(--default-font-weight);
667
+
668
+ // strong,
669
+ // b {
670
+ // font-weight: var(--sh5-bold-font-weight);
671
+ // }
672
+
673
+ // font-size: clamp(
674
+ // var(--sh-xs-font-size-min-mobile, 10px),
675
+ // core-functions-v3.fontSize(var(--sh5-mobile), 'mobile'),
676
+ // var(--sh-xs-font-size-max-mobile, 180px)
677
+ // );
678
+
679
+ // @include device(breakpoints.$tabPortrait) {
680
+ // font-size: clamp(
681
+ // var(--sh-xs-font-size-min-mobile, 10px),
682
+ // core-functions-v3.fontSize(var(--sh5-portrait), 'portrait'),
683
+ // var(--sh-xs-font-size-max-mobile, 180px)
684
+ // );
685
+ // }
686
+
687
+ // @include device(breakpoints.$tabLandscape) {
688
+ // font-size: clamp(
689
+ // var(--sh-xs-font-size-min-desktop, 10px),
690
+ // core-functions-v3.fontSize(var(--sh5-landscape), 'landscape'),
691
+ // var(--sh-xs-font-size-max-desktop, 180px)
692
+ // );
693
+ // }
694
+
695
+ // @include device(breakpoints.$desktop) {
696
+ // font-size: clamp(
697
+ // var(--sh-xs-font-size-min-desktop, 10px),
698
+ // core-functions-v3.fontSize(var(--sh5-desktop), 'desktop'),
699
+ // var(--sh-xs-font-size-max-desktop, 180px)
700
+ // );
701
+ // }
702
+ // }
703
+ // @mixin sh6 {
704
+ // letter-spacing: var(--sh6-letter-spacing);
705
+ // line-height: var(--sh6-line-height);
706
+ // font-family: var(--sh6-font-family);
707
+ // --default-font-weight: var(--sh6-default-font-weight);
708
+ // font-weight: var(--default-font-weight);
709
+
710
+ // strong,
711
+ // b {
712
+ // font-weight: var(--sh6-bold-font-weight);
713
+ // }
714
+
715
+ // font-size: clamp(
716
+ // var(--sh-xxs-font-size-min-mobile, 10px),
717
+ // core-functions-v3.fontSize(var(--sh6-mobile), 'mobile'),
718
+ // var(--sh-xxs-font-size-max-mobile, 180px)
719
+ // );
720
+
721
+ // @include device(breakpoints.$tabPortrait) {
722
+ // font-size: clamp(
723
+ // var(--sh-xxs-font-size-min-mobile, 10px),
724
+ // core-functions-v3.fontSize(var(--sh6-portrait), 'portrait'),
725
+ // var(--sh-xxs-font-size-max-mobile, 180px)
726
+ // );
727
+ // }
728
+
729
+ // @include device(breakpoints.$tabLandscape) {
730
+ // font-size: clamp(
731
+ // var(--sh-xxs-font-size-min-desktop, 10px),
732
+ // core-functions-v3.fontSize(var(--sh6-landscape), 'landscape'),
733
+ // var(--sh-xxs-font-size-max-desktop, 180px)
734
+ // );
735
+ // }
736
+
737
+ // @include device(breakpoints.$desktop) {
738
+ // font-size: clamp(
739
+ // var(--sh-xxs-font-size-min-desktop, 10px),
740
+ // core-functions-v3.fontSize(var(--sh6-desktop), 'desktop'),
741
+ // var(--sh-xxs-font-size-max-desktop, 180px)
742
+ // );
743
+ // }
744
+ // }