@trilogy-ds/styles 0.0.1-beta-1

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 (104) hide show
  1. package/framework/src/_all.scss +8 -0
  2. package/framework/src/base/_all.scss +9 -0
  3. package/framework/src/base/_color.scss +58 -0
  4. package/framework/src/base/_elements.scss +34 -0
  5. package/framework/src/base/_fonts.scss +2 -0
  6. package/framework/src/base/_generic.scss +68 -0
  7. package/framework/src/base/_helpers.scss +880 -0
  8. package/framework/src/base/_loading.scss +102 -0
  9. package/framework/src/base/_reset.scss +138 -0
  10. package/framework/src/components/_accordion.scss +178 -0
  11. package/framework/src/components/_all.scss +30 -0
  12. package/framework/src/components/_autolayout2.scss +38 -0
  13. package/framework/src/components/_breadcrumb.scss +45 -0
  14. package/framework/src/components/_card.scss +298 -0
  15. package/framework/src/components/_countdown.scss +55 -0
  16. package/framework/src/components/_disclaimer.scss +84 -0
  17. package/framework/src/components/_divider.scss +18 -0
  18. package/framework/src/components/_dropdown.scss +128 -0
  19. package/framework/src/components/_fab.scss +60 -0
  20. package/framework/src/components/_level.scss +120 -0
  21. package/framework/src/components/_media.scss +64 -0
  22. package/framework/src/components/_menu.scss +213 -0
  23. package/framework/src/components/_modal.scss +201 -0
  24. package/framework/src/components/_otp.scss +92 -0
  25. package/framework/src/components/_pagination.scss +182 -0
  26. package/framework/src/components/_plus-symbol.scss +32 -0
  27. package/framework/src/components/_popover.scss +340 -0
  28. package/framework/src/components/_price.scss +209 -0
  29. package/framework/src/components/_product-tour.scss +131 -0
  30. package/framework/src/components/_progress-radial.scss +23 -0
  31. package/framework/src/components/_range.scss +84 -0
  32. package/framework/src/components/_scroll-view.scss +19 -0
  33. package/framework/src/components/_search-modal.scss +197 -0
  34. package/framework/src/components/_segmented-control.scss +60 -0
  35. package/framework/src/components/_slices.scss +316 -0
  36. package/framework/src/components/_slider.scss +92 -0
  37. package/framework/src/components/_stepper.scss +397 -0
  38. package/framework/src/components/_switch.scss +209 -0
  39. package/framework/src/components/_tabs.scss +212 -0
  40. package/framework/src/components/_timeline.scss +367 -0
  41. package/framework/src/elements/_alert.scss +91 -0
  42. package/framework/src/elements/_all.scss +35 -0
  43. package/framework/src/elements/_badge.scss +81 -0
  44. package/framework/src/elements/_box.scss +267 -0
  45. package/framework/src/elements/_button.scss +192 -0
  46. package/framework/src/elements/_checkbox.scss +39 -0
  47. package/framework/src/elements/_checkradio.scss +173 -0
  48. package/framework/src/elements/_chips.scss +100 -0
  49. package/framework/src/elements/_container.scss +108 -0
  50. package/framework/src/elements/_dot.scss +6 -0
  51. package/framework/src/elements/_entry.scss +109 -0
  52. package/framework/src/elements/_form.scss +593 -0
  53. package/framework/src/elements/_icon.scss +384 -0
  54. package/framework/src/elements/_image.scss +59 -0
  55. package/framework/src/elements/_input-gauge.scss +37 -0
  56. package/framework/src/elements/_input-icons.scss +41 -0
  57. package/framework/src/elements/_link.scss +79 -0
  58. package/framework/src/elements/_list.scss +61 -0
  59. package/framework/src/elements/_loader.scss +126 -0
  60. package/framework/src/elements/_notification.scss +151 -0
  61. package/framework/src/elements/_options.scss +146 -0
  62. package/framework/src/elements/_other.scss +44 -0
  63. package/framework/src/elements/_paragraph.scss +101 -0
  64. package/framework/src/elements/_progress.scss +212 -0
  65. package/framework/src/elements/_radio.scss +67 -0
  66. package/framework/src/elements/_select.scss +315 -0
  67. package/framework/src/elements/_sticker.scss +151 -0
  68. package/framework/src/elements/_switch.scss +108 -0
  69. package/framework/src/elements/_table.scss +298 -0
  70. package/framework/src/elements/_tag.scss +131 -0
  71. package/framework/src/elements/_textarea.scss +125 -0
  72. package/framework/src/elements/_timeline.scss +283 -0
  73. package/framework/src/elements/_title.scss +139 -0
  74. package/framework/src/elements/_toaster.scss +128 -0
  75. package/framework/src/grid/_all.scss +3 -0
  76. package/framework/src/grid/_columns.scss +952 -0
  77. package/framework/src/grid/_rows.scss +47 -0
  78. package/framework/src/grid/_tiles.scss +78 -0
  79. package/framework/src/layout/_all.scss +6 -0
  80. package/framework/src/layout/_hero.scss +268 -0
  81. package/framework/src/layout/_main.scss +36 -0
  82. package/framework/src/layout/_section.scss +65 -0
  83. package/framework/src/layout/_toolbar.scss +100 -0
  84. package/framework/src/trilogy-core.scss +16 -0
  85. package/framework/src/trilogy-mangled.scss +14 -0
  86. package/framework/src/trilogy-namespaced.scss +14 -0
  87. package/framework/src/trilogy.scss +8 -0
  88. package/framework/src/utilities/_all.scss +9 -0
  89. package/framework/src/utilities/_animations.scss +71 -0
  90. package/framework/src/utilities/_controls.scss +67 -0
  91. package/framework/src/utilities/_derived-variables.scss +104 -0
  92. package/framework/src/utilities/_functions.scss +94 -0
  93. package/framework/src/utilities/_initial-variables.scss +150 -0
  94. package/framework/src/utilities/_mixins.scss +745 -0
  95. package/framework/src/utilities/_post.scss +6 -0
  96. package/framework/src/utilities/_pre.scss +5 -0
  97. package/framework/src/utilities/_spacing.scss +10 -0
  98. package/framework/src/utilities/_tools.scss +3 -0
  99. package/package.json +22 -0
  100. package/themes/default/src/_all.scss +1 -0
  101. package/themes/default/src/assets.scss +11 -0
  102. package/themes/default/src/utilities/_all.scss +0 -0
  103. package/themes/default/src/utilities/_post.scss +0 -0
  104. package/themes/default/src/utilities/_pre.scss +3 -0
