@trilogy-ds/styles 4.7.4 → 4.7.5-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.
@@ -26,12 +26,11 @@
26
26
  }
27
27
 
28
28
  .segmented-control-item {
29
- padding: 0 $spacing-5;
29
+ padding: $spacing-3 $spacing-4;
30
30
  border-radius: var(--radius-small);
31
31
  font-size: 16px;
32
32
  text-align: center;
33
33
  border: 2px solid transparent;
34
- height: 42px;
35
34
  color: getColor('font');
36
35
  background-color: getColor('background');
37
36
 
@@ -131,7 +131,7 @@
131
131
  }
132
132
 
133
133
  label.#{$type}-label {
134
- padding-left: 30px;
134
+ padding-left: calc(18px + $spacing-3);
135
135
 
136
136
  &:before,
137
137
  &:after {
@@ -43,7 +43,11 @@ $fade-colors: (
43
43
  ) !default;
44
44
 
45
45
  @function getColor( $name ) {
46
- @return var(--color-#{nth(map-get($colors,$name),2)});
46
+ @if global-variable-exists(suffix-theme) {
47
+ @return var(--color-#{nth(map-get($colors, $name), 2)}-#{$suffix-theme});
48
+ } @else {
49
+ @return var(--color-#{nth(map-get($colors,$name),2)});
50
+ }
47
51
  }
48
52
 
49
53
  @function getColorValue( $name ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.7.4",
3
+ "version": "4.7.5-beta-1",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [