@entur/form 8.1.8-alpha.0 → 8.1.9-RC.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/styles.css CHANGED
@@ -1,83 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-feedback-text {
4
- display: flex;
5
- align-items: center;
6
- margin-top: 0.25rem;
7
- }
8
- .eds-feedback-text--info, .eds-feedback-text--information {
9
- padding-left: calc(1rem + 0.125rem);
10
- }
11
- .eds-feedback-text__text {
12
- color: var(--components-form-feedbacktext-information-standard-text);
13
- }
14
- .eds-contrast .eds-feedback-text__text {
15
- color: var(--components-form-feedbacktext-information-contrast-text);
16
- }
17
-
18
- .eds-feedback-text__icon {
19
- font-size: 1.5rem;
20
- min-height: 1.5rem;
21
- min-width: 1.5rem;
22
- padding-right: 0.5rem;
23
- position: relative;
24
- top: -0.1rem;
25
- }
26
- .eds-feedback-text__icon--success {
27
- color: var(--components-form-feedbacktext-success-standard-icon-fill);
28
- }
29
- .eds-feedback-text__icon--success circle {
30
- fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
31
- }
32
- .eds-contrast .eds-feedback-text__icon--success {
33
- color: var(--components-form-feedbacktext-success-contrast-icon-fill);
34
- }
35
- .eds-contrast .eds-feedback-text__icon--success circle {
36
- fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
37
- }
38
- .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
39
- color: var(--components-form-feedbacktext-negative-standard-icon-fill);
40
- }
41
- .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
42
- fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
43
- }
44
- .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
45
- color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
46
- }
47
- .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
48
- fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
49
- }
50
- .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
51
- color: var(--components-form-feedbacktext-information-standard-icon-fill);
52
- }
53
- .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
54
- fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
55
- }
56
- .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
57
- color: var(--components-form-feedbacktext-information-contrast-icon-fill);
58
- }
59
- .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
60
- fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
61
- }
62
- .eds-feedback-text__icon--warning {
63
- color: var(--components-form-feedbacktext-warning-standard-icon-fill);
64
- }
65
- .eds-feedback-text__icon--warning .svg-exclamation {
66
- fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
67
- }
68
- .eds-contrast .eds-feedback-text__icon--warning {
69
- color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
70
- }
71
- .eds-contrast .eds-feedback-text__icon--warning circle {
72
- fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
73
- }
74
- .eds-fieldset {
75
- margin: 0;
76
- padding: 0;
77
- border: 0;
78
- }
79
- /* DO NOT CHANGE!*/
80
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
81
3
  .eds-checkbox__container {
82
4
  display: flex;
83
5
  align-items: center;
@@ -442,6 +364,79 @@
442
364
  }
443
365
  /* DO NOT CHANGE!*/
444
366
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
367
+ .eds-feedback-text {
368
+ display: flex;
369
+ align-items: center;
370
+ margin-top: 0.25rem;
371
+ }
372
+ .eds-feedback-text--info, .eds-feedback-text--information {
373
+ padding-left: calc(1rem + 0.125rem);
374
+ }
375
+ .eds-feedback-text__text {
376
+ color: var(--components-form-feedbacktext-information-standard-text);
377
+ }
378
+ .eds-contrast .eds-feedback-text__text {
379
+ color: var(--components-form-feedbacktext-information-contrast-text);
380
+ }
381
+
382
+ .eds-feedback-text__icon {
383
+ font-size: 1.5rem;
384
+ min-height: 1.5rem;
385
+ min-width: 1.5rem;
386
+ padding-right: 0.5rem;
387
+ position: relative;
388
+ top: -0.1rem;
389
+ }
390
+ .eds-feedback-text__icon--success {
391
+ color: var(--components-form-feedbacktext-success-standard-icon-fill);
392
+ }
393
+ .eds-feedback-text__icon--success circle {
394
+ fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
395
+ }
396
+ .eds-contrast .eds-feedback-text__icon--success {
397
+ color: var(--components-form-feedbacktext-success-contrast-icon-fill);
398
+ }
399
+ .eds-contrast .eds-feedback-text__icon--success circle {
400
+ fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
401
+ }
402
+ .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
403
+ color: var(--components-form-feedbacktext-negative-standard-icon-fill);
404
+ }
405
+ .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
406
+ fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
407
+ }
408
+ .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
409
+ color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
410
+ }
411
+ .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
412
+ fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
413
+ }
414
+ .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
415
+ color: var(--components-form-feedbacktext-information-standard-icon-fill);
416
+ }
417
+ .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
418
+ fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
419
+ }
420
+ .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
421
+ color: var(--components-form-feedbacktext-information-contrast-icon-fill);
422
+ }
423
+ .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
424
+ fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
425
+ }
426
+ .eds-feedback-text__icon--warning {
427
+ color: var(--components-form-feedbacktext-warning-standard-icon-fill);
428
+ }
429
+ .eds-feedback-text__icon--warning .svg-exclamation {
430
+ fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
431
+ }
432
+ .eds-contrast .eds-feedback-text__icon--warning {
433
+ color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
434
+ }
435
+ .eds-contrast .eds-feedback-text__icon--warning circle {
436
+ fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
437
+ }
438
+ /* DO NOT CHANGE!*/
439
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
445
440
  .eds-input-group {
446
441
  color: inherit;
447
442
  display: block;
@@ -543,204 +538,252 @@
543
538
  }