@@ -0,0 +1,151 @@
1
+ $sticker-height: 35px;
2
+ $sticker-radius: $radius-large;
3
+
4
+ .sticker {
5
+ border-radius: 24px;
6
+ font-size: 16px;
7
+ flex-grow: 0;
8
+ display: inline-flex;
9
+ padding: 8px 16px;
10
+ color: getColor('background') !important;
11
+ line-height: 20px;
12
+ flex-shrink: 0;
13
+ background-color: getColor('font');
14
+ font-weight: 600;
15
+
16
+ &:not(.is-hat) {
17
+ width: fit-content;
18
+
19
+ @include mobile{
20
+ border-radius: 16px;
21
+ font-size: 12px;
22
+ padding: $spacing-1 $spacing-2;
23
+ height: auto;
24
+ line-height: 15px;
25
+
26
+ &.is-flag {
27
+ border-radius: 0 $sticker-radius 0 0;
28
+ }
29
+
30
+ }
31
+ }
32
+
33
+
34
+ &.is-primary {
35
+ background-color: getColor('main');
36
+ color: getColor('background') !important;
37
+ }
38
+
39
+ &.is-flag {
40
+ border-radius: 0 16px 0 0;
41
+ }
42
+
43
+ &.is-outlined,
44
+ &.is-inverted {
45
+ background-color: white !important;
46
+ border-style: solid;
47
+ border-width: 2px;
48
+ border-color: currentColor;
49
+ color: getColor('font') !important;
50
+
51
+ &.is-primary {
52
+ color: getColor('main') !important;
53
+ }
54
+ }
55
+
56
+ &.is-small {
57
+ border-radius: 16px;
58
+ font-size: 12px;
59
+ padding: $spacing-1 $spacing-2;
60
+ height: auto;
61
+ line-height: 15px;
62
+
63
+ &.is-flag {
64
+ border-radius: 0 $sticker-radius 0 0;
65
+ }
66
+ }
67
+
68
+ // deprecated
69
+ &.is-stretched {
70
+ border-radius: $radius 0;
71
+ padding: 0 10px;
72
+ position: relative;
73
+ margin-right: 10px;
74
+ margin-left: 10px;
75
+
76
+ &::before,
77
+ &::after {
78
+ position: absolute;
79
+ top: 0;
80
+ content: " ";
81
+ transform: skew(-20deg);
82
+ padding-left: 7px;
83
+ padding-right: 7px;
84
+ line-height: 2em;
85
+ height: 100%;
86
+ display: block;
87
+ }
88
+
89
+ &::before {
90
+ border-radius: $radius 0 0 $radius;
91
+ left: -6px;
92
+ }
93
+
94
+ &::after {
95
+ border-radius: 0 $radius $radius 0;
96
+ right: -7px;
97
+ }
98
+ }
99
+ }
100
+
101
+ @mixin hat-margins {
102
+ position: relative;
103
+ border-top-left-radius: 0 !important;
104
+ border-top-right-radius: 0 !important;
105
+ text-align: center;
106
+ margin-top: $sticker-height !important;
107
+ }
108
+
109
+ .has-hat,
110
+ .has-hat-desktop,
111
+ .has-hat-mobile {
112
+ .is-hat {
113
+ display: inline-block;
114
+ border-radius: $radius $radius 0 0;
115
+ position: absolute;
116
+ top: -$sticker-height;
117
+ left: 0;
118
+ right: 0;
119
+ white-space: nowrap;
120
+ padding-left: 5px;
121
+ padding-right: 5px;
122
+ overflow: hidden;
123
+ text-overflow: ellipsis;
124
+ }
125
+
126
+ &.is-fullheight {
127
+ height: calc(100% - #{$sticker-height}) !important;
128
+ }
129
+ }
130
+
131
+ .has-hat {
132
+ @include hat-margins();
133
+ }
134
+
135
+ .has-hat-desktop {
136
+ @include desktop() {
137
+ @include hat-margins();
138
+ }
139
+ }
140
+
141
+ .has-hat-tablet {
142
+ @include tablet() {
143
+ @include hat-margins();
144
+ }
145
+ }
146
+
147
+ .has-hat-mobile {
148
+ @include mobile() {
149
+ @include hat-margins();
150
+ }
151
+ }
@@ -0,0 +1,108 @@
1
+ .switch {
2
+ position: relative;
3
+ margin: 8px;
4
+
5
+ input {
6
+ display: none;
7
+
8
+ &:disabled ~ label,
9
+ &:disabled:checked ~ label {
10
+ &:hover {
11
+ cursor: no-drop;
12
+ }
13
+
14
+ &:before {
15
+ background-color: getColor('grey-disabled');
16
+ }
17
+ }
18
+
19
+ &:disabled ~ label {
20
+ &:after {
21
+ $colorSvg: encodecolor(getColorValue('grey-dark'));
22
+ content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
23
+ }
24
+ }
25
+
26
+ &:disabled:checked ~ label {
27
+ &:after {
28
+ $colorSvg: encodecolor(getColorValue('grey-dark'));
29
+ content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" fill="none"><path d="M11.3 22.4L18.1 29.3L32.7 14.7"/></svg>');
30
+ }
31
+ }
32
+ }
33
+
34
+ label {
35
+ width: 100%;
36
+ display: flex;
37
+ align-items: center;
38
+ cursor: pointer;
39
+ padding: $spacing-1;
40
+ padding-right: 60px;
41
+
42
+ &:before {
43
+ content: '';
44
+ position: absolute;
45
+ top: 50%;
46
+ transform: translateY(-50%);
47
+ right: 0;
48
+ border-radius: 24px;
49
+ width: 44px;
50
+ height: 22px;
51
+ background-color: getColorValue('grey');
52
+ margin-left: 16px;
53
+ }
54
+
55
+ &:after {
56
+ $colorSvg: encodecolor(getColorValue('grey'));
57
+ content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
58
+ position: absolute;
59
+ top: 50%;
60
+ transform: translateY(-50%);
61
+ right: calc(44px - 18px - 2px);
62
+ border-radius: 50%;
63
+ width: 18px;
64
+ height: 18px;
65
+ background-color: getColorValue('background');
66
+ transition: 0.3s;
67
+ }
68
+ }
69
+
70
+ input:checked {
71
+ & ~ label {
72
+ font-weight: bold;
73
+
74
+ &:before {
75
+ background-color: getColorValue('alternate');
76
+ }
77
+
78
+ &:after {
79
+ right: 2px;
80
+ $colorSvg: encodecolor(getColorValue('alternate'));
81
+ content: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" fill="none"><path d="M11.3 22.4L18.1 29.3L32.7 14.7"/></svg>');
82
+ background-color: getColorValue('background');
83
+ }
84
+ }
85
+ }
86
+
87
+ &.is-reversed {
88
+ label {
89
+ flex-direction: row-reverse;
90
+ padding-right: 0;
91
+ padding-left: 60px;
92
+
93
+ &:before {
94
+ left: 0;
95
+ margin-left: 0;
96
+ margin-right: 16px;
97
+ }
98
+
99
+ &:after {
100
+ left: 2px;
101
+ }
102
+ }
103
+
104
+ input:checked ~ label:after {
105
+ left: calc(44px - 18px - 2px);
106
+ }
107
+ }
108
+ }
@@ -0,0 +1,298 @@
1
+ @use "sass:math";
2
+
3
+ /**
4
+ * @deprecated "Use box.is-paddingless instead"
5
+ */
6
+ .table-container.box {
7
+ padding: 0;
8
+ }
9
+
10
+ .table {
11
+ @include block;
12
+
13
+ background-color: transparent;
14
+ color: getColor('grey-dark');
15
+
16
+ &:not(:last-child) {
17
+ margin-bottom: 30px;
18
+ }
19
+
20
+ /**
21
+ * @deprecated "Use multiples <tr><th> instead"
22
+ */
23
+ tbody .is-body-header {
24
+ background-color: getColor('grey-light');
25
+ }
26
+
27
+ td,
28
+ th {
29
+ border: 1px solid getColor('grey-light');
30
+ border-width: 0;
31
+ padding: 20px;
32
+ vertical-align: top;
33
+ text-align: left;
34
+
35
+ // Modifiers
36
+ &.is-narrow {
37
+ white-space: nowrap;
38
+ width: 1%;
39
+ }
40
+
41
+ &.is-selected {
42
+ background-color: getColor('main');
43
+ color: getColor('background');
44
+ a,
45
+ strong {
46
+ color: currentColor;
47
+ }
48
+ }
49
+ }
50
+
51
+ th {
52
+ color: getColor('font');
53
+ }
54
+
55
+ tr {
56
+ @each $name, $pair in $colors-feedback {
57
+ $bg-color: nth($pair, 1);
58
+ &.is-#{$name} {
59
+ background-color:getColor($bg-color);
60
+ }
61
+ }
62
+
63
+ th {
64
+ background-color: getColor('background');
65
+ }
66
+
67
+ th,
68
+ td {
69
+ color: getColor('font');
70
+ vertical-align: middle;
71
+ }
72
+
73
+ td {
74
+ border-bottom: 1px solid getColor('grey-light');
75
+
76
+ > p {
77
+ margin: 0;
78
+ }
79
+ }
80
+
81
+ &.is-selected {
82
+ background-color: getColor('main');
83
+ color: getColor('background');
84
+
85
+ a,
86
+ strong {
87
+ color: currentColor;
88
+ }
89
+
90
+ td,
91
+ th {
92
+ border-color: currentColor;
93
+ color: currentColor;
94
+ }
95
+ }
96
+
97
+ &.is-expanded,
98
+ &.is-expandable:hover {
99
+ td {
100
+ color: getColor('alternate');
101
+ cursor: pointer;
102
+ }
103
+ }
104
+
105
+ &.is-expandable + .is-expansion {
106
+ display: none;
107
+ }
108
+
109
+ &.is-expanded + .is-expansion {
110
+ display: table-row;
111
+ }
112
+
113
+ &.is-expanded {
114
+ > td {
115
+ border-bottom: 0;
116
+ }
117
+
118
+ .toggle {
119
+ transform: rotate(180deg);
120
+ color: inherit;
121
+ }
122
+
123
+ + tr > td {
124
+ border-top: 0;
125
+ }
126
+ }
127
+ }
128
+
129
+ thead {
130
+ td,
131
+ th {
132
+ border-width: 0 0 1px;
133
+ color: getColor('font');
134
+ }
135
+ }
136
+
137
+ tfoot {
138
+ td,
139
+ th {
140
+ border-width: 2px 0 0;
141
+ color: getColor('font');
142
+ }
143
+ }
144
+
145
+ tbody {
146
+ tr {
147
+ &:last-child {
148
+ td,
149
+ th {
150
+ border-bottom-width: 0;
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ &:not(.is-bordered).is-comparative {
157
+ th {
158
+ border-right: 1px solid getColor('grey-lighter');
159
+ }
160
+
161
+ td {
162
+ &:not(:last-child) {
163
+ border-right: 1px solid getColor('grey-light');
164
+ }
165
+ }
166
+ }
167
+
168
+ &.is-compact {
169
+ td,
170
+ th {
171
+ padding: math.div(20px, 3) math.div(20px, 3);
172
+ }
173
+ }
174
+
175
+ &.is-large {
176
+ thead {
177
+ height: 50px;
178
+
179
+ th {
180
+ color: getVariantColor('alternate',2);
181
+ font-weight: 600;
182
+ text-transform: uppercase;
183
+ }
184
+ }
185
+
186
+ tbody {
187
+ border-top: 1px solid #d8d8d8;
188
+
189
+ tr {
190
+ td {
191
+ height: 40px;
192
+ }
193
+
194
+ &:not(.is-body-header) td {
195
+ height: 96px;
196
+ }
197
+ }
198
+ }
199
+ }
200
+
201
+ &.is-bordered {
202
+ td,
203
+ th {
204
+ border-width: 1px;
205
+ }
206
+
207
+ tr {
208
+ &:last-child {
209
+ td,
210
+ th {
211
+ border-bottom-width: 1px;
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ &.is-fullwidth {
218
+ width: 100%;
219
+ }
220
+
221
+ &.is-hoverable {
222
+ tbody {
223
+ tr:not(.is-selected) {
224
+ &:hover {
225
+ background-color: getColor('grey-lighter');
226
+ }
227
+ }
228
+ }
229
+
230
+ &.is-striped {
231
+ tbody {
232
+ tr:not(.is-selected) {
233
+ &:hover {
234
+ background-color: getColor('grey-light');
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+
241
+ &.is-narrow {
242
+ td,
243
+ th {
244
+ padding: 0.25em 0.5em;
245
+ }
246
+ }
247
+
248
+ &.is-striped {
249
+ tbody {
250
+ tr:not(.is-selected) {
251
+ &:nth-child(even) {
252
+ background-color: getColor('grey-lighter');
253
+ }
254
+ }
255
+ }
256
+ }
257
+
258
+ .subtable {
259
+ background-color: getColor('grey-lighter');
260
+ border-radius: $radius;
261
+ padding: $box-padding * 2;
262
+
263
+ @include mobile() {
264
+ padding: 15px;
265
+ }
266
+
267
+ .table {
268
+ background: transparent;
269
+
270
+ tr:not(:first-child) {
271
+ td {
272
+ border-top: 1px solid getColor('grey-dark');
273
+ }
274
+ }
275
+
276
+ td {
277
+ border: 0;
278
+
279
+ &:first-child {
280
+ padding-left: 0;
281
+ }
282
+
283
+ &:last-child {
284
+ padding-right: 0;
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ .table-container {
292
+ @include block;
293
+ @include overflow-touch;
294
+
295
+ overflow: auto;
296
+ overflow-y: hidden;
297
+ max-width: 100%;
298
+ }
@@ -0,0 +1,131 @@
1
+ $tag-radius: $radius-rounded !default;
2
+ $tag-delete-margin: 1px !default;
3
+
4
+ // container pour multi-tags ou tags avec actions
5
+ .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
+ }
21
+ }
22
+
23
+ // multi-tags : ajout d'une marge à droite de chaque tag
24
+ .tag:not(:last-child) {
25
+ margin-right: 8px;
26
+ }
27
+
28
+ // centrage des tags
29
+ &.is-centered {
30
+ justify-content: center;
31
+ }
32
+
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
+ }
86
+
87
+ &.is-inverted {
88
+ .tag {
89
+ background-color: getColor(getColor('background'));
90
+ }
91
+ }
92
+
93
+ }
94
+ }
95
+
96
+ .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
+ }
115
+
116
+
117
+ @include mobile {
118
+ font-size: 12px;
119
+ line-height: 15px;
120
+ }
121
+
122
+ @each $name, $pair in $colors-feedback {
123
+ $bg-color: nth($pair, 1);
124
+ &.is-#{$name}:not(.is-inverted) {
125
+ background-color: getColor($bg-color);
126
+ }
127
+ &.is-inverted.is-#{$name} {
128
+ color: getColor($name);
129
+ }
130
+ }
131
+ }