@trilogy-ds/styles 0.0.1-beta-73 → 0.0.1-beta-75

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 (43) 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 +13 -13
  5. package/framework/src/base/_generic.scss +1 -1
  6. package/framework/src/base/_helpers.scss +3 -3
  7. package/framework/src/components/_all.scss +0 -1
  8. package/framework/src/components/_card.scss +1 -1
  9. package/framework/src/components/_divider.scss +1 -1
  10. package/framework/src/components/_fab.scss +10 -2
  11. package/framework/src/components/_modal.scss +1 -1
  12. package/framework/src/components/_pagination.scss +6 -3
  13. package/framework/src/components/_plus-symbol.scss +1 -1
  14. package/framework/src/components/_price.scss +2 -2
  15. package/framework/src/components/_segmented-control.scss +2 -2
  16. package/framework/src/components/_stepper.scss +2 -2
  17. package/framework/src/components/_timeline.scss +9 -12
  18. package/framework/src/elements/_alert.scss +1 -1
  19. package/framework/src/elements/_all.scss +0 -1
  20. package/framework/src/elements/_autocomplete.scss +3 -3
  21. package/framework/src/elements/_box.scss +1 -1
  22. package/framework/src/elements/_button.scss +2 -2
  23. package/framework/src/elements/_chips.scss +1 -1
  24. package/framework/src/elements/_form.scss +4 -4
  25. package/framework/src/elements/_other.scss +0 -37
  26. package/framework/src/elements/_progress.scss +3 -3
  27. package/framework/src/elements/_switch.scss +4 -4
  28. package/framework/src/elements/_table.scss +10 -10
  29. package/framework/src/elements/_tag.scss +3 -3
  30. package/framework/src/elements/_toaster.scss +2 -2
  31. package/framework/src/grid/_columns.scss +1 -1
  32. package/framework/src/layout/_section.scss +0 -17
  33. package/framework/src/theming/buttons_partial.scss +1 -1
  34. package/framework/src/theming/common_partials.scss +1 -1
  35. package/framework/src/utilities/_all.scss +1 -1
  36. package/framework/src/utilities/_background.scss +2 -2
  37. package/framework/src/utilities/_colors.scss +23 -0
  38. package/framework/src/utilities/_initial-variables.scss +1 -29
  39. package/framework/src/utilities/_mixins.scss +13 -6
  40. package/package.json +1 -1
  41. package/framework/src/components/_level.scss +0 -120
  42. package/framework/src/components/_media.scss +0 -64
  43. package/framework/src/elements/_dot.scss +0 -6
@@ -1,36 +1,36 @@
1
1
  @use "sass:map";
2
2
 