544
539
  /* DO NOT CHANGE!*/
545
540
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
546
- .eds-switch {
541
+ .eds-form-component--radio__container {
542
+ display: flex;
543
+ justify-content: center;
544
+ align-items: center;
545
+ position: relative;
547
546
  cursor: pointer;
547
+ height: 2rem;
548
+ width: -moz-fit-content;
549
+ width: fit-content;
548
550
  -webkit-user-select: none;
549
551
  -moz-user-select: none;
550
552
  user-select: none;
551
- padding: 0.5rem 0;
552
- width: -moz-fit-content;
553
- width: fit-content;
554
553
  }
555
- .eds-switch input {
556
- opacity: 0;
557
- pointer-events: none;
554
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
555
+ background-color: var(--components-form-radio-standard-fill-hover);
556
+ }
557
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
558
+ background-color: var(--components-form-radio-contrast-fill-hover);
559
+ }
560
+ .eds-form-component--radio__container input {
558
561
  position: absolute;
562
+ opacity: 0;
563
+ cursor: pointer;
564
+ height: 0;
565
+ width: 0;
559
566
  }
560
- .eds-switch--right {
561
- display: flex;
562
- flex-direction: row;
563
- align-items: center;
567
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
568
+ height: 0.625rem;
569
+ width: 0.625rem;
564
570
  }
565
- .eds-switch--bottom {
566
- display: flex;
567
- flex-direction: column;
568
- align-items: center;
571
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
572
+ outline: 2px solid #181c56;
573
+ outline-color: var(--basecolors-stroke-focus-standard);
574
+ outline-offset: 0.125rem;
569
575
  }
570
- .eds-switch__circle {
571
- border-radius: 50%;
576
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
577
+ outline-color: var(--basecolors-stroke-focus-contrast);
578
+ }
579
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
580
+ position: relative;
572
581
  height: 1.25rem;
573
582
  width: 1.25rem;
574
- content: "";
583
+ margin-right: 1rem;
584
+ background-color: var(--components-form-radio-standard-fill-default);
585
+ border: 0.125rem solid var(--components-form-radio-standard-border);
586
+ border-radius: 50%;
575
587
  display: flex;
576
588
  align-items: center;
577
589
  justify-content: center;
578
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
579
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
580
- background-color: var(--components-form-switch-standard-switch);
581
- top: 0.125rem;
582
- left: 0.125rem;
583
- position: relative;
584
590
  }
585
- .eds-switch__switch--large .eds-switch__circle {
586
- height: 1.75rem;
587
- width: 1.75rem;
591
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
592
+ background-color: var(--components-form-radio-contrast-fill-default);
593
+ border-color: var(--components-form-radio-contrast-border);
588
594
  }
589
- .eds-contrast .eds-switch__circle {
590
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
595
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
596
+ background: var(--components-form-baseform-contrast-fill-disabled);
597
+ border-color: var(--components-form-baseform-contrast-text-disabled);
598
+ cursor: not-allowed;
591
599
  }
592
- .eds-switch__switch {
593
- position: relative;
594
- background-color: var(--components-form-switch-standard-fill-false);
595
- content: "";
596
- display: block;
597
- transition: background-color 0.1s ease-in-out;
598
- height: 1.5rem;
599
- width: 3rem;
600
- border-radius: 1.5rem;
601
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
600
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
601
+ border-color: var(--components-form-baseform-contrast-text-disabled);
602
602
  }
603
- .eds-contrast .eds-switch__switch {
604
- background-color: var(--components-form-switch-contrast-fill-false);
603
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
604
+ background: var(--components-form-baseform-contrast-fill-disabled);
605
+ border-color: var(--components-form-baseform-contrast-text-disabled);
605
606
  }
606
- .eds-switch--right .eds-switch__switch {
607
- margin-right: 0.75rem;
607
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
608
+ color: var(--components-form-baseform-contrast-text-disabled);
608
609
  }
609
- .eds-switch__switch svg g,
610
- .eds-switch__switch path {
611
- fill: var(--components-form-switch-standard-icon-false);
612
- transition: fill ease-in-out 0.1s;
610
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
611
+ display: block;
612
+ width: 0;
613
+ height: 0;
614
+ border-radius: 50%;
615
+ background-color: var(--components-form-radio-standard-fill-selected);
616
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
613
617
  }
