@trilogy-ds/styles 0.0.1-beta-78 → 0.0.1-beta-82

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 (42) 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 -17
  5. package/framework/src/base/_helpers.scss +1 -4
  6. package/framework/src/components/_accordion.scss +0 -1
  7. package/framework/src/components/_all.scss +1 -0
  8. package/framework/src/components/_autolayout.scss +272 -0
  9. package/framework/src/components/_divider.scss +1 -2
  10. package/framework/src/components/_modal.scss +1 -1
  11. package/framework/src/components/_plus-symbol.scss +1 -1
  12. package/framework/src/components/_price.scss +31 -26
  13. package/framework/src/components/_segmented-control.scss +2 -2
  14. package/framework/src/components/_stepper.scss +2 -2
  15. package/framework/src/components/_timeline.scss +9 -9
  16. package/framework/src/elements/_alert.scss +1 -3
  17. package/framework/src/elements/_autocomplete.scss +2 -2
  18. package/framework/src/elements/_box.scss +2 -2
  19. package/framework/src/elements/_button.scss +2 -2
  20. package/framework/src/elements/_chips.scss +3 -3
  21. package/framework/src/elements/_entry.scss +1 -1
  22. package/framework/src/elements/_form.scss +3 -3
  23. package/framework/src/elements/_icon.scss +1 -1
  24. package/framework/src/elements/_loader.scss +1 -1
  25. package/framework/src/elements/_progress.scss +5 -5
  26. package/framework/src/elements/_sticker.scss +1 -1
  27. package/framework/src/elements/_switch.scss +2 -2
  28. package/framework/src/elements/_table.scss +9 -9
  29. package/framework/src/elements/_tag.scss +3 -3
  30. package/framework/src/elements/_textarea.scss +1 -1
  31. package/framework/src/elements/_toaster.scss +2 -2
  32. package/framework/src/grid/_columns.scss +1 -1
  33. package/framework/src/layout/_section.scss +1 -1
  34. package/framework/src/theming/buttons_partial.scss +2 -2
  35. package/framework/src/theming/common_partials.scss +1 -1
  36. package/framework/src/utilities/_all.scss +1 -1
  37. package/framework/src/utilities/_background.scss +7 -3
  38. package/framework/src/utilities/_colors.scss +27 -10
  39. package/framework/src/utilities/_derived-variables.scss +3 -3
  40. package/framework/src/utilities/_mixins.scss +7 -15
  41. package/package.json +2 -2
  42. package/framework/src/components/_autolayout2.scss +0 -38
@@ -1,36 +1,28 @@
1
1
  @use "sass:map";
2
2
 