3
3
  @function getColor( $name ) {
4
- @if str-slice($name, 0, 3) == 'bg-' {
5
- $submane: str-slice($name, 4);
6
- @return getBGColor( $submane );
4
+ @if str-slice($name, 0, 5) == 'fade-' {
5
+ $submane: str-slice($name, 6);
6
+ @return getFadeColor( $submane );
7
7
  }
8
- @return var(--color-#{nth(map-get($colors,$name),1)})
8
+ @return var(--color-#{nth(map-get($colors,$name),3)});
9
9
  }
10
10
 
11
11
  @function getColorValue( $name ) {
12
- @return #{nth(map-get($colors,$name),2)}
12
+ @return #{nth(map-get($colors,$name),1)}
13
13
  }
14
14
 
15
- @function getBGColorValue( $name ) {
16
- @return #{nth(map-get($colors,$name),4)}
15
+ @function getFadeColorValue( $name ) {
16
+ @return #{nth(map-get($colors,$name),2)}
17
17
  }
18
18
 
19
19
  @function getColorBrandName( $name ) {
20
- @return #{nth(map-get($colors,$name),1)}
20
+ @return #{nth(map-get($colors,$name),3)}
21
21
  }
22
22
 
23
- @function getBGColor( $name ) {
24
- @return var(--color-bg-#{nth(map-get($colors,$name),1)})
23
+ @function getFadeColor( $name ) {
24
+ @return var(--color-fade-#{nth(map-get($colors,$name),3)})
25
25
  }
26
26
 
27
27
  :root {
28
28
  @each $name, $color in $colors {
29
- --color-#{nth($color,1)}: #{nth($color,2)};
30
- --color-bg-#{nth($color,1)}: #{nth($color,4)};
29
+ --color-#{nth($color,3)}: #{nth($color,1)};
30
+ --color-fade-#{nth($color,3)}: #{nth($color,2)};
31
31
  }
32
32
  }
33
33
 
34
34
  @function invertColor ($colorName) {
35
- @return var(--color-#{nth(map-get($colors,$colorName),3)})
35
+ @return var(--color-#{nth(map-get($colors,$colorName),4)})
36
36
  }
@@ -7,7 +7,7 @@ $body-line-height: 1.5 !default;
7
7
  .html-wrap {
8
8
  margin: 0;
9
9
  padding: 0;
10
- background-color: getBGColor('neutral');
10
+ background-color: getColor('background');
11
11
  font-size: $body-size;
12
12
  -moz-osx-font-smoothing: grayscale;
13
13
  -webkit-font-smoothing: antialiased;
@@ -197,8 +197,8 @@ $alignments: (
197
197
 
198
198
  @mixin typography-colors() {
199
199
  @each $name, $color in $colors {
200
- $brandName: nth($color, 1);
201
- $color: nth($color, 2);
200
+ $brandName: nth($color, 3);
201
+ $color: nth($color, 1);
202
202
  $color-invert: invertColor($name);
203
203
 
204
204
  .has-text-#{$brandName} {
@@ -211,7 +211,7 @@ $alignments: (
211
211
  background-color: getColor($name) !important;
212
212
  }
213
213
  .has-background-#{$brandName}-fade {
214
- background-color: getBGColor($name) !important;
214
+ background-color: getFadeColor($name) !important;
215
215
  }
216
216
  }
217
217
  }
@@ -4,7 +4,6 @@
4
4
  @import 'divider';
5
5
  @import 'breadcrumb';
6
6
  @import 'card';
7
- @import 'level';
8
7
  @import 'modal';
9
8
  @import 'pagination';
10
9
  @import 'popover';
@@ -6,7 +6,7 @@
6
6
  flex-direction: column;
7
7
  position: relative;
8
8
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
9
- background-color: getColor("background");
9
+ background-color: getColor('background');
10
10
 
11
11
  &:not(:last-child) {
12
12
  margin-bottom: 15px;
@@ -1,7 +1,7 @@
1
1
  .divider {
2
2
  position: relative;
3
3
  text-align: center;
4
- background-color: getBGColor('hovered');
4
+ background-color: getFadeColor('neutral');
5
5
  height: 1px;
6
6
  width: 100%;
7
7
  margin: 16px 0;
@@ -20,12 +20,20 @@
20
20
  white-space: nowrap;
21
21
 
22
22
  #{$hoverSelector}, &.is-extended, &:focus, &:focus-visible, &:focus-within {
23
- background-color: getColor('hovered');
23
+ background: linear-gradient(
24
+ to top,
25
+ rgba(0, 0, 0, 0.25),
26
+ rgba(0, 0, 0, 0.25)
27
+ ) getColor('font');
24
28
  max-width: 300px;
25
29
  }
26
30
 
27
31
  &:active {
28
- background-color: getColor('hovered');
32
+ background: linear-gradient(
33
+ to top,
34
+ rgba(0, 0, 0, 0.25),
35
+ rgba(0, 0, 0, 0.25)
36
+ ) getColor('font');
29
37
  }
30
38
 
31
39
  .icon {
@@ -135,7 +135,7 @@ body:has(.modal.is-active) {
135
135
  z-index: zindex('medium');
136
136
 
137
137
  #{$hoverSelector} {
138
- background-color: getBGColor('neutral');
138
+ background-color: getFadeColor('neutral');
139
139
  }
140
140
 
141
141
  &::after,
@@ -48,7 +48,7 @@
48
48
  .pagination-previous,
49
49
  .pagination-next,
50
50
  .pagination-link {
51
- color: getColor('neutral-dark');
51
+ color: getColor('neutral');
52
52
  min-width: 2.25em;
53
53
 
54
54
  @include hover();
@@ -66,9 +66,12 @@
66
66
  &[aria-current] {
67
67
  background-color: getColor('font');
68
68
  color: getColor('background');
69
-
70
69
  #{$hoverSelector}, &:focus, &:focus-within {
71
- background-color: getColor('hovered');
70
+ background: linear-gradient(
71
+ to top,
72
+ rgba(0, 0, 0, 0.25),
73
+ rgba(0, 0, 0, 0.25)
74
+ ) getColor('font') !important;
72
75
  }
73
76
  }
74
77
  }
@@ -1,6 +1,6 @@
1
1
  $plus-symbol-size: 40px;
2
2
 
3
- @mixin plus-symbol($color: getBGColor('neutral-dark'), $text-color: getColor('neutral-dark')) {
3
+ @mixin plus-symbol($color: getFadeColor('neutral'), $text-color: getColor('neutral')) {
4
4
  &::after {
5
5
  content: "+";
6
6
  display: inline-block;
@@ -170,7 +170,7 @@ $price-levels: (
170
170
 
171
171
  &.is-striked {
172
172
  position: relative;
173
- color: getBGColor('font');
173
+ color: getFadeColor('font');
174
174
 
175
175
  &::before {
176
176
  position: absolute;
@@ -185,7 +185,7 @@ $price-levels: (
185
185
  }
186
186
 
187
187
  &.is-inverted {
188
- color: getBGColor('font');
188
+ color: getFadeColor('font');
189
189
 
190
190
  &::before {
191
191
  border-color: getColor('background');
@@ -1,7 +1,7 @@
1
1
  .segmented-control {
2
2
  border-radius: 6px;
3
3
  padding: $spacing-1;
4
- background-color: getBGColor('neutral');
4
+ background-color: getFadeColor('neutral');
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: getBGColor('neutral');
22
+ background-color: getFadeColor('neutral');
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: getBGColor('neutral');
26
+ background-color: getFadeColor('neutral');
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%, getBGColor('neutral') 50%, getBGColor('neutral') 100%);
207
+ background-image: linear-gradient(to right, transparent 0, transparent 50%, getFadeColor('neutral') 50%, getFadeColor('neutral') 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: getBGColor('neutral') !default;
4
+ $timeline-marker-color: getFadeColor('neutral') !default;
5
5
  $timeline-marker-icon-size: 2.85em !default;
6
- $timeline-line-color: getBGColor('neutral') !default;
6
+ $timeline-line-color: getFadeColor('neutral') !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: getBGColor('neutral');
56
+ background-color: getFadeColor('neutral');
57
57
  }
58
58
 
59
59
  .timeline-marker.is-icon {
@@ -116,13 +116,13 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
116
116
 
117
117
  &.cancel {
118
118
  .timeline-marker.is-icon {
119
- background-color: getColor('neutral-dark');
120
- color: getBGColor('neutral');
119
+ background-color: getColor('neutral');
120
+ color: getFadeColor('neutral');
121
121
  }
122
122
 
123
123
  &::before {
124
124
  content: '';
125
- background-color: getBGColor('neutral-dark');
125
+ background-color: getFadeColor('neutral');
126
126
  display: block;
127
127
  width: $timeline-line-width;
128
128
  position: absolute;
@@ -338,11 +338,8 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
338
338
  background-color: getColor('main');
339
339
  }
340
340
 
341
- &.undone {
342
-
343
- &::before {
344
- background-color: getBGColor('neutral');
345
- }
341
+ &.undone::before {
342
+ background-color: getFadeColor('neutral');
346
343
  }
347
344
 
348
345
  &.done::before {
@@ -350,7 +347,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
350
347
  }
351
348
 
352
349
  &.cancel::before {
353
- background-color: getBGColor('neutral-dark');
350
+ background-color: getFadeColor('neutral');
354
351
  }
355
352
 
356
353
  .timeline-marker {
@@ -49,7 +49,7 @@ a.alert {
49
49
 
50
50
  @each $name in $colors-feedback {
51
51
  &.is-#{$name} {
52
- background-color: getBGColor($name);
52
+ background-color: getFadeColor($name);
53
53
  border: 1px solid getColor($name);
54
54
 
55
55
  .icon {
@@ -9,7 +9,6 @@
9
9
  @import 'chips';
10
10
  @import 'checkbox';
11
11
  @import 'container';
12
- @import 'dot';
13
12
  @import 'entry';
14
13
  @import 'form';
15
14
  @import 'icon';
@@ -23,10 +23,10 @@
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 var(--color-bg-hovered);
27
- border-bottom: 1px solid var(--color-bg-hovered);
26
+ border-top: 1px solid getColor('fade-neutral');
27
+ border-bottom: 1px solid getColor('fade-neutral');
28
28
  padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
29
29
  }
30
30
  }
31
31
  }
32
- }
32
+ }
@@ -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 getBGColor('hovered');
161
+ border-top: 1px solid getFadeColor('neutral');
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: getBGColorValue('main') !important;
67
- color: getBGColorValue('disabled') !important
66
+ background-color: getFadeColorValue('main') !important;
67
+ color: getFadeColorValue('disabled') !important
68
68
  }
69
69
 
70
70
  &.is-loading {
@@ -55,7 +55,7 @@
55
55
  }
56
56
  }
57
57
  #{$hoverSelector} {
58
- background-color: var(--color-bg-hovered);
58
+ background-color: getFadeColor('neutral');
59
59
  }
60
60
  }
61
61
 
@@ -228,7 +228,7 @@ $label-weight: $weight-bold;
228
228
  @each $name, $pair in $colors-feedback {
229
229
  &.is-#{$name} {
230
230
  ~ .icon {
231
- color: getBGColor($name);
231
+ color: getFadeColor($name);
232
232
  }
233
233
  }
234
234
  }
@@ -242,7 +242,7 @@ $label-weight: $weight-bold;
242
242
  @each $name, $pair in $colors-feedback {
243
243
  &.is-#{$name} {
244
244
  ~ .icon {
245
- color: getBGColor($name)
245
+ color: getFadeColor($name)
246
246
  }
247
247
  }
248
248
  }
@@ -405,7 +405,7 @@ $label-weight: $weight-bold;
405
405
 
406
406
  &:hover,
407
407
  &:focus {
408
- color: getColor('neutral-dark');
408
+ color: getColor('neutral');
409
409
  }
410
410
  }
411
411
  }
@@ -569,7 +569,7 @@ $label-weight: $weight-bold;
569
569
  }
570
570
 
571
571
  .label {
572
- color: getColor('neutral-dark');
572
+ color: getColor('neutral');
573
573
  display: block;
574
574
  font-size: $size-normal;
575
575
  font-weight: $label-weight;
@@ -5,40 +5,3 @@
5
5
  .delete {
6
6
  @include delete;
7
7
  }
8
-
9
- .heading {
10
- display: block;
11
- font-size: 11px;
12
- letter-spacing: 1px;
13
- margin-bottom: 5px;
14
- text-transform: uppercase;
15
- }
16
-
17
- .highlight {
18
- @include block;
19
-
20
- font-weight: $weight-normal;
21
- max-width: 100%;
22
- overflow: hidden;
23
- padding: 0;
24
-
25
- pre {
26
- overflow: auto;
27
- max-width: 100%;
28
- }
29
- }
30
-
31
- .number {
32
- align-items: center;
33
- background-color: getBGColor('neutral-dark');
34
- border-radius: 9999px;
35
- display: inline-flex;
36
- font-size: $size-medium;
37
- height: 2em;
38
- justify-content: center;
39
- margin-right: 15px;
40
- min-width: 2.5em;
41
- padding: 2.5px 5px;
42
- text-align: center;
43
- vertical-align: top;
44
- }
@@ -18,10 +18,10 @@ $progressbar-small: 5px;
18
18
  -moz-appearance: none;
19
19
  -webkit-appearance: none;
20
20
 
21
- background-color: getBGColor('hovered');
21
+ background-color: getFadeColor('neutral');
22
22
 
23
23
  &::-webkit-progress-bar {
24
- background-color: getBGColor('font');
24
+ background-color: getFadeColor('font');
25
25
  border-radius: $progressbar-height;
26
26
  }
27
27
 
@@ -98,7 +98,7 @@ $progress-circle-slices: (
98
98
  secondary: getColor('info'),
99
99
  tertiary: getColor('font'),
100
100
  warning: getColor('warning'),
101
- empty: getBGColor('neutral-dark')
101
+ empty: getFadeColor('neutral')
102
102
  );
103
103
 
104
104
  .progress-circle {
@@ -15,14 +15,14 @@
15
15
 
16
16
  &:disabled ~ label {
17
17
  &:after {
18
- $colorSvg: encodecolor(getColorValue('neutral-dark'));
18
+ $colorSvg: encodecolor(getColorValue('neutral'));
19
19
  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>');
20
20
  }
21
21
  }
22
22
 
23
23
  &:disabled:checked ~ label {
24
24
  &:after {
25
- $colorSvg: encodecolor(getColorValue('neutral-dark'));
25
+ $colorSvg: encodecolor(getColorValue('neutral'));
26
26
  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>');
27
27
  }
28
28
  }
@@ -45,12 +45,12 @@
45
45
  border-radius: 9999px;
46
46
  width: 44px;
47
47
  height: 22px;
48
- background-color: getBGColor('font');
48
+ background-color: getFadeColor('font');
49
49
  margin-left: 16px;
50
50
  }
51
51
 
52
52
  &:after {
53
- $colorSvg: encodecolor(getBGColorValue('font'));
53
+ $colorSvg: encodecolor(getFadeColorValue('font'));
54
54
  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>');
55
55
  position: absolute;
56
56
  top: 50%;
@@ -11,7 +11,7 @@
11
11
  @include block;
12
12
 
13
13
  background-color: transparent;
14
- color: getColor('neutral-dark');
14
+ color: getColor('neutral');
15
15
 
16
16
  &:not(:last-child) {
17
17
  margin-bottom: 30px;
@@ -21,12 +21,12 @@
21
21
  * @deprecated "Use multiples <tr><th> instead"
22
22
  */
23
23
  tbody .is-body-header {
24
- background-color: getBGColor('neutral-dark');
24
+ background-color: getFadeColor('neutral');
25
25
  }
26
26
 
27
27
  td,
28
28
  th {
29
- border: 1px solid getBGColor('neutral-dark');
29
+ border: 1px solid getFadeColor('neutral');
30
30
  border-width: 0;
31
31
  padding: 20px;
32
32
  vertical-align: top;
@@ -56,7 +56,7 @@
56
56
  tr {
57
57
  @each $name in $colors-feedback {
58
58
  &.is-#{$name} {
59
- background-color: getBGColor($name);
59
+ background-color: getFadeColor($name);
60
60
  }
61
61
  }
62
62
 
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  td {
74
- border-bottom: 1px solid getBGColor('neutral-dark');
74
+ border-bottom: 1px solid getFadeColor('neutral');
75
75
 
76
76
  > p {
77
77
  margin: 0;
@@ -155,12 +155,12 @@
155
155
 
156
156
  &:not(.is-bordered).is-comparative {
157
157
  th {
158
- border-right: 1px solid getBGColor('neutral');
158
+ border-right: 1px solid getFadeColor('neutral');
159
159
  }
160
160
 
161
161
  td {
162
162
  &:not(:last-child) {
163
- border-right: 1px solid getBGColor('neutral-dark');
163
+ border-right: 1px solid getFadeColor('neutral');
164
164
  }
165
165
  }
166
166
  }
@@ -196,14 +196,14 @@
196
196
  tbody {
197
197
  tr:not(.is-selected) {
198
198
  &:nth-child(even) {
199
- background-color: getBGColor('neutral');
199
+ background-color: getFadeColor('neutral');
200
200
  }
201
201
  }
202
202
  }
203
203
  }
204
204
 
205
205
  .subtable {
206
- background-color: getBGColor('neutral');
206
+ background-color: getFadeColor('neutral');
207
207
  border-radius: var(--radius);
208
208
  padding: $box-padding * 2;
209
209
 
@@ -216,7 +216,7 @@
216
216
 
217
217
  tr:not(:first-child) {
218
218
  td {
219
- border-top: 1px solid getColor('neutral-dark');
219
+ border-top: 1px solid getColor('neutral');
220
220
  }
221
221
  }
222
222
 
@@ -85,7 +85,7 @@ $tag-delete-margin: 1px !default;
85
85
 
86
86
  &.is-inverted {
87
87
  .tag {
88
- background-color: getColor(getColor('background'));
88
+ background-color: getColor('fade-background');
89
89
  }
90
90
  }
91
91
 
@@ -94,7 +94,7 @@ $tag-delete-margin: 1px !default;
94
94
 
95
95
  .tag {
96
96
  align-items: center;
97
- background-color: getBGColor('neutral-dark');
97
+ background-color: getFadeColor('neutral');
98
98
  border-radius: 9999px;
99
99
  color: getColor('font');
100
100
  display: inline-flex;
@@ -120,7 +120,7 @@ $tag-delete-margin: 1px !default;
120
120
 
121
121
  @each $name in $colors-feedback {
122
122
  &.is-#{$name}:not(.is-inverted) {
123
- background-color: getBGColor($name);
123
+ background-color: getFadeColor($name);
124
124
  }
125
125
  &.is-inverted.is-#{$name} {
126
126
  color: getColor($name);
@@ -13,7 +13,7 @@ a.toaster {
13
13
  @include apply-shadow-box();
14
14
 
15
15
 
16
- background-color: getColor('bg-info');
16
+ background-color: getColor('fade-info');
17
17
  border-radius: var(--radius);
18
18
  margin-bottom: 16px;
19
19
  position: relative;
@@ -64,7 +64,7 @@ a.toaster {
64
64
 
65
65
  @each $name in $colors-feedback {
66
66
  &.is-#{$name} {
67
- background-color: getBGColor($name);
67
+ background-color: getFadeColor($name);
68
68
  border: 2px solid getColor($name);
69
69
 
70
70
  .icon {
@@ -781,7 +781,7 @@
781
781
  }
782
782
 
783
783
  &::-webkit-scrollbar-track {
784
- background-color: getBGColor('font');
784
+ background-color: getFadeColor('font');
785
785
  border-radius: var(--radius);
786
786
  margin: 0 8px;
787
787
  }
@@ -13,14 +13,6 @@
13
13
  }
14
14
  }
15
15
 
16
- &:nth-child(even) {
17
- background-color: getBGColor('neutral');
18
- }
19
-
20
- &:nth-child(odd) {
21
- background-color: getColor('background');
22
- }
23
-
24
16
  &.is-info {
25
17
  background-color: getColor('info');
26
18
  color: getColor('background');
@@ -46,13 +38,4 @@
46
38
  &.has-pattern-dark {
47
39
  @include pattern-dark(120%, 260px, -30%);
48
40
  }
49
-
50
- }
51
-
52
- .section:nth-child(2n).is-inverted {
53
- background-color: getColor('background');
54
- }
55
-
56
- .section:nth-child(2n-1).is-inverted {
57
- background-color: getBGColor('neutral');
58
41
  }
@@ -9,7 +9,7 @@ Colors for buttons
9
9
  $button-colors: (
10
10
  'accent':['conversion', 'alternate', 'background'],
11
11
  'primary': ['primary', 'main', 'background'],
12
- 'secondary': ['secondary', 'bg-main', 'main'],
12
+ 'secondary': ['secondary', 'fade-main', 'main'],
13
13
  'ghost': ['ghost', 'background', 'main'],
14
14
  ) !default;
15
15