614
- .eds-contrast .eds-switch__switch svg g,
615
- .eds-contrast .eds-switch__switch path {
616
- fill: var(--components-form-switch-contrast-icon-false);
617
- }
618
- :checked + .eds-switch__switch {
619
- background-color: var(--eds-switch-color);
620
- }
621
- :checked + .eds-switch__switch .eds-switch__circle {
622
- left: 1.625rem;
623
- }
624
- :checked + .eds-switch__switch .eds-switch__circle svg g,
625
- :checked + .eds-switch__switch .eds-switch__circle path {
626
- fill: var(--eds-switch-color);
627
- }
628
- .eds-contrast :checked + .eds-switch__switch {
629
- background-color: var(--eds-switch-contrast-color);
630
- }
631
- :focus + .eds-switch__switch {
632
- outline: 2px solid #181c56;
633
- outline-color: var(--basecolors-stroke-focus-standard);
634
- outline-offset: 0.125rem;
635
- }
636
- .eds-contrast :focus + .eds-switch__switch {
637
- outline-color: var(--basecolors-stroke-focus-contrast);
638
- }
639
- .eds-switch__switch--large {
640
- width: 3.75rem;
641
- height: 2rem;
642
- border-radius: 3.75rem;
643
- }
644
- :checked + .eds-switch__switch--large .eds-switch__circle {
645
- left: 1.875rem;
646
- }
647
- .eds-switch__switch--large svg {
648
- position: relative;
649
- right: 0.05rem;
650
- }
651
- .eds-switch__label--large--right {
652
- font-size: 1rem;
653
- }
654
- .eds-switch__label--large--bottom {
655
- font-size: 0.875rem;
656
- }
657
- .eds-switch__label--medium--right {
658
- font-size: 0.875rem;
618
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
619
+ background-color: var(--components-form-radio-contrast-icon);
659
620
  }
660
- .eds-switch__label--medium--bottom {
661
- font-size: 0.75rem;
621
+ .eds-fieldset {
622
+ margin: 0;
623
+ padding: 0;
624
+ border: 0;
662
625
  }
663
626
  /* DO NOT CHANGE!*/
664
627
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
665
- .eds-form-component--radio__container {
666
- display: flex;
667
- justify-content: center;
668
- align-items: center;
669
- position: relative;
670
- cursor: pointer;
671
- height: 2rem;
672
- width: -moz-fit-content;
673
- width: fit-content;
674
- -webkit-user-select: none;
675
- -moz-user-select: none;
676
- user-select: none;
677
- }
678
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
679
- background-color: var(--components-form-radio-standard-fill-hover);
680
- }
681
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
682
- background-color: var(--components-form-radio-contrast-fill-hover);
683
- }
684
- .eds-form-component--radio__container input {
685
- position: absolute;
686
- opacity: 0;
687
- cursor: pointer;
688
- height: 0;
689
- width: 0;
690
- }
691
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
692
- height: 0.625rem;
693
- width: 0.625rem;
694
- }
695
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
696
- outline: 2px solid #181c56;
697
- outline-color: var(--basecolors-stroke-focus-standard);
698
- outline-offset: 0.125rem;
699
- }
700
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
701
- outline-color: var(--basecolors-stroke-focus-contrast);
702
- }
703
- .eds-form-component--radio__container .eds-form-component--radio__radio {
704
- position: relative;
705
- height: 1.25rem;
706
- width: 1.25rem;
707
- margin-right: 1rem;
708
- background-color: var(--components-form-radio-standard-fill-default);
709
- border: 0.125rem solid var(--components-form-radio-standard-border);
710
- border-radius: 50%;
711
- display: flex;
712
- align-items: center;
713
- justify-content: center;
714
- }
715
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
716
- background-color: var(--components-form-radio-contrast-fill-default);
717
- border-color: var(--components-form-radio-contrast-border);
718
- }
719
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
720
- background: var(--components-form-baseform-contrast-fill-disabled);
721
- border-color: var(--components-form-baseform-contrast-text-disabled);
722
- cursor: not-allowed;
628
+ /* DO NOT CHANGE!*/
629
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
630
+ /* DO NOT CHANGE!*/
631
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
632
+ /* DO NOT CHANGE!*/
633
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
634
+ /* DO NOT CHANGE!*/
635
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
636
+ [data-color-mode=light],
637
+ :root {
638
+ --basecolors-frame-contrast: #181c56;
639
+ --basecolors-frame-contrastalt: #393d79;
640
+ --basecolors-frame-default: #ffffff;
641
+ --basecolors-frame-elevated: #ffffff;
642
+ --basecolors-frame-elevatedalt: #f6f6f9;
643
+ --basecolors-frame-subdued: #d9dae8;
644
+ --basecolors-frame-tint: #f6f6f9;
645
+ --basecolors-shape-accent: #181c56;
646
+ --basecolors-shape-bicycle-contrast: #00db9b;
647
+ --basecolors-shape-bicycle-default: #388f76;
648
+ --basecolors-shape-bus-contrast: #ff6392;
649
+ --basecolors-shape-bus-default: #c5044e;
650
+ --basecolors-shape-cableway-contrast: #b482fb;
651
+ --basecolors-shape-cableway-default: #78469a;
652
+ --basecolors-shape-disabled: #6e6f73;
653
+ --basecolors-shape-disabledalt: #b6b8ba;
654
+ --basecolors-shape-ferry-contrast: #6fdfff;
655
+ --basecolors-shape-ferry-default: #0c6693;
656
+ --basecolors-shape-funicular-contrast: #b482fb;
657
+ --basecolors-shape-funicular-default: #78469a;
658
+ --basecolors-shape-helicopter-contrast: #fbafea;
659
+ --basecolors-shape-helicopter-default: #800664;
660
+ --basecolors-shape-highlight: #ff5959;
661
+ --basecolors-shape-light: #ffffff;
662
+ --basecolors-shape-mask: #ffffff;
663
+ --basecolors-shape-maskalt: #ffffff;
664
+ --basecolors-shape-metro-contrast: #f08901;
665
+ --basecolors-shape-metro-default: #bf5826;
666
+ --basecolors-shape-mobility-contrast: #00db9b;
667
+ --basecolors-shape-mobility-default: #388f76;
668
+ --basecolors-shape-plane-contrast: #fbafea;
669
+ --basecolors-shape-plane-default: #800664;
670
+ --basecolors-shape-subdued: #626493;
671
+ --basecolors-shape-subduedalt: #d9dae8;
672
+ --basecolors-shape-taxi-contrast: #ffe082;
673
+ --basecolors-shape-taxi-default: #3d3e40;
674
+ --basecolors-shape-train-contrast: #42a5f5;
675
+ --basecolors-shape-train-default: #00367f;
676
+ --basecolors-shape-tram-contrast: #b482fb;
677
+ --basecolors-shape-tram-default: #78469a;
678
+ --basecolors-shape-walk-contrast: #8284ab;
679
+ --basecolors-shape-walk-default: #8d8e9c;
680
+ --basecolors-shape-airportlinkbus-contrast: #fbafea;
681
+ --basecolors-shape-airportlinkbus-default: #800664;
682
+ --basecolors-shape-airportlinkrail-contrast: #fbafea;
683
+ --basecolors-shape-airportlinkrail-default: #800664;
684
+ --basecolors-stroke-contrast: #aeb7e2;
685
+ --basecolors-stroke-default: #181c56;
686
+ --basecolors-stroke-disabled: #949699;
687
+ --basecolors-stroke-focus-contrast: #aeb7e2;
688
+ --basecolors-stroke-focus-standard: #181c56;
689
+ --basecolors-stroke-highlight: #ff5959;
690
+ --basecolors-stroke-light: #ffffff;
691
+ --basecolors-stroke-subdued: #8284ab;
692
+ --basecolors-stroke-subduedalt: #e3e6e8;
693
+ --basecolors-text-accent: #181c56;
694
+ --basecolors-text-disabled: #6e6f73;
695
+ --basecolors-text-disabledalt: #b6b8ba;
696
+ --basecolors-text-highlight: #ff5959;
697
+ --basecolors-text-light: #ffffff;
698
+ --basecolors-text-subdued: #626493;
699
+ --basecolors-text-subduedalt: #d9dae8;
723
700
  }
724
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
725
- border-color: var(--components-form-baseform-contrast-text-disabled);
701
+
702
+ [data-color-mode=dark] {
703
+ --basecolors-frame-contrast: #212233;
704
+ --basecolors-frame-contrastalt: #141527;
705
+ --basecolors-frame-default: #08091c;
706
+ --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
707
+ --basecolors-frame-elevatedalt: #464755;
708
+ --basecolors-frame-subdued: #2d2e3e;
709
+ --basecolors-frame-tint: #141527;
710
+ --basecolors-shape-accent: #e5e5e9;
711
+ --basecolors-shape-bicycle-contrast: #4db295;
712
+ --basecolors-shape-bicycle-default: #4db295;
713
+ --basecolors-shape-bus-contrast: #ef7398;
714
+ --basecolors-shape-bus-default: #ef7398;
715
+ --basecolors-shape-cableway-contrast: #b898e5;
716
+ --basecolors-shape-cableway-default: #b898e5;
717
+ --basecolors-shape-disabled: #b6b8ba;
718
+ --basecolors-shape-disabledalt: #b3b4bd;
719
+ --basecolors-shape-ferry-contrast: #8ccfe2;
720
+ --basecolors-shape-ferry-default: #8ccfe2;
721
+ --basecolors-shape-funicular-contrast: #b898e5;
722
+ --basecolors-shape-funicular-default: #b898e5;
723
+ --basecolors-shape-helicopter-contrast: #f2b8e5;
724
+ --basecolors-shape-helicopter-default: #f2b8e5;
725
+ --basecolors-shape-highlight: #ff9494;
726
+ --basecolors-shape-light: #e5e5e9;
727
+ --basecolors-shape-mask: #2d2e3e;
728
+ --basecolors-shape-maskalt: #393a49;
729
+ --basecolors-shape-metro-contrast: #dd973c;
730
+ --basecolors-shape-metro-default: #dd973c;
731
+ --basecolors-shape-mobility-contrast: #4db295;
732
+ --basecolors-shape-mobility-default: #4db295;
733
+ --basecolors-shape-plane-contrast: #f2b8e5;
734
+ --basecolors-shape-plane-default: #f2b8e5;
735
+ --basecolors-shape-subdued: #b3b4bd;
736
+ --basecolors-shape-subduedalt: #b3b4bd;
737
+ --basecolors-shape-taxi-contrast: #ffe082;
738
+ --basecolors-shape-taxi-default: #ffe082;
739
+ --basecolors-shape-train-contrast: #60a2d7;
740
+ --basecolors-shape-train-default: #60a2d7;
741
+ --basecolors-shape-tram-contrast: #b898e5;
742
+ --basecolors-shape-tram-default: #b898e5;
743
+ --basecolors-shape-walk-contrast: #8d8e9c;
744
+ --basecolors-shape-walk-default: #8d8e9c;
745
+ --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
746
+ --basecolors-shape-airportlinkbus-default: #f2b8e5;
747
+ --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
748
+ --basecolors-shape-airportlinkrail-default: #f2b8e5;
749
+ --basecolors-stroke-contrast: #aeb7e2;
750
+ --basecolors-stroke-default: #b3b4bd;
751
+ --basecolors-stroke-disabled: #e3e6e8;
752
+ --basecolors-stroke-focus-contrast: #aeb7e2;
753
+ --basecolors-stroke-focus-standard: #aeb7e2;
754
+ --basecolors-stroke-highlight: #ff9494;
755
+ --basecolors-stroke-light: #b3b4bd;
756
+ --basecolors-stroke-subdued: #81828f;
757
+ --basecolors-stroke-subduedalt: #949699;
758
+ --basecolors-text-accent: #e5e5e9;
759
+ --basecolors-text-disabled: #b6b8ba;
760
+ --basecolors-text-disabledalt: #b6b8ba;
761
+ --basecolors-text-highlight: #ff9494;
762
+ --basecolors-text-light: #e5e5e9;
763
+ --basecolors-text-subdued: #b3b4bd;
764
+ --basecolors-text-subduedalt: #b3b4bd;
726
765
  }
