@trilogy-ds/styles 0.0.1-beta.9 → 0.0.4-beta-v4

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.
Files changed (94) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/base/_color.scss +9 -39
  5. package/framework/src/base/_generic.scss +4 -1
  6. package/framework/src/base/_helpers.scss +13 -38
  7. package/framework/src/base/_loading.scss +8 -1
  8. package/framework/src/base/_reset.scss +8 -3
  9. package/framework/src/components/_accordion.scss +53 -88
  10. package/framework/src/components/_all.scss +1 -7
  11. package/framework/src/components/_autolayout.scss +302 -0
  12. package/framework/src/components/_breadcrumb.scss +39 -34
  13. package/framework/src/components/_card.scss +8 -79
  14. package/framework/src/components/_countdown.scss +49 -47
  15. package/framework/src/components/_divider.scss +10 -15
  16. package/framework/src/components/_fab.scss +25 -38
  17. package/framework/src/components/_modal.scss +161 -158
  18. package/framework/src/components/_otp.scss +10 -29
  19. package/framework/src/components/_pagination.scss +59 -161
  20. package/framework/src/components/_plus-symbol.scss +1 -1
  21. package/framework/src/components/_popover.scss +260 -260
  22. package/framework/src/components/_price.scss +119 -170
  23. package/framework/src/components/_product-tour.scss +2 -4
  24. package/framework/src/components/_progress-radial.scss +24 -19
  25. package/framework/src/components/_range.scss +73 -72
  26. package/framework/src/components/_segmented-control.scss +51 -53
  27. package/framework/src/components/_stepper.scss +42 -222
  28. package/framework/src/components/_tabs.scss +46 -81
  29. package/framework/src/components/_timeline.scss +27 -112
  30. package/framework/src/elements/_alert.scss +13 -10
  31. package/framework/src/elements/_all.scss +1 -4
  32. package/framework/src/elements/_autocomplete.scss +32 -0
  33. package/framework/src/elements/_badge.scss +67 -61
  34. package/framework/src/elements/_box.scss +64 -161
  35. package/framework/src/elements/_button.scss +15 -141
  36. package/framework/src/elements/_checkbox.scss +29 -26
  37. package/framework/src/elements/_chips.scss +69 -85
  38. package/framework/src/elements/_container.scss +7 -39
  39. package/framework/src/elements/_entry.scss +76 -88
  40. package/framework/src/elements/_form.scss +26 -23
  41. package/framework/src/elements/_icon.scss +4 -4
  42. package/framework/src/elements/_image.scss +50 -40
  43. package/framework/src/elements/_input-gauge.scss +32 -33
  44. package/framework/src/elements/_input-icons.scss +33 -31
  45. package/framework/src/elements/_link.scss +38 -65
  46. package/framework/src/elements/_list.scss +45 -44
  47. package/framework/src/elements/_loader.scss +2 -2
  48. package/framework/src/elements/_other.scss +0 -37
  49. package/framework/src/elements/_paragraph.scss +35 -69
  50. package/framework/src/elements/_progress.scss +33 -22
  51. package/framework/src/elements/_radio.scss +45 -31
  52. package/framework/src/elements/_select.scss +85 -304
  53. package/framework/src/elements/_sticker.scss +12 -27
  54. package/framework/src/elements/_switch.scss +101 -99
  55. package/framework/src/elements/_table.scss +175 -228
  56. package/framework/src/elements/_tag.scss +104 -105
  57. package/framework/src/elements/_textarea.scss +113 -105
  58. package/framework/src/elements/_title.scss +89 -87
  59. package/framework/src/elements/_toaster.scss +4 -5
  60. package/framework/src/grid/_columns.scss +257 -764
  61. package/framework/src/grid/_rows.scss +45 -38
  62. package/framework/src/layout/_all.scss +0 -1
  63. package/framework/src/layout/_hero.scss +89 -215
  64. package/framework/src/layout/_section.scss +5 -29
  65. package/framework/src/theming/_all.scss +3 -0
  66. package/framework/src/theming/buttons_partial.scss +32 -0
  67. package/framework/src/theming/common_partials.scss +10 -0
  68. package/framework/src/theming/links_partial.scss +20 -0
  69. package/framework/src/utilities/_a11y.scss +13 -0
  70. package/framework/src/utilities/_all.scss +4 -0
  71. package/framework/src/utilities/_background.scss +19 -0
  72. package/framework/src/utilities/_colors.scss +40 -0
  73. package/framework/src/utilities/_controls.scss +38 -49
  74. package/framework/src/utilities/_derived-variables.scss +4 -15
  75. package/framework/src/utilities/_initial-variables.scss +4 -36
  76. package/framework/src/utilities/_mixins.scss +483 -592
  77. package/framework/src/utilities/_pre.scss +1 -0
  78. package/package.json +3 -3
  79. package/framework/src/components/_autolayout2.scss +0 -38
  80. package/framework/src/components/_disclaimer.scss +0 -84
  81. package/framework/src/components/_dropdown.scss +0 -128
  82. package/framework/src/components/_level.scss +0 -120
  83. package/framework/src/components/_media.scss +0 -64
  84. package/framework/src/components/_menu.scss +0 -213
  85. package/framework/src/components/_search-modal.scss +0 -197
  86. package/framework/src/components/_slices.scss +0 -316
  87. package/framework/src/components/_slider.scss +0 -92
  88. package/framework/src/components/_switch.scss +0 -209
  89. package/framework/src/elements/_checkradio.scss +0 -173
  90. package/framework/src/elements/_dot.scss +0 -6
  91. package/framework/src/elements/_notification.scss +0 -151
  92. package/framework/src/elements/_options.scss +0 -146
  93. package/framework/src/elements/_timeline.scss +0 -283
  94. package/framework/src/layout/_toolbar.scss +0 -100
