@muraldevkit/ds-foundation 2.25.0 → 2.27.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/dist/foundation.css +139 -124
- package/dist/foundation.css.map +1 -1
- package/dist/foundation.min.css +1 -1
- package/dist/foundation.min.css.map +1 -1
- package/dist/tokens/contextual-variables/border.json +6 -6
- package/dist/tokens/contextual-variables/color.json +48 -116
- package/dist/tokens/contextual-variables/typography.json +19 -16
- package/dist/tokens/global-variables/typography.json +5 -5
- package/package.json +1 -1
- package/src/styles/_tokens.scss +165 -139
package/src/styles/_tokens.scss
CHANGED
|
@@ -230,17 +230,17 @@
|
|
|
230
230
|
--mrl-letter-spacing-03: 0%; /** Letter spacing token. */
|
|
231
231
|
--mrl-letter-spacing-04: 1%; /** Letter spacing token. */
|
|
232
232
|
--mrl-letter-spacing-05: 2%; /** Letter spacing token. */
|
|
233
|
-
--mrl-font-weight-01: 400; /** Font weight token. */
|
|
234
|
-
--mrl-font-weight-02: 500; /** Font weight token. */
|
|
235
|
-
--mrl-font-weight-03: 600; /** Font weight token. */
|
|
236
|
-
--mrl-font-weight-04: 700; /** Font weight token. */
|
|
237
|
-
--mrl-font-weight-05: 800; /** Font weight token. */
|
|
233
|
+
--mrl-font-weight-01: 400; /** Regular. Font weight token. */
|
|
234
|
+
--mrl-font-weight-02: 500; /** Medium. Font weight token. */
|
|
235
|
+
--mrl-font-weight-03: 600; /** Semi-bold. Font weight token. */
|
|
236
|
+
--mrl-font-weight-04: 700; /** Bold. Font weight token. */
|
|
237
|
+
--mrl-font-weight-05: 800; /** Extra-bold. Font weight token. */
|
|
238
238
|
--mrl-line-width-border-fine: 1px; /** Fine border width. No global stroke token for 1px, so this is hard-coded. */
|
|
239
239
|
--mrl-color-background-page: rgb(
|
|
240
240
|
243,
|
|
241
241
|
245,
|
|
242
242
|
246
|
|
243
|
-
); /**
|
|
243
|
+
); /** This is an intentional one-off contextual token that does not use our standard color scales. It should only be used as the background color for non-canvas pages. */
|
|
244
244
|
|
|
245
245
|
--mrl-space-offset-focus: 1px; /** Focus ring offset. No global spacing token for 1px, so this is hard-coded. */
|
|
246
246
|
--mrl-space-inset-control-small: calc(
|
|
@@ -262,20 +262,32 @@
|
|
|
262
262
|
--mrl-line-width-focus: var(--mrl-stroke-01); /** Focus ring width. */
|
|
263
263
|
--mrl-line-width-control: var(--mrl-stroke-01); /** Border width for controls. */
|
|
264
264
|
--mrl-line-width-divider: var(--mrl-stroke-01); /** Width for divider lines. */
|
|
265
|
-
--mrl-border-radius-tight: var(
|
|
266
|
-
|
|
265
|
+
--mrl-border-radius-tight: var(
|
|
266
|
+
--mrl-radii-01
|
|
267
|
+
); /** When the content has tight spacing considerations. */
|
|
268
|
+
|
|
269
|
+
--mrl-border-radius-content: var(--mrl-radii-02); /** For elements that are static content. */
|
|
267
270
|
--mrl-border-radius-content-large: var(--mrl-radii-03); /** Large content corner radius. */
|
|
268
|
-
--mrl-border-radius-functional: var(
|
|
271
|
+
--mrl-border-radius-functional: var(
|
|
272
|
+
--mrl-radii-03
|
|
273
|
+
); /** For interactive elements. If a component can be both static and functional (e.g., Avatars), use the functional token over the "Content" token. */
|
|
274
|
+
|
|
269
275
|
--mrl-border-radius-functional-large: var(
|
|
270
276
|
--mrl-radii-04
|
|
271
277
|
); /** Large corner radius for functional elements. */
|
|
272
278
|
|
|
273
|
-
--mrl-border-radius-container: var(
|
|
279
|
+
--mrl-border-radius-container: var(
|
|
280
|
+
--mrl-radii-04
|
|
281
|
+
); /** For components/elements that are shells, meaning that the element itself doesn't typically know or care what the child elements are and simply provide a bounding element, for example, drawers, popovers, etc. */
|
|
282
|
+
|
|
274
283
|
--mrl-border-radius-container-large: var(
|
|
275
284
|
--mrl-radii-05
|
|
276
|
-
); /**
|
|
285
|
+
); /** For components/elements that are large, shell containers (e.g., modals or other near full-page elements). */
|
|
286
|
+
|
|
287
|
+
--mrl-border-radius-rounded: var(
|
|
288
|
+
--mrl-radii-07
|
|
289
|
+
); /** For components/elements that intentionally have an overly rounded appearance. Special note for elements that are pure circles (e.g. spinner, radio button, etc.), in these cases use a component token overwrite to make it 100% rounded. */
|
|
277
290
|
|
|
278
|
-
--mrl-border-radius-rounded: var(--mrl-radii-07); /** Rounded corner radius. */
|
|
279
291
|
--mrl-border-radius-rounded-large: var(--mrl-radii-08); /** Large rounded corner radius. */
|
|
280
292
|
--mrl-color-focus: rgba(var(--mrl-blue-70), 1); /** Focus ring on interactive elements. */
|
|
281
293
|
--mrl-color-focus-inverse: rgba(
|
|
@@ -327,47 +339,47 @@
|
|
|
327
339
|
--mrl-color-background-info: rgba(
|
|
328
340
|
var(--mrl-status-info),
|
|
329
341
|
1
|
|
330
|
-
); /**
|
|
342
|
+
); /** Use for all use cases where we denote a status and there is a colored background. Use --mrl-color-text-inverse with these background colors. */
|
|
331
343
|
|
|
332
344
|
--mrl-color-background-info-light: rgba(
|
|
333
345
|
var(--mrl-status-info-light),
|
|
334
346
|
1
|
|
335
|
-
); /**
|
|
347
|
+
); /** Use for background of inline block notifications and badges. */
|
|
336
348
|
|
|
337
349
|
--mrl-color-background-success: rgba(
|
|
338
350
|
var(--mrl-status-success),
|
|
339
351
|
1
|
|
340
|
-
); /**
|
|
352
|
+
); /** Use for all use cases where we denote a status and there is a colored background. Use --mrl-color-text-inverse with these background colors. */
|
|
341
353
|
|
|
342
354
|
--mrl-color-background-success-light: rgba(
|
|
343
355
|
var(--mrl-status-success-light),
|
|
344
356
|
1
|
|
345
|
-
); /**
|
|
357
|
+
); /** Use for background of inline block notifications and badges. */
|
|
346
358
|
|
|
347
359
|
--mrl-color-background-warning: rgba(
|
|
348
360
|
var(--mrl-status-warning),
|
|
349
361
|
1
|
|
350
|
-
); /**
|
|
362
|
+
); /** Use for all use cases where we denote a status and there is a colored background. Use --mrl-color-text-inverse with these background colors. */
|
|
351
363
|
|
|
352
364
|
--mrl-color-background-warning-light: rgba(
|
|
353
365
|
var(--mrl-status-warning-light),
|
|
354
366
|
1
|
|
355
|
-
); /**
|
|
367
|
+
); /** Use for background of inline block notifications and badges. */
|
|
356
368
|
|
|
357
369
|
--mrl-color-background-error: rgba(
|
|
358
370
|
var(--mrl-status-error),
|
|
359
371
|
1
|
|
360
|
-
); /**
|
|
372
|
+
); /** Use for all use cases where we denote a status and there is a colored background. Use --mrl-color-text-inverse with these background colors. */
|
|
361
373
|
|
|
362
374
|
--mrl-color-background-error-light: rgba(
|
|
363
375
|
var(--mrl-status-error-light),
|
|
364
376
|
1
|
|
365
|
-
); /**
|
|
377
|
+
); /** Use for background of inline block notifications and badges. */
|
|
366
378
|
|
|
367
379
|
--mrl-color-background-private: rgba(
|
|
368
380
|
var(--mrl-gray-100),
|
|
369
381
|
1
|
|
370
|
-
); /**
|
|
382
|
+
); /** Use for all use cases where we denote a status and there is a colored background. Use --mrl-color-text-inverse with these background colors. The private variable is deprecated and will be removed in v2. */
|
|
371
383
|
|
|
372
384
|
--mrl-color-background-inverse: rgba(
|
|
373
385
|
var(--mrl-gray-100),
|
|
@@ -377,40 +389,52 @@
|
|
|
377
389
|
--mrl-color-background-inverse-hover: rgba(
|
|
378
390
|
var(--mrl-gray-90),
|
|
379
391
|
1
|
|
380
|
-
); /**
|
|
392
|
+
); /** Use only with --mrl-color-background-inverse; other colored backgrounds will have a different style set that's TBD. */
|
|
381
393
|
|
|
382
394
|
--mrl-color-background-disabled: rgba(
|
|
383
395
|
var(--mrl-gray-40),
|
|
384
396
|
1
|
|
385
|
-
); /**
|
|
397
|
+
); /** Use only when there is a background on a disabled element and the text used would be --mrl-color-text-inverse. In the product the current usage aligns to --mrl-gray-50 but Design provided new guidelines for all future work. */
|
|
398
|
+
|
|
399
|
+
--mrl-color-line: rgba(var(--mrl-gray-70), 1); /** Use with the Base style set. */
|
|
400
|
+
--mrl-color-line-hover: rgba(var(--mrl-gray-90), 1); /** Use with the Base style set. */
|
|
401
|
+
--mrl-color-line-active: rgba(var(--mrl-gray-100), 1); /** Use with the Base style set. */
|
|
402
|
+
--mrl-color-line-selected: rgba(var(--mrl-gray-90), 1); /** Use with the Base style set. */
|
|
403
|
+
--mrl-color-line-disabled: rgba(
|
|
404
|
+
var(--mrl-gray-40),
|
|
405
|
+
1
|
|
406
|
+
); /** In the product the current usage aligns to --mrl-gray-50 but Design provided new guidelines for all future work. */
|
|
386
407
|
|
|
387
|
-
--mrl-color-line: rgba(var(--mrl-gray-70), 1); /** Default line/border color. */
|
|
388
|
-
--mrl-color-line-hover: rgba(var(--mrl-gray-90), 1); /** Line color, hover state. */
|
|
389
|
-
--mrl-color-line-active: rgba(var(--mrl-gray-100), 1); /** Line color, active state. */
|
|
390
|
-
--mrl-color-line-selected: rgba(var(--mrl-gray-90), 1); /** Line color, selected state. */
|
|
391
|
-
--mrl-color-line-disabled: rgba(var(--mrl-gray-40), 1); /** Line color for disabled controls. */
|
|
392
408
|
--mrl-color-line-secondary: rgba(var(--mrl-gray-30), 1); /** Secondary line color. */
|
|
393
409
|
--mrl-color-line-decorative: rgba(
|
|
394
410
|
var(--mrl-blue-20),
|
|
395
411
|
1
|
|
396
412
|
); /** Line color for decorative, non-interactive surfaces. */
|
|
397
413
|
|
|
398
|
-
--mrl-color-line-divider: rgba(
|
|
414
|
+
--mrl-color-line-divider: rgba(
|
|
415
|
+
var(--mrl-gray-20),
|
|
416
|
+
1
|
|
417
|
+
); /** Design calls this Light but we want a more semantic name in the code base. */
|
|
418
|
+
|
|
399
419
|
--mrl-color-line-divider-inverse: rgba(
|
|
400
420
|
var(--mrl-gray-80),
|
|
401
421
|
1
|
|
402
|
-
); /**
|
|
422
|
+
); /** Design calls this Dark but we want a more semantic name in the code base. This is intended for use on dark or saturated backgrounds. */
|
|
423
|
+
|
|
424
|
+
--mrl-color-line-emph: rgba(
|
|
425
|
+
var(--mrl-gray-20),
|
|
426
|
+
1
|
|
427
|
+
); /** Use with the Base with Emphasis style set. */
|
|
403
428
|
|
|
404
|
-
--mrl-color-line-emph: rgba(var(--mrl-gray-20), 1); /** Emphasized line color. */
|
|
405
429
|
--mrl-color-line-emph-hover: rgba(
|
|
406
430
|
var(--mrl-gray-90),
|
|
407
431
|
1
|
|
408
|
-
); /**
|
|
432
|
+
); /** Use with the Base with Emphasis style set. */
|
|
409
433
|
|
|
410
434
|
--mrl-color-line-emph-active: rgba(
|
|
411
435
|
var(--mrl-black),
|
|
412
436
|
1
|
|
413
|
-
); /**
|
|
437
|
+
); /** Use with the Base with Emphasis style set. */
|
|
414
438
|
|
|
415
439
|
--mrl-color-line-inverse: rgba(var(--mrl-white), 1); /** Line color on inverse surfaces. */
|
|
416
440
|
--mrl-color-line-inverse-disabled: rgba(
|
|
@@ -424,67 +448,107 @@
|
|
|
424
448
|
--mrl-color-icon-emph-selected: rgba(
|
|
425
449
|
var(--mrl-gray-100),
|
|
426
450
|
1
|
|
427
|
-
); /**
|
|
451
|
+
); /** Used when there is an icon and you're following the Base with Emphasis style set. For all other states, the icon is the same color as the text. */
|
|
428
452
|
|
|
429
453
|
--mrl-color-input-icon-default: rgba(
|
|
430
454
|
var(--mrl-gray-70),
|
|
431
455
|
1
|
|
432
456
|
); /** Default icon color inside form inputs. */
|
|
433
457
|
|
|
434
|
-
--mrl-color-text: rgba(var(--mrl-gray-80), 1); /**
|
|
435
|
-
--mrl-color-text-hover: rgba(var(--mrl-gray-90), 1); /**
|
|
436
|
-
--mrl-color-text-active: rgba(var(--mrl-gray-90), 1); /**
|
|
437
|
-
--mrl-color-text-selected: rgba(var(--mrl-gray-100), 1); /**
|
|
438
|
-
--mrl-color-text-disabled: rgba(
|
|
458
|
+
--mrl-color-text: rgba(var(--mrl-gray-80), 1); /** Use for the Base style set. */
|
|
459
|
+
--mrl-color-text-hover: rgba(var(--mrl-gray-90), 1); /** Use for the Base style set. */
|
|
460
|
+
--mrl-color-text-active: rgba(var(--mrl-gray-90), 1); /** Use for the Base style set. */
|
|
461
|
+
--mrl-color-text-selected: rgba(var(--mrl-gray-100), 1); /** Use for the Base style set. */
|
|
462
|
+
--mrl-color-text-disabled: rgba(
|
|
463
|
+
var(--mrl-gray-40),
|
|
464
|
+
1
|
|
465
|
+
); /** In the product the current usage aligns to --mrl-gray-50 but Design provided new guidelines for all future work. */
|
|
466
|
+
|
|
439
467
|
--mrl-color-text-disabled-inverse: rgba(
|
|
440
468
|
var(--mrl-white),
|
|
441
469
|
1
|
|
442
|
-
); /**
|
|
470
|
+
); /** Use when the background of the element uses --mrl-color-background-disabled. */
|
|
471
|
+
|
|
472
|
+
--mrl-color-text-emph: rgba(
|
|
473
|
+
var(--mrl-gray-90),
|
|
474
|
+
1
|
|
475
|
+
); /** Use for the Base with Emphasis style set. */
|
|
443
476
|
|
|
444
|
-
--mrl-color-text-emph: rgba(var(--mrl-gray-90), 1); /** Emphasized text color. */
|
|
445
477
|
--mrl-color-text-emph-hover: rgba(
|
|
446
478
|
var(--mrl-gray-90),
|
|
447
479
|
1
|
|
448
|
-
); /**
|
|
480
|
+
); /** Use for the Base with Emphasis style set. */
|
|
449
481
|
|
|
450
482
|
--mrl-color-text-emph-active: rgba(
|
|
451
483
|
var(--mrl-black),
|
|
452
484
|
1
|
|
453
|
-
); /**
|
|
485
|
+
); /** Use for the Base with Emphasis style set. */
|
|
486
|
+
|
|
487
|
+
--mrl-color-text-inverse: rgba(
|
|
488
|
+
var(--mrl-white),
|
|
489
|
+
1
|
|
490
|
+
); /** Use for Inverse or any saturated background color, such as statuses. */
|
|
454
491
|
|
|
455
|
-
--mrl-color-text-inverse: rgba(var(--mrl-white), 1); /** Text color on inverse surfaces. */
|
|
456
492
|
--mrl-color-text-inverse-secondary: rgba(
|
|
457
493
|
var(--mrl-gray-10),
|
|
458
494
|
1
|
|
459
|
-
); /**
|
|
495
|
+
); /** Use for Inverse or any saturated background color, such as statuses. This should only be used when there are multiple text colors within a single element. If there is only one color, always use --mrl-color-text-inverse to create consistency. */
|
|
496
|
+
|
|
497
|
+
--mrl-color-text-inverse-hover: rgba(
|
|
498
|
+
var(--mrl-white),
|
|
499
|
+
1
|
|
500
|
+
); /** Use for Inverse or any saturated background color, such as statuses. */
|
|
460
501
|
|
|
461
|
-
--mrl-color-text-inverse-hover: rgba(var(--mrl-white), 1); /** Inverse text color, hover state. */
|
|
462
502
|
--mrl-color-text-inverse-active: rgba(
|
|
463
503
|
var(--mrl-white),
|
|
464
504
|
1
|
|
465
|
-
); /** Inverse
|
|
505
|
+
); /** Use for Inverse or any saturated background color, such as statuses. */
|
|
466
506
|
|
|
467
507
|
--mrl-color-text-inverse-selected: rgba(
|
|
468
508
|
var(--mrl-white),
|
|
469
509
|
1
|
|
470
|
-
); /** Inverse
|
|
510
|
+
); /** Use for Inverse or any saturated background color, such as statuses. */
|
|
511
|
+
|
|
512
|
+
--mrl-color-text-secondary: rgba(
|
|
513
|
+
var(--mrl-gray-70),
|
|
514
|
+
1
|
|
515
|
+
); /** Use for static text only; if you're working on an interactive element, use one of the defined style sets. This is also used for placeholder text within form elements. */
|
|
516
|
+
|
|
517
|
+
--mrl-color-text-label: rgba(
|
|
518
|
+
var(--mrl-gray-100),
|
|
519
|
+
1
|
|
520
|
+
); /** Use for static text only; if you're working on an interactive element, use one of the defined style sets. */
|
|
521
|
+
|
|
522
|
+
--mrl-color-text-heading: rgba(
|
|
523
|
+
var(--mrl-gray-100),
|
|
524
|
+
1
|
|
525
|
+
); /** Use for static text only; if you're working on an interactive element, use one of the defined style sets. */
|
|
471
526
|
|
|
472
|
-
--mrl-color-text-secondary: rgba(var(--mrl-gray-70), 1); /** Secondary text color. */
|
|
473
|
-
--mrl-color-text-label: rgba(var(--mrl-gray-100), 1); /** Text color for form labels. */
|
|
474
|
-
--mrl-color-text-heading: rgba(var(--mrl-gray-100), 1); /** Text color for headings. */
|
|
475
527
|
--mrl-color-text-success: rgba(
|
|
476
528
|
var(--mrl-status-success),
|
|
477
529
|
1
|
|
478
|
-
); /**
|
|
530
|
+
); /** Use when the background is white/transparent only; for elements with a status color background use --mrl-color-text-inverse. */
|
|
531
|
+
|
|
532
|
+
--mrl-color-text-warning: rgba(
|
|
533
|
+
var(--mrl-gray-90),
|
|
534
|
+
1
|
|
535
|
+
); /** Use when the background is white/transparent only; for elements with a status color background use --mrl-color-text-inverse. */
|
|
479
536
|
|
|
480
|
-
--mrl-color-text-warning: rgba(var(--mrl-gray-90), 1); /** Text color for warning messages. */
|
|
481
537
|
--mrl-color-text-warning-light: rgba(
|
|
482
538
|
var(--mrl-gray-80),
|
|
483
539
|
1
|
|
484
540
|
); /** Text color for light-warning messages. */
|
|
485
541
|
|
|
486
|
-
--mrl-color-text-error: rgba(
|
|
487
|
-
|
|
542
|
+
--mrl-color-text-error: rgba(
|
|
543
|
+
var(--mrl-status-error),
|
|
544
|
+
1
|
|
545
|
+
); /** Use when the background is white/transparent only; for elements with a status color background use --mrl-color-text-inverse. */
|
|
546
|
+
|
|
547
|
+
--mrl-color-text-info: rgba(
|
|
548
|
+
var(--mrl-status-info),
|
|
549
|
+
1
|
|
550
|
+
); /** Use when the background is white/transparent only; for elements with a status color background use --mrl-color-text-inverse. */
|
|
551
|
+
|
|
488
552
|
--mrl-color-text-private: rgba(var(--mrl-gray-100), 1); /** Text color for private content. */
|
|
489
553
|
--mrl-color-background-hover: var(--mrl-black-opacity-00); /** Hover overlay. */
|
|
490
554
|
--mrl-color-background-inverse-hover-opacity: var(
|
|
@@ -570,31 +634,57 @@
|
|
|
570
634
|
|
|
571
635
|
--mrl-space-gutter: var(--mrl-spacing-04); /** Default grid/layout gutter. */
|
|
572
636
|
--mrl-space-gutter-label: var(--mrl-spacing-05); /** Gutter spacing around labels. */
|
|
573
|
-
--mrl-body-font: var(--mrl-font-family-01), sans-serif;
|
|
574
|
-
--mrl-heading-font: var(--mrl-font-family-01), sans-serif;
|
|
575
|
-
--mrl-heading-font-alt:
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
--mrl-type-size-display
|
|
579
|
-
|
|
637
|
+
--mrl-body-font: var(--mrl-font-family-01), sans-serif; /** Used for all body copy. */
|
|
638
|
+
--mrl-heading-font: var(--mrl-font-family-01), sans-serif; /** Used for most headings. */
|
|
639
|
+
--mrl-heading-font-alt:
|
|
640
|
+
var(--mrl-font-family-02), serif; /** Used for headings with kind="display". */
|
|
641
|
+
|
|
642
|
+
--mrl-type-size-display: var(
|
|
643
|
+
--mrl-font-size-08
|
|
644
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-font-size-09. */
|
|
645
|
+
|
|
646
|
+
--mrl-type-size-display-large: var(
|
|
647
|
+
--mrl-font-size-09
|
|
648
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-font-size-10. */
|
|
649
|
+
|
|
650
|
+
--mrl-type-size-display-small: var(
|
|
651
|
+
--mrl-font-size-07
|
|
652
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-font-size-08. */
|
|
653
|
+
|
|
654
|
+
--mrl-type-size-display-xsmall: var(
|
|
655
|
+
--mrl-font-size-06
|
|
656
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-font-size-07. */
|
|
657
|
+
|
|
580
658
|
--mrl-type-size-headline: var(--mrl-font-size-06); /** Contextual typography token. */
|
|
581
|
-
--mrl-type-size-headline-large: var(
|
|
659
|
+
--mrl-type-size-headline-large: var(
|
|
660
|
+
--mrl-font-size-06
|
|
661
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-font-size-07. */
|
|
662
|
+
|
|
582
663
|
--mrl-type-size-headline-small: var(--mrl-font-size-04); /** Contextual typography token. */
|
|
583
664
|
--mrl-type-size-text: var(--mrl-font-size-04); /** Contextual typography token. */
|
|
584
665
|
--mrl-type-size-text-large: var(--mrl-font-size-05); /** Contextual typography token. */
|
|
585
666
|
--mrl-type-size-text-small: var(--mrl-font-size-03); /** Contextual typography token. */
|
|
586
667
|
--mrl-type-size-text-xsmall: var(--mrl-font-size-02); /** Contextual typography token. */
|
|
587
668
|
--mrl-type-size-text-xxsmall: var(--mrl-font-size-01); /** Contextual typography token. */
|
|
588
|
-
--mrl-type-line-height-title: var(
|
|
589
|
-
|
|
590
|
-
|
|
669
|
+
--mrl-type-line-height-title: var(
|
|
670
|
+
--mrl-line-height-05
|
|
671
|
+
); /** The title use case follows the same line-height scale as text. */
|
|
672
|
+
|
|
673
|
+
--mrl-type-line-height-title-large: var(
|
|
674
|
+
--mrl-line-height-06
|
|
675
|
+
); /** The title use case follows the same line-height scale as text. */
|
|
676
|
+
|
|
677
|
+
--mrl-type-line-height-title-small: var(
|
|
678
|
+
--mrl-line-height-08
|
|
679
|
+
); /** The title use case follows the same line-height scale as text. */
|
|
680
|
+
|
|
591
681
|
--mrl-type-line-height-title-xsmall: var(
|
|
592
682
|
--mrl-line-height-06
|
|
593
|
-
); /**
|
|
683
|
+
); /** The title use case follows the same line-height scale as text. */
|
|
594
684
|
|
|
595
685
|
--mrl-type-line-height-title-xxsmall: var(
|
|
596
686
|
--mrl-line-height-06
|
|
597
|
-
); /**
|
|
687
|
+
); /** The title use case follows the same line-height scale as text. */
|
|
598
688
|
|
|
599
689
|
--mrl-type-line-height-display: var(--mrl-line-height-02); /** Contextual typography token. */
|
|
600
690
|
--mrl-type-line-height-display-large: var(
|
|
@@ -612,11 +702,11 @@
|
|
|
612
702
|
--mrl-type-line-height-headline: var(--mrl-line-height-07); /** Contextual typography token. */
|
|
613
703
|
--mrl-type-line-height-headline-large: var(
|
|
614
704
|
--mrl-line-height-07
|
|
615
|
-
); /**
|
|
705
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-line-height-06. */
|
|
616
706
|
|
|
617
707
|
--mrl-type-line-height-headline-small: var(
|
|
618
708
|
--mrl-line-height-02
|
|
619
|
-
); /**
|
|
709
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-line-height-09. */
|
|
620
710
|
|
|
621
711
|
--mrl-type-line-height-text: var(--mrl-line-height-09); /** Contextual typography token. */
|
|
622
712
|
--mrl-type-line-height-text-large: var(--mrl-line-height-10); /** Contextual typography token. */
|
|
@@ -671,7 +761,7 @@
|
|
|
671
761
|
|
|
672
762
|
--mrl-type-spacing-headline-small: var(
|
|
673
763
|
--mrl-letter-spacing-04
|
|
674
|
-
); /**
|
|
764
|
+
); /** When the viewport is 600px or wider, this token uses --mrl-letter-spacing-03. */
|
|
675
765
|
|
|
676
766
|
--mrl-type-spacing-text: var(--mrl-letter-spacing-03); /** Contextual typography token. */
|
|
677
767
|
--mrl-type-spacing-interactive-xsmall: var(
|
|
@@ -700,85 +790,21 @@
|
|
|
700
790
|
|
|
701
791
|
--mrl-border-focus: var(--mrl-line-width-focus) solid var(--mrl-color-focus); /** Focus ring border shorthand. */
|
|
702
792
|
--mrl-border-divider: var(--mrl-line-width-divider) solid var(--mrl-color-line-divider); /** Divider line border shorthand. */
|
|
703
|
-
--mrl-color-background-highlight-secondary: var(
|
|
704
|
-
--mrl-color-background-decorative
|
|
705
|
-
); /** Deprecated — use `background-decorative` instead. */
|
|
706
|
-
|
|
707
|
-
--mrl-color-background-highlight-hover: var(
|
|
708
|
-
--mrl-color-background-hover
|
|
709
|
-
); /** Deprecated — use `background-hover` instead. */
|
|
710
|
-
|
|
711
|
-
--mrl-color-background-highlight-active: var(
|
|
712
|
-
--mrl-color-background-active
|
|
713
|
-
); /** Deprecated — use `background-active` instead. */
|
|
714
|
-
|
|
715
|
-
--mrl-color-background-highlight-selected: var(
|
|
716
|
-
--mrl-color-background-selected
|
|
717
|
-
); /** Deprecated — use `background-selected` instead. */
|
|
718
|
-
|
|
719
|
-
--mrl-color-background-highlight-emph-active: var(
|
|
720
|
-
--mrl-color-background-emph-active
|
|
721
|
-
); /** Deprecated — use `background-emph-active` instead. */
|
|
722
|
-
|
|
723
|
-
--mrl-color-background-highlight-emph-selected: var(
|
|
724
|
-
--mrl-color-background-active
|
|
725
|
-
); /** Deprecated — use `background-active` instead. */
|
|
726
|
-
|
|
727
|
-
--mrl-color-line-highlight-secondary: var(
|
|
728
|
-
--mrl-color-line-secondary
|
|
729
|
-
); /** Deprecated — use `line-secondary` instead. */
|
|
730
|
-
|
|
731
|
-
--mrl-color-text-highlight: var(
|
|
732
|
-
--mrl-color-text-emph
|
|
733
|
-
); /** Deprecated — use `text-emph` instead. */
|
|
734
|
-
|
|
735
|
-
--mrl-color-text-highlight-hover: var(
|
|
736
|
-
--mrl-color-text-emph-hover
|
|
737
|
-
); /** Deprecated — use `text-emph-hover` instead. */
|
|
738
|
-
|
|
739
|
-
--mrl-color-text-highlight-active: var(
|
|
740
|
-
--mrl-color-text-emph-active
|
|
741
|
-
); /** Deprecated — use `text-emph-active` instead. */
|
|
742
|
-
|
|
743
|
-
--mrl-color-text-highlight-selected: var(
|
|
744
|
-
--mrl-color-text-inverse-selected
|
|
745
|
-
); /** Deprecated — use `text-inverse-selected` instead. */
|
|
746
|
-
|
|
747
|
-
--mrl-color-text-highlight-emph: var(
|
|
748
|
-
--mrl-color-text-emph
|
|
749
|
-
); /** Deprecated — use `text-emph` instead. */
|
|
750
|
-
|
|
751
|
-
--mrl-color-text-highlight-emph-hover: var(
|
|
752
|
-
--mrl-color-text-emph-hover
|
|
753
|
-
); /** Deprecated — use `text-emph-hover` instead. */
|
|
754
|
-
|
|
755
|
-
--mrl-color-text-highlight-emph-active: var(
|
|
756
|
-
--mrl-color-text-emph-active
|
|
757
|
-
); /** Deprecated — use `text-emph-active` instead. */
|
|
758
|
-
|
|
759
|
-
--mrl-color-text-highlight-emph-selected: var(
|
|
760
|
-
--mrl-color-text-inverse-selected
|
|
761
|
-
); /** Deprecated — use `text-inverse-selected` instead. */
|
|
762
|
-
|
|
763
|
-
--mrl-color-text-02: var(
|
|
764
|
-
--mrl-color-text-heading
|
|
765
|
-
); /** Deprecated — use `text-heading` instead. */
|
|
766
|
-
|
|
767
793
|
--mrl-color-background-inverse-active: var(
|
|
768
794
|
--mrl-color-accent
|
|
769
|
-
); /**
|
|
795
|
+
); /** Use only with --mrl-color-background-inverse; other colored backgrounds will have a different style set that's TBD. */
|
|
770
796
|
|
|
771
797
|
--mrl-color-background-inverse-selected: var(
|
|
772
798
|
--mrl-color-accent
|
|
773
|
-
); /**
|
|
799
|
+
); /** Use only with --mrl-color-background-inverse; other colored backgrounds will have a different style set that's TBD. */
|
|
774
800
|
|
|
775
801
|
--mrl-color-line-emph-selected: var(
|
|
776
802
|
--mrl-color-accent
|
|
777
|
-
); /**
|
|
803
|
+
); /** Use with the Base with Emphasis style set. */
|
|
778
804
|
|
|
779
805
|
--mrl-color-text-emph-selected: var(
|
|
780
806
|
--mrl-color-accent
|
|
781
|
-
); /**
|
|
807
|
+
); /** Use for the Base with Emphasis style set. */
|
|
782
808
|
|
|
783
809
|
--mrl-space-inline-sibling-xsmall: var(
|
|
784
810
|
--mrl-space-inline-sibling-small
|