3
3
  @function getColor( $name ) {
4
- @if str-slice($name, 0, 5) == 'fade-' {
5
- $submane: str-slice($name, 6);
6
- @return getFadeColor( $submane );
7
- }
8
- @return var(--color-#{nth(map-get($colors,$name),3)});
4
+ @return var(--color-#{nth(map-get($colors,$name),2)});
9
5
  }
10
6
 
11
7
  @function getColorValue( $name ) {
12
8
  @return #{nth(map-get($colors,$name),1)}
13
9
  }
14
10
 
15
- @function getFadeColorValue( $name ) {
16
- @return #{nth(map-get($colors,$name),2)}
17
- }
18
-
19
11
  @function getColorBrandName( $name ) {
20
- @return #{nth(map-get($colors,$name),3)}
21
- }
22
-
23
- @function getFadeColor( $name ) {
24
- @return var(--color-fade-#{nth(map-get($colors,$name),3)})
12
+ @return #{nth(map-get($colors,$name),2)}
25
13
  }
26
14
 
27
15
  :root {
28
16
  @each $name, $color in $colors {
29
- --color-#{nth($color,3)}: #{nth($color,1)};
30
- --color-fade-#{nth($color,3)}: #{nth($color,2)};
17
+ --color-#{nth($color,2)}: #{nth($color,1)};
31
18
  }
32
19
  }
33
20
 
34
21
  @function invertColor ($colorName) {
35
- @return var(--color-#{nth(map-get($colors,$colorName),4)})
22
+ @return var(--color-#{nth(map-get($colors,$colorName),3)})
23
+ }
24
+
25
+ @function fadeColor ($colorName) {
26
+ $name: map-get($fade-colors,$colorName);
27
+ @return getColor($name);
36
28
  }
@@ -197,7 +197,7 @@ $alignments: (
197
197
 
198
198
  @mixin typography-colors() {
199
199
  @each $name, $color in $colors {
200
- $brandName: nth($color, 3);
200
+ $brandName: nth($color, 2);
201
201
  $color: nth($color, 1);
202
202
  $color-invert: invertColor($name);
203
203
 
@@ -210,9 +210,6 @@ $alignments: (
210
210
  .has-background-#{$brandName} {
211
211
  background-color: getColor($name) !important;
212
212
  }
213
- .has-background-#{$brandName}-fade {
214
- background-color: getFadeColor($name) !important;
215
- }
216
213
  }
217
214
  }
218
215
 
@@ -1,7 +1,6 @@
1
1
  .accordions#{$suffix} {
2
2
  padding-left: 0;
3
3
  padding-right: 0;
4
- margin: $spacing-4 0;
5
4
 
6
5
  details.accordion ::-webkit-details-marker {
7
6
  display: none;
@@ -1,6 +1,7 @@
1
1
  @charset "utf-8";
2
2
  @import '../utilities/spacing';
3
3
 
4
+ @import 'autolayout';
4
5
  @import 'divider';
5
6
  @import 'breadcrumb';
6
7
  @import 'card';
@@ -0,0 +1,272 @@
1
+ body:not(.is-tight) {
2
+ * + .accordions {
3
+ margin-bottom: 24px;
4
+ }
5
+ * + .card {
6
+ margin-bottom: 24px;
7
+ }
8
+ * + .alert {
9
+ margin-bottom: 24px;
10
+ }
11
+ * + .box {
12
+ margin-bottom: 24px;
13
+ }
14
+ * + .table {
15
+ margin-bottom: 24px;
16
+ }
17
+ * + .list {
18
+ margin-bottom: 24px;
19
+ }
20
+ * + .timeline {
21
+ margin-bottom: 24px;
22
+ }
23
+ * + .stepper {
24
+ margin-bottom: 24px;
25
+ }
26
+ * + .pagination {
27
+ margin-bottom: 24px;
28
+ }
29
+ * + .segmented-control {
30
+ margin-bottom: 24px;
31
+ }
32
+ * + .tabs {
33
+ margin-bottom: 24px;
34
+ }
35
+ * + .range {
36
+ margin-bottom: 24px;
37
+ }
38
+ * + .divider {
39
+ margin-bottom: 16px;
40
+ }
41
+ * + .stepper {
42
+ margin-bottom: 24px;
43
+ }
44
+ * + .price {
45
+ margin-bottom: 12px;
46
+ }
47
+ * + .button {
48
+ margin-bottom: 24px;
49
+ }
50
+ * + .countdown {
51
+ margin-bottom: 16px;
52
+ }
53
+ * + .countdown.is-small {
54
+ margin-bottom: 12px;
55
+ }
56
+ * + .chips {
57
+ margin-bottom: 12px;
58
+ }
59
+ * + .text {
60
+ margin-bottom: 12px;
61
+ }
62
+ * + .progress {
63
+ margin-bottom: 8px;
64
+ }
65
+ * + .progress-radial {
66
+ margin-bottom: 8px;
67
+ }
68
+ * + .radio {
69
+ margin-bottom: 12px;
70
+ }
71
+ * + .checkbox {
72
+ margin-bottom: 12px;
73
+ }
74
+ * + .switch {
75
+ margin-bottom: 12px;
76
+ }
77
+ * + .radio-tile {
78
+ margin-bottom: 24px;
79
+ }
80
+ * + .checkbox-tile {
81
+ margin-bottom: 24px;
82
+ }
83
+ * + .input {
84
+ margin-bottom: 16px;
85
+ }
86
+ * + .textarea {
87
+ margin-bottom: 16px;
88
+ }
89
+ * + .select {
90
+ margin-bottom: 16px;
91
+ }
92
+ * + .link {
93
+ margin-bottom: 12px;
94
+ }
95
+ * + .sticker {
96
+ margin-bottom: 8px;
97
+ }
98
+ * + .tag {
99
+ margin-bottom: 8px;
100
+ }
101
+ * + .title.is-level-1 {
102
+ margin-bottom: 40px;
103
+ }
104
+ * + .title.is-level-2 {
105
+ margin-bottom: 32px;
106
+ }
107
+ * + .title.is-level-3 {
108
+ margin-bottom: 16px;
109
+ }
110
+ * + .title.is-level-4 {
111
+ margin-bottom: 12px;
112
+ }
113
+ * + .title.is-level-5 {
114
+ margin-bottom: 12px;
115
+ }
116
+ * + .title.is-level-6 {
117
+ margin-bottom: 12px;
118
+ }
119
+ * + .overline {
120
+ margin-bottom: 0px;
121
+ }
122
+ .subtitle + .title.is-level-1 {
123
+ margin-bottom: 8px;
124
+ }
125
+ .subtitle + .title.is-level-2 {
126
+ margin-bottom: 8px;
127
+ }
128
+ .title.is-level-1 + .subtitle {
129
+ margin-bottom: 32px;
130
+ }
131
+ .title.is-level-2 + .subtitle {
132
+ margin-bottom: 24px;
133
+ }
134
+ }
135
+
136
+ @include mobile() {
137
+ body:not(.is-tight) {
138
+ * + .accordions {
139
+ margin-bottom: 16px;
140
+ }
141
+ * + .card {
142
+ margin-bottom: 16px;
143
+ }
144
+ * + .alert {
145
+ margin-bottom: 16px;
146
+ }
147
+ * + .box {
148
+ margin-bottom: 16px;
149
+ }
150
+ * + .table {
151
+ margin-bottom: 16px;
152
+ }
153
+ * + .list {
154
+ margin-bottom: 16px;
155
+ }
156
+ * + .timeline {
157
+ margin-bottom: 16px;
158
+ }
159
+ * + .stepper {
160
+ margin-bottom: 16px;
161
+ }
162
+ * + .pagination {
163
+ margin-bottom: 16px;
164
+ }
165
+ * + .segmented-control {
166
+ margin-bottom: 16px;
167
+ }
168
+ * + .tabs {
169
+ margin-bottom: 16px;
170
+ }
171
+ * + .range {
172
+ margin-bottom: 16px;
173
+ }
174
+ * + .divider {
175
+ margin-bottom: 16px;
176
+ }
177
+ * + .stepper {
178
+ margin-bottom: 16px;
179
+ }
180
+ * + .price {
181
+ margin-bottom: 8px;
182
+ }
183
+ * + .button {
184
+ margin-bottom: 16px;
185
+ }
186
+ * + .countdown {
187
+ margin-bottom: 12px;
188
+ }
189
+ * + .countdown.is-small {
190
+ margin-bottom: 12px;
191
+ }
192
+ * + .chips {
193
+ margin-bottom: 12px;
194
+ }
195
+ * + .text {
196
+ margin-bottom: 8px;
197
+ }
198
+ * + .progress {
199
+ margin-bottom: 8px;
200
+ }
201
+ * + .progress-radial {
202
+ margin-bottom: 8px;
203
+ }
204
+ * + .radio {
205
+ margin-bottom: 12px;
206
+ }
207
+ * + .checkbox {
208
+ margin-bottom: 12px;
209
+ }
210
+ * + .switch {
211
+ margin-bottom: 12px;
212
+ }
213
+ * + .radio-tile {
214
+ margin-bottom: 16px;
215
+ }
216
+ * + .checkbox-tile {
217
+ margin-bottom: 16px;
218
+ }
219
+ * + .input {
220
+ margin-bottom: 16px;
221
+ }
222
+ * + .textarea {
223
+ margin-bottom: 16px;
224
+ }
225
+ * + .select {
226
+ margin-bottom: 16px;
227
+ }
228
+ * + .link {
229
+ margin-bottom: 8px;
230
+ }
231
+ * + .sticker {
232
+ margin-bottom: 8px;
233
+ }
234
+ * + .tag {
235
+ margin-bottom: 8px;
236
+ }
237
+ * + .title.is-level-1 {
238
+ margin-bottom: 32px;
239
+ }
240
+ * + .title.is-level-2 {
241
+ margin-bottom: 24px;
242
+ }
243
+ * + .title.is-level-3 {
244
+ margin-bottom: 12px;
245
+ }
246
+ * + .title.is-level-4 {
247
+ margin-bottom: 8px;
248
+ }
249
+ * + .title.is-level-5 {
250
+ margin-bottom: 8px;
251
+ }
252
+ * + .title.is-level-6 {
253
+ margin-bottom: 8px;
254
+ }
255
+ * + .overline {
256
+ margin-bottom: 0px;
257
+ }
258
+ .subtitle + .title.is-level-1 {
259
+ margin-bottom: 8px;
260
+ }
261
+ .subtitle + .title.is-level-2 {
262
+ margin-bottom: 8px;
263
+ }
264
+ .title.is-level-1 + .subtitle {
265
+ margin-bottom: 40px;
266
+ }
267
+ .title.is-level-2 + .subtitle {
268
+ margin-bottom: 32px;
269
+ }
270
+
271
+ }
272
+ }
@@ -1,10 +1,9 @@
1
1
  .divider {
2
2
  position: relative;
3
3
  text-align: center;
4
- background-color: getFadeColor('neutral');
4
+ background-color: getColor('neutral-fade');
5
5
  height: 1px;
6
6
  width: 100%;
7
- margin: 16px 0;
8
7
 
9
8
  p.divider-content {
10
9
  position: absolute;
@@ -135,7 +135,7 @@ body:has(.modal.is-active) {
135
135
  z-index: zindex('medium');
136
136
 
137
137
  #{$hoverSelector} {
138
- background-color: getFadeColor('neutral');
138
+ background-color: getColor('neutral-fade');
139
139
  }
140
140
 
141
141
  &::after,
@@ -1,6 +1,6 @@
1
1
  $plus-symbol-size: 40px;
2
2
 
3
- @mixin plus-symbol($color: getFadeColor('neutral'), $text-color: getColor('neutral')) {
3
+ @mixin plus-symbol($color: getColor('neutral-fade'), $text-color: getColor('neutral')) {
4
4
  &::after {
5
5
  content: "+";
6
6
  display: inline-block;
@@ -8,6 +8,30 @@ $price-levels: (
8
8
  ($text-20),
9
9
  );
10
10
 
11
+ .price-container {
12
+ display: flex;
13
+ align-items: baseline;
14
+ column-gap: 12px;
15
+ flex-wrap: wrap;
16
+
17
+ .overline {
18
+ width: 100%;
19
+ flex: none;
20
+ margin: 0;
21
+ --font-size: #{$text-64};
22
+ font-size: calc(var(--font-size) * 0.4);
23
+
24
+ @each $price-level in $price-levels {
25
+ $i: index($price-levels, $price-level);
26
+ $font-size: nth($price-level, 1);
27
+
28
+ &:has(~ .price.is-level-#{$i}:not(.is-striked)) {
29
+ --font-size: #{$font-size};
30
+ }
31
+ }
32
+ }
33
+ }
34
+
11
35
  .price {
12
36
  display: inline-flex;
13
37
  font-weight: $weight-semibold;
@@ -70,7 +94,6 @@ $price-levels: (
70
94
  &::before {
71
95
  border-width: 3px;
72
96
  margin-left: -6px;
73
- margin-top: 4px;
74
97
  border-radius: 1px;
75
98
  }
76
99
  font-size: $text-10;
@@ -122,16 +145,6 @@ $price-levels: (
122
145
  color: getColor('background');
123
146
  }
124
147
 
125
- &.has-suptitle {
126
- display: flex;
127
- flex-wrap: wrap;
128
-
129
- .price-suptitle {
130
- flex-basis: 100%;
131
- font-size: 0.375em;
132
- }
133
- }
134
-
135
148
  &.has-description {
136
149
  .cents,
137
150
  .centimes {
@@ -170,7 +183,7 @@ $price-levels: (
170
183
 
171
184
  &.is-striked {
172
185
  position: relative;
173
- color: getFadeColor('font');
186
+ color: getColor('main-fade');
174
187
 
175
188
  &::before {
176
189
  position: absolute;
@@ -185,27 +198,18 @@ $price-levels: (
185
198
  }
186
199
 
187
200
  &.is-inverted {
188
- color: getFadeColor('font');
201
+ color: getColor('main-fade');
189
202
 
190
203
  &::before {
191
204
  border-color: getColor('background');
192
205
  }
193
206
  }
194
-
195
- &.has-suptitle {
196
- display: inline-flex;
197
- margin-top: 0.55em;
198
-
199
- .price-suptitle {
200
- position: absolute;
201
- top: -1.4em;
202
- }
203
- }
204
207
  }
205
208
  }
206
209
 
207
210
  .price-tag {
208
- background-color: getColor('alternate');
211
+ align-self: center;
212
+ background-color: getColor('accent');
209
213
  margin-left: 10px;
210
214
  border-radius: 6px;
211
215
  display: inline-flex;
@@ -216,11 +220,12 @@ $price-levels: (
216
220
  line-height: 1em;
217
221
  align-items: baseline;
218
222
  position: relative;
223
+ margin-left: -4px;
219
224
  &::before {
220
225
  content: '';
221
226
  border-color: transparent;
222
- border-bottom-color: getColor('alternate');
223
- border-left-color: getColor('alternate');
227
+ border-bottom-color: getColor('accent');
228
+ border-left-color: getColor('accent');
224
229
  transform: rotate(45deg);
225
230
  border-style: solid;
226
231
  border-width: 5px;
@@ -1,7 +1,7 @@
1
1
  .segmented-control {
2
2
  border-radius: 6px;
3
3
  padding: $spacing-1;
4
- background-color: getFadeColor('neutral');
4
+ background-color: getColor('neutral-fade');
5
5
  display: inline-block;
6
6
  margin: 16px 0;
7
7
 
@@ -19,7 +19,7 @@
19
19
  border: 2px solid transparent;
20
20
  height: 42px;
21
21
  color: getColor('font');
22
- background-color: getFadeColor('neutral');
22
+ background-color: getColor('neutral-fade');
23
23
 
24
24
  &:not(:last-child) {
25
25
  margin-right: 4px;
@@ -23,7 +23,7 @@
23
23
  height: 4px;
24
24
  border-radius: var(--radius-small);
25
25
  background-size: 200% !important;
26
- background-color: getFadeColor('neutral');
26
+ background-color: getColor('neutral-fade');
27
27
  }
28
28
 
29
29
  &.is-error {
@@ -204,7 +204,7 @@
204
204
 
205
205
  @keyframes progress {
206
206
  0%, 100% {
207
- background-image: linear-gradient(to right, transparent 0, transparent 50%, getFadeColor('neutral') 50%, getFadeColor('neutral') 100%);
207
+ background-image: linear-gradient(to right, transparent 0, transparent 50%, getColor('neutral-fade') 50%, getColor('neutral-fade') 100%);
208
208
  }
209
209
  0% {
210
210
  background-position: 100% 0;
@@ -1,9 +1,9 @@
1
1
  @use 'sass:math';
2
2
  @import "../utilities/spacing";
3
3
 
4
- $timeline-marker-color: getFadeColor('neutral') !default;
4
+ $timeline-marker-color: getColor('neutral-fade') !default;
5
5
  $timeline-marker-icon-size: 2.85em !default;
6
- $timeline-line-color: getFadeColor('neutral') !default;
6
+ $timeline-line-color: getColor('neutral-fade') !default;
7
7
  $timeline-marker-size: 0.8em !default;
8
8
  $timeline-marker-border-size: 0.1em !default;
9
9
  $timeline-marker-border: $timeline-marker-border-size solid $timeline-marker-color !default;
@@ -53,7 +53,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
53
53
  padding-bottom: $spacing-2;
54
54
 
55
55
  &::before {
56
- background-color: getFadeColor('neutral');
56
+ background-color: getColor('neutral-fade');
57
57
  }
58
58
 
59
59
  .timeline-marker.is-icon {
@@ -117,12 +117,12 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
117
117
  &.cancel {
118
118
  .timeline-marker.is-icon {
119
119
  background-color: getColor('neutral');
120
- color: getFadeColor('neutral');
120
+ color: getColor('neutral-fade');
121
121
  }
122
122
 
123
123
  &::before {
124
124
  content: '';
125
- background-color: getFadeColor('neutral');
125
+ background-color: getColor('neutral-fade');
126
126
  display: block;
127
127
  width: $timeline-line-width;
128
128
  position: absolute;
@@ -215,7 +215,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
215
215
  }
216
216
  }
217
217
 
218
- @each $name in $colors-brand-funcionnal {
218
+ @each $name in $colors-brand-functionnal {
219
219
  $color: getColor($name);
220
220
  $brandName: getColorBrandName($name);
221
221
 
@@ -295,7 +295,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
295
295
  }
296
296
  }
297
297
 
298
- @each $name, $pair in $colors-brand-funcionnal {
298
+ @each $name, $pair in $colors-brand-functionnal {
299
299
  $color: getColor($name);
300
300
  $brandName: getColorBrandName($name);
301
301
 
@@ -339,7 +339,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
339
339
  }
340
340
 
341
341
  &.undone::before {
342
- background-color: getFadeColor('neutral');
342
+ background-color: getColor('neutral-fade');
343
343
  }
344
344
 
345
345
  &.done::before {
@@ -347,7 +347,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
347
347
  }
348
348
 
349
349
  &.cancel::before {
350
- background-color: getFadeColor('neutral');
350
+ background-color: getColor('neutral-fade');
351
351
  }
352
352
 
353
353
  .timeline-marker {
@@ -11,9 +11,7 @@ a.alert {
11
11
  }
12
12
 
13
13
  .alert {
14
-
15
14
  border-radius: var(--radius);
16
- margin-bottom: 16px;
17
15
  position: relative;
18
16
  display: flex;
19
17
  align-self: flex-start;
@@ -49,7 +47,7 @@ a.alert {
49
47
 
50
48
  @each $name in $colors-feedback {
51
49
  &.is-#{$name} {
52
- background-color: getFadeColor($name);
50
+ background-color: fadeColor($name);
53
51
  border: 1px solid getColor($name);
54
52
 
55
53
  .icon {
@@ -23,8 +23,8 @@
23
23
  @include hoverRules();
24
24
  margin-left: calc(2px - $spacing-3 );
25
25
  margin-right: calc(2px - $spacing-3 );
26
- border-top: 1px solid getColor('fade-neutral');
27
- border-bottom: 1px solid getColor('fade-neutral');
26
+ border-top: 1px solid getColor('neutral-fade');
27
+ border-bottom: 1px solid getColor('neutral-fade');
28
28
  padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
29
29
  }
30
30
  }
@@ -69,7 +69,7 @@ a.box {
69
69
  border-left: $highlighted-border-width solid transparent;
70
70
  border-top-left-radius: calc(var(--radius) + $highlighted-border-width);
71
71
  border-bottom-left-radius: calc(var(--radius) + $highlighted-border-width);
72
- @each $name, $pair in $colors-brand-funcionnal {
72
+ @each $name, $pair in $colors-brand-functionnal {
73
73
  $color: getColor($name);
74
74
  $brandName: getColorBrandName($name);
75
75
 
@@ -158,7 +158,7 @@ a.box {
158
158
  margin-right: calc(var(--padding-box)*-1);
159
159
  margin-bottom: calc(var(--padding-box)*-1);
160
160
  padding: var(--padding-box);
161
- border-top: 1px solid getFadeColor('neutral');
161
+ border-top: 1px solid getColor('neutral-fade');
162
162
  border-bottom-left-radius: var(--radius);
163
163
  border-bottom-right-radius: var(--radius);
164
164
  }
@@ -63,8 +63,8 @@ $button-border-width: 2px !default;
63
63
 
64
64
  &[disabled],
65
65
  &[aria-disabled=true] {
66
- background-color: getFadeColorValue('main') !important;
67
- color: getFadeColorValue('disabled') !important
66
+ background-color: getColorValue('main-fade') !important;
67
+ color: getColorValue('disabled-fade') !important
68
68
  }
69
69
 
70
70
  &.is-loading {
@@ -55,20 +55,20 @@
55
55
  }
56
56
  }
57
57
  #{$hoverSelector} {
58
- background-color: getFadeColor('neutral');
58
+ background-color: getColor('neutral-fade');
59
59
  }
60
60
  }
61
61
 
62
62
  &.is-inverted {
63
63
  background-color: white;
64
- color: getColor('alternate');
64
+ color: getColor('accent');
65
65
 
66
66
  &:active,
67
67
  &:hover,
68
68
  &:focus,
69
69
  &:focus-visible,
70
70
  &.is-active {
71
- background-color: getColor('alternate') !important;
71
+ background-color: getColor('accent') !important;
72
72
  color: getColor('background') !important;
73
73
  }
74
74
  }
@@ -9,7 +9,7 @@
9
9
  width: 100%;
10
10
 
11
11
  // Colors
12
- @each $name in $colors-brand-funcionnal {
12
+ @each $name in $colors-brand-functionnal {
13
13
  $color: getColor($name);
14
14
  $color-invert: invertColor($name);
15
15
  $brandName: getColorBrandName($name);