@@ -1,131 +1,130 @@
1
- $tag-radius: $radius-rounded !default;
2
1
  $tag-delete-margin: 1px !default;
3
2
 
4
3
  // container pour multi-tags ou tags avec actions
5
4
  .tags {
6
- align-items: center;
7
- display: inline-flex;
8
- flex-wrap: wrap;
9
- justify-content: flex-start;
10
- margin-bottom: 16px;
11
-
12
- // multi-tags : ajout d'une marge bottom, supprimable par facette
13
- &:not(.is-gapless) {
14
- &:not(:last-child) {
15
- margin-right: 8px;
16
- }
17
-
18
- .tag {
19
- margin-bottom: 10px;
20
- }
5
+ display: flex;
6
+ justify-content: flex-start;
7
+ align-items: center;
8
+ flex-wrap: wrap;
9
+ margin-bottom: 16px;
10
+
11
+ // multi-tags : ajout d'une marge bottom, supprimable par facette
12
+ &:not(.is-gapless) {
13
+ &:not(:last-child) {
14
+ margin-right: 8px;
21
15
  }
22
16
 
23
- // multi-tags : ajout d'une marge à droite de chaque tag
24
- .tag:not(:last-child) {
25
- margin-right: 8px;
17
+ .tag {
18
+ margin-bottom: 10px;
26
19
  }
20
+ }
27
21
 
28
- // centrage des tags
29
- &.is-centered {
30
- justify-content: center;
31
- }
22
+ // multi-tags : ajout d'une marge à droite de chaque tag
23
+ .tag:not(:last-child) {
24
+ margin-right: 8px;
25
+ }
32
26
 
33
- // tags avec actions
34
- &.has-addons {
35
- cursor: pointer;
36
-
37
- .tag {
38
- margin-right: 0;
39
-
40
- &:not(:first-child) {
41
- border-bottom-left-radius: 0;
42
- border-top-left-radius: 0;
43
- }
44
-
45
- &:not(:last-child) {
46
- border-bottom-right-radius: 0;
47
- border-top-right-radius: 0;
48
- }
49
-
50
- &:first-child {
51
- padding-right: 5px;
52
- }
53
-
54
- + .tag {
55
- padding: 0;
56
- position: relative;
57
- width: 25px;
58
- border-width: 0;
59
-
60
- // fixme : cette règle ne devrait-elle pas s'appliquer à TOUS les buttons ?
61
- cursor: inherit;
62
-
63
- // affichage d'une fausse croix avec 2 traits penchés
64
- &:empty {
65
- &::before,
66
- &::after {
67
- position: absolute;
68
- content: '';
69
- height: 10px;
70
- width: 2px;
71
- background-color: currentColor;
72
- top: 50%;
73
- left: 30%;
74
- }
75
-
76
- &::before {
77
- transform: translate(50%, -50%) rotate(45deg);
78
- }
79
-
80
- &::after {
81
- transform: translate(50%, -50%) rotate(-45deg);
82
- }
83
- }
84
- }
85
- }
27
+ // centrage des tags
28
+ &.is-centered {
29
+ justify-content: center;
30
+ }
86
31
 
87
- &.is-inverted {
88
- .tag {
89
- background-color: getColor(getColor('background'));
90
- }
32
+ // tags avec actions
33
+ &.has-addons {
34
+ cursor: pointer;
35
+
36
+ .tag {
37
+ margin-right: 0;
38
+
39
+ &:not(:first-child) {
40
+ border-bottom-left-radius: 0;
41
+ border-top-left-radius: 0;
42
+ }
43
+
44
+ &:not(:last-child) {
45
+ border-bottom-right-radius: 0;
46
+ border-top-right-radius: 0;
47
+ }
48
+
49
+ &:first-child {
50
+ padding-right: 5px;
51
+ }
52
+
53
+ + .tag {
54
+ padding: 0;
55
+ position: relative;
56
+ width: 25px;
57
+ border-width: 0;
58
+
59
+ // fixme : cette règle ne devrait-elle pas s'appliquer à TOUS les buttons ?
60
+ cursor: inherit;
61
+
62
+ // affichage d'une fausse croix avec 2 traits penchés
63
+ &:empty {
64
+ &::before,
65
+ &::after {
66
+ position: absolute;
67
+ content: '';
68
+ height: 10px;
69
+ width: 2px;
70
+ background-color: currentColor;
71
+ top: 50%;
72
+ left: 30%;
73
+ }
74
+
75
+ &::before {
76
+ transform: translate(50%, -50%) rotate(45deg);
77
+ }
78
+
79
+ &::after {
80
+ transform: translate(50%, -50%) rotate(-45deg);
81
+ }
91
82
  }
83
+ }
84
+ }
92
85
 
86
+ &.is-inverted {
87
+ .tag {
88
+ background-color: getColor('background');
89
+ }
93
90
  }
91
+
92
+ }
94
93
  }
95
94
 
96
95
  .tag {
97
- align-items: center;
98
- background-color: getColor('background');
99
- border-radius: $tag-radius;
100
- color: getColor('font');
101
- display: inline-flex;
102
- font-size: $size-medium;
103
- font-weight: $weight-medium;
104
- height: 28px;
105
- justify-content: center;
106
- line-height: 20px;
107
- padding: $spacing-1 $spacing-2;
108
- white-space: nowrap;
109
-
110
- &.is-small {
111
- font-size: $text-12;
112
- line-height: 15px;
113
- height: 23px;
114
- }
96
+ align-items: center;
97
+ background-color: getColor('neutral-fade');
98
+ border-radius: 9999px;
99
+ color: getColor('font');
100
+ display: inline-flex;
101
+ font-size: $size-medium;
102
+ font-weight: $weight-medium;
103
+ height: 28px;
104
+ justify-content: center;
105
+ line-height: 20px;
106
+ padding: $spacing-1 $spacing-2;
107
+ white-space: nowrap;
108
+
109
+ &.is-small {
110
+ font-size: $text-12;
111
+ line-height: 15px;
112
+ height: 23px;
113
+ }
115
114
 
116
115
 
117
- @include mobile {
118
- font-size: 12px;
119
- line-height: 15px;
120
- }
116
+ @include mobile {
117
+ font-size: 12px;
118
+ line-height: 15px;
119
+ }
121
120
 
122
- @each $name, $pair in $colors-feedback {
123
- $bg-color: nth($pair, 1);
121
+ @each $name in $colors-feedback {
124
122
  &.is-#{$name}:not(.is-inverted) {
125
- background-color: getColor($bg-color);
123
+ background-color: fadeColor($name);
126
124
  }
127
125
  &.is-inverted.is-#{$name} {
128
126
  color: getColor($name);
127
+ background-color: invertColor($name);
129
128
  }
130
129
  }
131
130
  }
@@ -1,125 +1,133 @@
1
1
  .textarea-wrapper {
2
- position: relative;
3
- margin: 16px 0;
2
+ position: relative;
3
+ margin: 16px 0;
4
+
5
+ .textarea-label {
6
+ display: inline-block;
7
+ margin-bottom: 6px;
8
+ }
9
+
10
+ .textarea-sample {
11
+ margin-bottom: 10px !important;
12
+ }
13
+
14
+ textarea.textarea {
15
+ padding: $spacing-4;
16
+ border-radius: var(--radius-small);
17
+ outline: none;
18
+
19
+ &:focus,
20
+ &:focus-visible {
21
+ padding: 15px;
22
+ }
4
23
 
5
- textarea.textarea {
6
- padding: $spacing-4;
7
- border-radius: 4px;
8
- outline: none;
24
+ &::placeholder {
25
+ font-size: 16px;
26
+ }
9
27
 
10
- &::placeholder {
11
- font-size: 16px;
12
- }
28
+ &.has-dynamic-label {
29
+ &.has-icon ~ label {
30
+ left: $spacing-9;
31
+ margin-right: 2px;
32
+ width: calc(100% - 98px);
33
+ }
13
34
 
14
- &.has-dynamic-label {
15
- &.has-icon ~ label {
16
- left: $spacing-9;
17
- margin-right: 2px;
18
- width: calc(100% - 96px - 2px);
19
- }
20
-
21
- ~ label {
22
- visibility: visible;
23
- position: absolute;
24
- top: 2px;
25
- left: $spacing-4;
26
- padding-top: $spacing-2;
27
- width: calc(100% - 28px - 2px);
28
- font-size: 12px;
29
- color: getColor('grey');
30
- transition: top 0.2s ease-out;
31
- background-color: getColor('background');
32
- }
33
-
34
- &:placeholder-shown {
35
- ~ label {
36
- visibility: hidden;
37
- top: $spacing-4;
38
- background-color: getColor('background');
39
- transition: none;
40
- }
41
- }
42
-
43
- &:not(:placeholder-shown) {
44
- padding-top: $spacing-5;
45
- }
35
+ ~ label {
36
+ visibility: visible;
37
+ position: absolute;
38
+ top: 2px;
39
+ left: $spacing-4;
40
+ padding-top: $spacing-2;
41
+ width: calc(100% - 28px - 2px);
42
+ font-size: 12px;
43
+ color: getColor('font');
44
+ filter: grayscale(100%);
45
+ transition: top 0.2s ease-out;
46
+ }
47
+
48
+ &:placeholder-shown {
49
+ ~ label {
50
+ visibility: hidden;
51
+ top: $spacing-4;
52
+ background-color: getColor('background');
53
+ transition: none;
46
54
  }
55
+ }
47
56
 
48
- &:disabled {
49
- background-color: getColor('grey-disabled');
50
- border-color: getColor('grey-disabled');
51
- color: getColor('grey-dark');
52
-
53
- &::placeholder {
54
- color: black;
55
- }
56
-
57
- & ~ span.icon {
58
- color: getColor('grey');
59
- }
60
- }
57
+ &:not(:placeholder-shown) {
58
+ padding-top: $spacing-5;
59
+ }
60
+ }
61
61
 
62
- &.has-icon {
63
- padding-left: $spacing-9;
64
- padding-right: $spacing-9;
62
+ &.has-icon {
63
+ padding-left: $spacing-9;
64
+ padding-right: $spacing-9;
65
65
 
66
- &:hover,
67
- &:focus,
68
- &:focus-visible {
69
- padding-left: 55px;
70
- padding-right: 55px;
71
- }
72
- }
66
+ &:focus,
67
+ &:focus-visible {
68
+ padding-left: 55px !important;
69
+ padding-right: 55px;
70
+ }
73
71
  }
72
+ }
74
73
 
75
- label {
76
- font-size: 16px;
77
- }
74
+ label {
75
+ font-size: 16px;
76
+ }
78
77
 
79
- span.icon {
80
- position: absolute;
81
- top: $spacing-4;
78
+ .textarea-label + .textarea-sample ~ span.icon {
79
+ top: 72px !important;
80
+ }
82
81
 
83
- &:first-of-type {
84
- left: $spacing-4;
85
- }
82
+ .textarea-label ~ span.icon {
83
+ top: 45px !important;
84
+ }
86
85
 
87
- &:nth-of-type(2) {
88
- right: $spacing-4;
89
- }
90
- }
86
+ span.icon {
87
+ position: absolute;
88
+ top: $spacing-4;
91
89
 
92
- // Colors
93
- @each $name, $pair in $colors-brand-funcionnal {
94
- $color: getColor($name);
95
- $color-invert: invertColor($name);
96
- $brandName: getColorBrandName($name);
97
- &.is-#{$brandName} {
98
- textarea.textarea {
99
- border-color: $color;
100
- &:active,
101
- &:focus,
102
- &:focus-visible {
103
- &:not(:placeholder-shown) {
104
- padding-top: 29px;
105
- }
106
- }
107
- }
108
-
109
- span.icon:nth-of-type(2) {
110
- color: $color;
111
- }
112
- }
90
+ &:first-of-type {
91
+ left: $spacing-4;
113
92
  }
114
93
 
115
- .counter {
116
- position: absolute;
117
- bottom: $spacing-2;
118
- right: $spacing-4;
119
- font-size: 10px;
94
+ &:nth-of-type(2) {
95
+ right: $spacing-4;
120
96
  }
97
+ }
98
+
99
+ // Colors
100
+ @each $name, $pair in $colors-brand-functionnal {
101
+ $color: getColor($name);
102
+ $color-invert: invertColor($name);
103
+ $brandName: getColorBrandName($name);
104
+ &.is-#{$brandName} {
105
+ textarea.textarea {
106
+ border-color: $color;
107
+
108
+ &:active,
109
+ &:focus,
110
+ &:focus-visible {
111
+ &:not(:placeholder-shown) {
112
+ padding-top: 29px;
113
+ }
114
+ }
115
+ }
121
116
 
122
- .help ~ .counter {
123
- bottom: $spacing-6;
117
+ span.icon:nth-of-type(2) {
118
+ color: $color;
119
+ }
124
120
  }
121
+ }
122
+
123
+ .counter {
124
+ position: absolute;
125
+ bottom: $spacing-2;
126
+ right: $spacing-4;
127
+ font-size: 10px;
128
+ }
129
+
130
+ .help ~ .counter {
131
+ bottom: $spacing-6;
132
+ }
125
133
  }
@@ -7,13 +7,13 @@ $title-strong-weight: inherit;
7
7
  $title-sub-size: 0.5em;
8
8
  $title-sup-size: 0.5em;
9
9
 
10
- $subtitle-size: $text-15;
11
- $subtitle-weight: $weight-semibold;
10
+ $subtitle-size: $text-16;
11
+ $subtitle-weight: $weight-medium;
12
12
  $subtitle-size-tablet: $text-15;
13
13
  $subtitle-line-height: 1.2;
14
14
  $subtitle-strong-weight: $weight-semibold;
15
15
 
16
- $overline-size: $text-15;
16
+ $overline-size: $text-14;
17
17
  $overline-weight: $weight-semibold;
18
18
  $overline-line-height: 1.2;
19
19
  $overline-size-tablet: $text-15;
@@ -38,102 +38,104 @@ $title-levels-mobile: (
38
38
  .title,
39
39
  .subtitle,
40
40
  .overline {
41
- word-break: break-word;
41
+ word-break: break-word;
42
42
 
43
- em,
44
- span {
45
- font-weight: inherit;
46
- }
43
+ em,
44
+ span {
45
+ font-weight: inherit;
46
+ }
47
47
 
48
- .tag {
49
- vertical-align: middle;
50
- }
48
+ .tag {
49
+ vertical-align: middle;
50
+ }
51
51
  }
52
52
 
53
53
  .title {
54
- font-size: $text-32;
55
- font-weight: $title-weight;
56
- line-height: $title-line-height;
57
-
58
- // new typography
59
- @each $title-level in $title-levels {
60
- $i: index($title-levels, $title-level);
61
- $font-size: nth($title-level, 1);
62
- $line-height: nth($title-level, 2);
63
- $font-family: nth($title-level, 3);
64
-
65
- &.is-level-#{$i} {
66
- font-size: $font-size;
67
- line-height: $line-height;
68
- font-family: $font-family;
69
- }
70
-
71
- &.is-medium {
72
- font-weight: $weight-medium;
73
- }
74
-
75
- &.is-inverted {
76
- color: getColor('background');
77
- }
78
-
79
- .details {
80
- font-size: 80%;
81
- color: getColor('grey');
82
- font-weight: $weight-normal;
83
- }
84
-
85
- &.is-section-title {
86
- text-align: center;
87
- }
88
-
89
- @include tablet {
90
- font-size: $text-40;
91
- }
92
-
93
- sup {
94
- top: -0.5em;
95
- font-size: $title-sup-size;
96
- }
97
-
98
- sub {
99
- bottom: -0.5em;
100
- font-size: $title-sub-size;
101
- }
102
-
103
- &.is-centered {
104
- text-align: center;
105
- }
54
+ font-size: $text-32;
55
+ font-weight: $title-weight;
56
+ line-height: $title-line-height;
57
+
58
+ // new typography
59
+ @each $title-level in $title-levels {
60
+ $i: index($title-levels, $title-level);
61
+ $font-size: nth($title-level, 1);
62
+ $line-height: nth($title-level, 2);
63
+ $font-family: nth($title-level, 3);
64
+
65
+ &.is-level-#{$i} {
66
+ font-size: $font-size;
67
+ line-height: $line-height;
68
+ font-family: $font-family;
106
69
  }
107
70
 
108
- @include mobile {
109
- @each $title-level-mobile in $title-levels-mobile {
110
- $i: index($title-levels-mobile, $title-level-mobile);
111
- $font-size-mobile: nth($title-level-mobile, 1);
112
- $line-height-mobile: nth($title-level-mobile, 2);
113
- &.is-level-#{$i} {
114
- font-size: $font-size-mobile;
115
- line-height: $line-height-mobile;
116
- }
117
- }
71
+ &.is-medium {
72
+ font-weight: $weight-medium;
118
73
  }
119
- }
120
74
 
121
- .subtitle {
122
- color: getColor('alternate');
123
- font-size: $subtitle-size;
124
- font-weight: $subtitle-weight;
125
- line-height: $subtitle-line-height;
126
75
  &.is-inverted {
127
- color: getColor('background');
76
+ color: getColor('background');
77
+ }
78
+
79
+ .details {
80
+ font-size: 80%;
81
+ color: getColor('neutral');
82
+ font-weight: $weight-normal;
83
+ }
84
+
85
+ &.is-section-title {
86
+ text-align: center;
87
+ }
88
+
89
+ @include tablet {
90
+ font-size: $text-40;
91
+ }
92
+
93
+ sup {
94
+ top: -0.5em;
95
+ font-size: $title-sup-size;
96
+ }
97
+
98
+ sub {
99
+ bottom: -0.5em;
100
+ font-size: $title-sub-size;
101
+ }
102
+
103
+ &.is-centered {
104
+ text-align: center;
105
+ }
106
+ }
107
+
108
+ @include mobile {
109
+ @each $title-level-mobile in $title-levels-mobile {
110
+ $i: index($title-levels-mobile, $title-level-mobile);
111
+ $font-size-mobile: nth($title-level-mobile, 1);
112
+ $line-height-mobile: nth($title-level-mobile, 2);
113
+ &.is-level-#{$i} {
114
+ font-size: $font-size-mobile;
115
+ line-height: $line-height-mobile;
116
+ }
128
117
  }
118
+ }
119
+ }
120
+
121
+ .subtitle {
122
+ color: getColor('font');
123
+ font-size: $subtitle-size;
124
+ font-weight: $subtitle-weight;
125
+ line-height: $subtitle-line-height;
126
+
127
+ &.is-inverted {
128
+ color: getColor('background');
129
+ }
129
130
  }
130
131
 
131
132
  .overline {
132
- color: getColor('alternate');
133
- font-size: $overline-size;
134
- font-weight: $overline-weight;
135
- line-height: $overline-line-height;
136
- &.is-inverted {
137
- color: getColor('background');
138
- }
133
+ color: getColor('font');
134
+ font-size: $overline-size;
135
+ font-weight: $overline-weight;
136
+ line-height: $overline-line-height;
137
+
138
+ &.is-inverted {
139
+ color: getColor('background');
140
+ }
139
141
  }
@@ -13,8 +13,8 @@ a.toaster {
13
13
  @include apply-shadow-box();
14
14
 
15
15
 
16
- background-color: getColor('bg-info');
17
- border-radius: $radius;
16
+ background-color: getColor('info-fade');
17
+ border-radius: var(--radius);
18
18
  margin-bottom: 16px;
19
19
  position: relative;
20
20
  margin-left: 24px;
@@ -62,10 +62,9 @@ a.toaster {
62
62
  background: transparent;
63
63
  }
64
64
 
65
- @each $name, $pair in $colors-feedback {
66
- $bg-color: nth($pair, 1);
65
+ @each $name in $colors-feedback {
67
66
  &.is-#{$name} {
68
- background-color: getColor($bg-color);
67
+ background-color: fadeColor($name);
69
68
  border: 2px solid getColor($name);
70
69
 
71
70
  .icon {