727
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
728
- background: var(--components-form-baseform-contrast-fill-disabled);
729
- border-color: var(--components-form-baseform-contrast-text-disabled);
766
+
767
+ .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
768
+ background: var(--basecolors-frame-default);
769
+ width: -moz-fit-content;
770
+ width: fit-content;
771
+ height: -moz-fit-content;
772
+ height: fit-content;
773
+ padding: 0.15rem;
774
+ margin: -0.15rem;
730
775
  }
731
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
732
- color: var(--components-form-baseform-contrast-text-disabled);
776
+ *[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
777
+ background-color: var(--basecolors-frame-contrast);
733
778
  }
734
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
735
- display: block;
736
- width: 0;
737
- height: 0;
738
- border-radius: 50%;
739
- background-color: var(--components-form-radio-standard-fill-selected);
740
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
779
+ .eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
780
+ min-height: 7.75rem;
781
+ resize: vertical;
782
+ line-height: 1.5rem;
741
783
  }
742
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
743
- background-color: var(--components-form-radio-contrast-icon);
784
+ .eds-textarea__wrapper .eds-form-control-wrapper {
785
+ padding-right: 0;
786
+ cursor: text;
744
787
  }
745
788
  /* DO NOT CHANGE!*/
746
789
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -864,201 +907,158 @@ input:disabled + .eds-input-panel__container {
864
907
  height: 1.5rem;
865
908
  margin-right: 0;
866
909
  }
867
- .eds-input-panel--medium .eds-input-panel__title {
868
- font-size: 1rem;
869
- font-weight: 500;
910
+ .eds-input-panel--medium .eds-input-panel__title {
911
+ font-size: 1rem;
912
+ font-weight: 500;
913
+ }
914
+ .eds-input-panel--medium.eds-input-panel__container {
915
+ padding-bottom: 1rem;
916
+ min-height: 3.75rem;
917
+ }
918
+ .eds-input-panel--large.eds-input-panel__container {
919
+ min-height: 6rem;
920
+ }
921
+ .eds-input-panel--large .eds-input-panel__title {
922
+ font-size: 1.25rem;
923
+ font-weight: 500;
924
+ line-height: 1.875rem;
925
+ }
926
+ .eds-input-panel__title-wrapper {
927
+ display: flex;
928
+ justify-content: space-between;
929
+ align-items: center;
930
+ }
931
+ .eds-input-panel__secondary-label-and-icon-wrapper {
932
+ display: flex;
933
+ justify-content: center;
934
+ align-items: center;
935
+ gap: 0.75rem;
936
+ }
937
+ .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
938
+ margin: 0;
939
+ }
940
+ .eds-input-panel__additional-content {
941
+ margin-top: 0.25rem;
942
+ word-wrap: break-word;
943
+ }
944
+ /* DO NOT CHANGE!*/
945
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
946
+ .eds-switch {
947
+ cursor: pointer;
948
+ -webkit-user-select: none;
949
+ -moz-user-select: none;
950
+ user-select: none;
951
+ padding: 0.5rem 0;
952
+ width: -moz-fit-content;
953
+ width: fit-content;
954
+ }
955
+ .eds-switch input {
956
+ opacity: 0;
957
+ pointer-events: none;
958
+ position: absolute;
959
+ }
960
+ .eds-switch--right {
961
+ display: flex;
962
+ flex-direction: row;
963
+ align-items: center;
964
+ }
965
+ .eds-switch--bottom {
966
+ display: flex;
967
+ flex-direction: column;
968
+ align-items: center;
969
+ }
970
+ .eds-switch__circle {
971
+ border-radius: 50%;
972
+ height: 1.25rem;
973
+ width: 1.25rem;
974
+ content: "";
975
+ display: flex;
976
+ align-items: center;
977
+ justify-content: center;
978
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
979
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
980
+ background-color: var(--components-form-switch-standard-switch);
981
+ top: 0.125rem;
982
+ left: 0.125rem;
983
+ position: relative;
984
+ }
985
+ .eds-switch__switch--large .eds-switch__circle {
986
+ height: 1.75rem;
987
+ width: 1.75rem;
988
+ }
989
+ .eds-contrast .eds-switch__circle {
990
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
991
+ }
992
+ .eds-switch__switch {
993
+ position: relative;
994
+ background-color: var(--components-form-switch-standard-fill-false);
995
+ content: "";
996
+ display: block;
997
+ transition: background-color 0.1s ease-in-out;
998
+ height: 1.5rem;
999
+ width: 3rem;
1000
+ border-radius: 1.5rem;
1001
+ box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
1002
+ }
1003
+ .eds-contrast .eds-switch__switch {
1004
+ background-color: var(--components-form-switch-contrast-fill-false);
1005
+ }
1006
+ .eds-switch--right .eds-switch__switch {
1007
+ margin-right: 0.75rem;
870
1008
  }
871
- .eds-input-panel--medium.eds-input-panel__container {
872
- padding-bottom: 1rem;
873
- min-height: 3.75rem;
1009
+ .eds-switch__switch svg g,
1010
+ .eds-switch__switch path {
1011
+ fill: var(--components-form-switch-standard-icon-false);
1012
+ transition: fill ease-in-out 0.1s;
874
1013
  }
875
- .eds-input-panel--large.eds-input-panel__container {
876
- min-height: 6rem;
1014
+ .eds-contrast .eds-switch__switch svg g,
1015
+ .eds-contrast .eds-switch__switch path {
1016
+ fill: var(--components-form-switch-contrast-icon-false);
877
1017
  }
878
- .eds-input-panel--large .eds-input-panel__title {
879
- font-size: 1.25rem;
880
- font-weight: 500;
881
- line-height: 1.875rem;
1018
+ :checked + .eds-switch__switch {
1019
+ background-color: var(--eds-switch-color);
882
1020
  }
883
- .eds-input-panel__title-wrapper {
884
- display: flex;
885
- justify-content: space-between;
886
- align-items: center;
1021
+ :checked + .eds-switch__switch .eds-switch__circle {
1022
+ left: 1.625rem;
887
1023
  }
888
- .eds-input-panel__secondary-label-and-icon-wrapper {
889
- display: flex;
890
- justify-content: center;
891
- align-items: center;
892
- gap: 0.75rem;
1024
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
1025
+ :checked + .eds-switch__switch .eds-switch__circle path {
1026
+ fill: var(--eds-switch-color);
893
1027
  }
894
- .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
895
- margin: 0;
1028
+ .eds-contrast :checked + .eds-switch__switch {
1029
+ background-color: var(--eds-switch-contrast-color);
896
1030
  }
897
- .eds-input-panel__additional-content {
898
- margin-top: 0.25rem;
899
- word-wrap: break-word;
1031
+ :focus + .eds-switch__switch {
1032
+ outline: 2px solid #181c56;
1033
+ outline-color: var(--basecolors-stroke-focus-standard);
1034
+ outline-offset: 0.125rem;
900
1035
  }
901
- /* DO NOT CHANGE!*/
902
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
903
- /* DO NOT CHANGE!*/
904
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
905
- /* DO NOT CHANGE!*/
906
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
907
- /* DO NOT CHANGE!*/
908
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
909
- /* DO NOT CHANGE!*/
910
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
911
- [data-color-mode=light],
912
- :root {
913
- --basecolors-frame-contrast: #181c56;
914
- --basecolors-frame-contrastalt: #393d79;
915
- --basecolors-frame-default: #ffffff;
916
- --basecolors-frame-elevated: #ffffff;
917
- --basecolors-frame-elevatedalt: #f6f6f9;
918
- --basecolors-frame-subdued: #d9dae8;
919
- --basecolors-frame-tint: #f6f6f9;
920
- --basecolors-shape-accent: #181c56;
921
- --basecolors-shape-bicycle-contrast: #00db9b;
922
- --basecolors-shape-bicycle-default: #388f76;
923
- --basecolors-shape-bus-contrast: #ff6392;
924
- --basecolors-shape-bus-default: #c5044e;
925
- --basecolors-shape-cableway-contrast: #b482fb;
926
- --basecolors-shape-cableway-default: #78469a;
927
- --basecolors-shape-disabled: #6e6f73;
928
- --basecolors-shape-disabledalt: #b6b8ba;
929
- --basecolors-shape-ferry-contrast: #6fdfff;
930
- --basecolors-shape-ferry-default: #0c6693;
931
- --basecolors-shape-funicular-contrast: #b482fb;
932
- --basecolors-shape-funicular-default: #78469a;
933
- --basecolors-shape-helicopter-contrast: #fbafea;
934
- --basecolors-shape-helicopter-default: #800664;
935
- --basecolors-shape-highlight: #ff5959;
936
- --basecolors-shape-light: #ffffff;
937
- --basecolors-shape-mask: #ffffff;
938
- --basecolors-shape-maskalt: #ffffff;
939
- --basecolors-shape-metro-contrast: #f08901;
940
- --basecolors-shape-metro-default: #bf5826;
941
- --basecolors-shape-mobility-contrast: #00db9b;
942
- --basecolors-shape-mobility-default: #388f76;
943
- --basecolors-shape-plane-contrast: #fbafea;
944
- --basecolors-shape-plane-default: #800664;
945
- --basecolors-shape-subdued: #626493;
946
- --basecolors-shape-subduedalt: #d9dae8;
947
- --basecolors-shape-taxi-contrast: #ffe082;
948
- --basecolors-shape-taxi-default: #3d3e40;
949
- --basecolors-shape-train-contrast: #42a5f5;
950
- --basecolors-shape-train-default: #00367f;
951
- --basecolors-shape-tram-contrast: #b482fb;
952
- --basecolors-shape-tram-default: #78469a;
953
- --basecolors-shape-walk-contrast: #8284ab;
954
- --basecolors-shape-walk-default: #8d8e9c;
955
- --basecolors-shape-airportlinkbus-contrast: #fbafea;
956
- --basecolors-shape-airportlinkbus-default: #800664;
957
- --basecolors-shape-airportlinkrail-contrast: #fbafea;
958
- --basecolors-shape-airportlinkrail-default: #800664;
959
- --basecolors-stroke-contrast: #aeb7e2;
960
- --basecolors-stroke-default: #181c56;
961
- --basecolors-stroke-disabled: #949699;
962
- --basecolors-stroke-focus-contrast: #aeb7e2;
963
- --basecolors-stroke-focus-standard: #181c56;
964
- --basecolors-stroke-highlight: #ff5959;
965
- --basecolors-stroke-light: #ffffff;
966
- --basecolors-stroke-subdued: #8284ab;
967
- --basecolors-stroke-subduedalt: #e3e6e8;
968
- --basecolors-text-accent: #181c56;
969
- --basecolors-text-disabled: #6e6f73;
970
- --basecolors-text-disabledalt: #b6b8ba;
971
- --basecolors-text-highlight: #ff5959;
972
- --basecolors-text-light: #ffffff;
973
- --basecolors-text-subdued: #626493;
974
- --basecolors-text-subduedalt: #d9dae8;
1036
+ .eds-contrast :focus + .eds-switch__switch {
1037
+ outline-color: var(--basecolors-stroke-focus-contrast);
975
1038
  }
976
-
977
- [data-color-mode=dark] {
978
- --basecolors-frame-contrast: #212233;
979
- --basecolors-frame-contrastalt: #141527;
980
- --basecolors-frame-default: #08091c;
981
- --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
982
- --basecolors-frame-elevatedalt: #464755;
983
- --basecolors-frame-subdued: #2d2e3e;
984
- --basecolors-frame-tint: #141527;
985
- --basecolors-shape-accent: #e5e5e9;
986
- --basecolors-shape-bicycle-contrast: #4db295;
987
- --basecolors-shape-bicycle-default: #4db295;
988
- --basecolors-shape-bus-contrast: #ef7398;
989
- --basecolors-shape-bus-default: #ef7398;
990
- --basecolors-shape-cableway-contrast: #b898e5;
991
- --basecolors-shape-cableway-default: #b898e5;
992
- --basecolors-shape-disabled: #b6b8ba;
993
- --basecolors-shape-disabledalt: #b3b4bd;
994
- --basecolors-shape-ferry-contrast: #8ccfe2;
995
- --basecolors-shape-ferry-default: #8ccfe2;
996
- --basecolors-shape-funicular-contrast: #b898e5;
997
- --basecolors-shape-funicular-default: #b898e5;
998
- --basecolors-shape-helicopter-contrast: #f2b8e5;
999
- --basecolors-shape-helicopter-default: #f2b8e5;
1000
- --basecolors-shape-highlight: #ff9494;
1001
- --basecolors-shape-light: #e5e5e9;
1002
- --basecolors-shape-mask: #2d2e3e;
1003
- --basecolors-shape-maskalt: #393a49;
1004
- --basecolors-shape-metro-contrast: #dd973c;
1005
- --basecolors-shape-metro-default: #dd973c;
1006
- --basecolors-shape-mobility-contrast: #4db295;
1007
- --basecolors-shape-mobility-default: #4db295;
1008
- --basecolors-shape-plane-contrast: #f2b8e5;
1009
- --basecolors-shape-plane-default: #f2b8e5;
1010
- --basecolors-shape-subdued: #b3b4bd;
1011
- --basecolors-shape-subduedalt: #b3b4bd;
1012
- --basecolors-shape-taxi-contrast: #ffe082;
1013
- --basecolors-shape-taxi-default: #ffe082;
1014
- --basecolors-shape-train-contrast: #60a2d7;
1015
- --basecolors-shape-train-default: #60a2d7;
1016
- --basecolors-shape-tram-contrast: #b898e5;
1017
- --basecolors-shape-tram-default: #b898e5;
1018
- --basecolors-shape-walk-contrast: #8d8e9c;
1019
- --basecolors-shape-walk-default: #8d8e9c;
1020
- --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
1021
- --basecolors-shape-airportlinkbus-default: #f2b8e5;
1022
- --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
1023
- --basecolors-shape-airportlinkrail-default: #f2b8e5;
1024
- --basecolors-stroke-contrast: #aeb7e2;
1025
- --basecolors-stroke-default: #b3b4bd;
1026
- --basecolors-stroke-disabled: #e3e6e8;
1027
- --basecolors-stroke-focus-contrast: #aeb7e2;
1028
- --basecolors-stroke-focus-standard: #aeb7e2;
1029
- --basecolors-stroke-highlight: #ff9494;
1030
- --basecolors-stroke-light: #b3b4bd;
1031
- --basecolors-stroke-subdued: #81828f;
1032
- --basecolors-stroke-subduedalt: #949699;
1033
- --basecolors-text-accent: #e5e5e9;
1034
- --basecolors-text-disabled: #b6b8ba;
1035
- --basecolors-text-disabledalt: #b6b8ba;
1036
- --basecolors-text-highlight: #ff9494;
1037
- --basecolors-text-light: #e5e5e9;
1038
- --basecolors-text-subdued: #b3b4bd;
1039
- --basecolors-text-subduedalt: #b3b4bd;
1039
+ .eds-switch__switch--large {
1040
+ width: 3.75rem;
1041
+ height: 2rem;
1042
+ border-radius: 3.75rem;
1040
1043
  }
1041
-
1042
- .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1043
- background: var(--basecolors-frame-default);
1044
- width: -moz-fit-content;
1045
- width: fit-content;
1046
- height: -moz-fit-content;
1047
- height: fit-content;
1048
- padding: 0.15rem;
1049
- margin: -0.15rem;
1044
+ :checked + .eds-switch__switch--large .eds-switch__circle {
1045
+ left: 1.875rem;
1050
1046
  }
1051
- *[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1052
- background-color: var(--basecolors-frame-contrast);
1047
+ .eds-switch__switch--large svg {
1048
+ position: relative;
1049
+ right: 0.05rem;
1053
1050
  }
1054
- .eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
1055
- min-height: 7.75rem;
1056
- resize: vertical;
1057
- line-height: 1.5rem;
1051
+ .eds-switch__label--large--right {
1052
+ font-size: 1rem;
1058
1053
  }
1059
- .eds-textarea__wrapper .eds-form-control-wrapper {
1060
- padding-right: 0;
1061
- cursor: text;
1054
+ .eds-switch__label--large--bottom {
1055
+ font-size: 0.875rem;
1056
+ }
1057
+ .eds-switch__label--medium--right {
1058
+ font-size: 0.875rem;
1059
+ }
1060
+ .eds-switch__label--medium--bottom {
1061
+ font-size: 0.75rem;
1062
1062
  }
1063
1063
  /* DO NOT CHANGE!*/
1064
1064
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -1075,10 +1075,6 @@ input:disabled + .eds-input-panel__container {
1075
1075
  padding: 0.5rem;
1076
1076
  margin-right: -0.75rem;
1077
1077
  }
1078
- .eds-textfield__clear-button-wrapper {
1079
- display: flex;
1080
- align-items: center;
1081
- }
1082
1078
  .eds-textfield__clear-button:hover {
1083
1079
  background: var(--components-form-basepanel-standard-fill-hover);
1084
1080
  }
@@ -1087,6 +1083,10 @@ input:disabled + .eds-input-panel__container {
1087
1083
  outline-color: var(--basecolors-stroke-focus-standard);
1088
1084
  outline-offset: 0.125rem;
1089
1085
  }
1086
+ .eds-textfield__clear-button-wrapper {
1087
+ display: flex;
1088
+ align-items: center;
1089
+ }
1090
1090
 
1091
1091
  .eds-textfield__divider {
1092
1092
  content: "";
@@ -1104,17 +1104,6 @@ input:disabled + .eds-input-panel__container {
1104
1104
  }
1105
1105
  /* DO NOT CHANGE!*/
1106
1106
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1107
- .eds-segmented-control {
1108
- margin-top: 0.25rem;
1109
- display: flex;
1110
- background: var(--components-form-segmentedcontrol-standard-background);
1111
- border-radius: 0.5rem;
1112
- }
1113
- .eds-contrast .eds-segmented-control {
1114
- background: var(--components-form-segmentedcontrol-contrast-background);
1115
- }
1116
- /* DO NOT CHANGE!*/
1117
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1118
1107
  .eds-segmented-choice {
1119
1108
  display: block;
1120
1109
  flex: 1 1 0px;
@@ -1130,7 +1119,7 @@ input:disabled + .eds-input-panel__container {
1130
1119
  line-height: 1.25rem;
1131
1120
  margin: 0.25rem;
1132
1121
  outline-color: transparent;
1133
- padding: calc(0.25rem/ 2) 0.75rem;
1122
+ padding: calc(0.25rem / 2) 0.75rem;
1134
1123
  text-align: center;
1135
1124
  -webkit-user-select: none;
1136
1125
  -moz-user-select: none;
@@ -1744,3 +1733,14 @@ input:disabled + .eds-input-panel__container {
1744
1733
  :root {
1745
1734
  --eds-form: 1;
1746
1735
  }
1736
+ /* DO NOT CHANGE!*/
1737
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1738
+ .eds-segmented-control {
1739
+ margin-top: 0.25rem;
1740
+ display: flex;
1741
+ background: var(--components-form-segmentedcontrol-standard-background);
1742
+ border-radius: 0.5rem;
1743
+ }
1744
+ .eds-contrast .eds-segmented-control {
1745
+ background: var(--components-form-segmentedcontrol-contrast-background);
1746
+ }