@trilogy-ds/styles 0.0.9-beta-v4 → 0.0.9-calendar

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 (99) 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/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +0 -21
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +5 -0
  9. package/framework/src/base/_helpers.scss +21 -6
  10. package/framework/src/base/_loading.scss +2 -2
  11. package/framework/src/base/_reset.scss +6 -1
  12. package/framework/src/components/_accordion.scss +4 -3
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +119 -125
  15. package/framework/src/{elements → components}/_box.scss +9 -11
  16. package/framework/src/components/_breadcrumb.scss +17 -31
  17. package/framework/src/{elements → components}/_button.scss +12 -4
  18. package/framework/src/components/_calendar.scss +128 -0
  19. package/framework/src/components/_card.scss +26 -9
  20. package/framework/src/{elements → components}/_checkbox.scss +30 -1
  21. package/framework/src/components/_countdown.scss +1 -1
  22. package/framework/src/components/_divider.scss +16 -0
  23. package/framework/src/components/_flex-box.scss +457 -0
  24. package/framework/src/components/_index.scss +48 -0
  25. package/framework/src/{elements → components}/_link.scss +9 -3
  26. package/framework/src/components/_list.scss +66 -0
  27. package/framework/src/components/_modal.scss +32 -11
  28. package/framework/src/components/_otp.scss +2 -2
  29. package/framework/src/components/_pagination.scss +4 -0
  30. package/framework/src/components/_price.scss +28 -2
  31. package/framework/src/{elements → components}/_radio.scss +2 -2
  32. package/framework/src/components/_segmented-control.scss +9 -5
  33. package/framework/src/{elements → components}/_select.scss +47 -21
  34. package/framework/src/components/_stepper.scss +1 -1
  35. package/framework/src/{elements → components}/_sticker.scss +13 -1
  36. package/framework/src/{elements → components}/_switch.scss +7 -7
  37. package/framework/src/{elements → components}/_table.scss +9 -10
  38. package/framework/src/components/_tabs.scss +72 -28
  39. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  40. package/framework/src/components/_textarea.scss +46 -0
  41. package/framework/src/components/_timeline.scss +1 -1
  42. package/framework/src/{elements → components}/_title.scss +10 -0
  43. package/framework/src/components/alert/_index.scss +2 -0
  44. package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
  45. package/framework/src/{elements → components/input}/_entry.scss +48 -10
  46. package/framework/src/{elements → components/input}/_form.scss +18 -12
  47. package/framework/src/components/input/_index.scss +4 -0
  48. package/framework/src/{elements → components/input}/_input-gauge.scss +8 -0
  49. package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
  50. package/framework/src/components/progress/_index.scss +2 -0
  51. package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
  52. package/framework/src/{elements → components/progress}/_progress.scss +3 -3
  53. package/framework/src/elements/_index.scss +5 -0
  54. package/framework/src/elements/_other.scss +0 -4
  55. package/framework/src/grid/_columns.scss +5 -9
  56. package/framework/src/layout/_hero.scss +4 -0
  57. package/framework/src/layout/_section.scss +5 -0
  58. package/framework/src/theming/common_partials.scss +1 -1
  59. package/framework/src/trilogy-mangled.scss +3 -3
  60. package/framework/src/trilogy.scss +2 -2
  61. package/framework/src/utilities/_background.scss +3 -1
  62. package/framework/src/utilities/_derived-variables.scss +0 -92
  63. package/framework/src/utilities/_initial-variables.scss +3 -111
  64. package/framework/src/utilities/_pre.scss +3 -1
  65. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  66. package/framework/src/utilities/mixins/_delete.scss +86 -0
  67. package/framework/src/utilities/mixins/_index.scss +11 -0
  68. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  69. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  70. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  71. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  72. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  73. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  74. package/framework/src/utilities/mixins/_state.scss +25 -0
  75. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  76. package/framework/src/utilities/mixins/_utils.scss +24 -0
  77. package/framework/src/utilities/variables/_animation.scss +2 -0
  78. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +44 -0
  79. package/framework/src/utilities/variables/_font.scss +97 -0
  80. package/framework/src/utilities/variables/_index.scss +6 -0
  81. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  82. package/framework/src/utilities/variables/_shadow.scss +3 -0
  83. package/framework/src/utilities/variables/_zindex.scss +14 -0
  84. package/package.json +1 -1
  85. package/framework/src/components/_all.scss +0 -24
  86. package/framework/src/elements/_all.scss +0 -32
  87. package/framework/src/elements/_autocomplete.scss +0 -32
  88. package/framework/src/elements/_list.scss +0 -62
  89. package/framework/src/elements/_textarea.scss +0 -133
  90. package/framework/src/utilities/_mixins.scss +0 -641
  91. /package/framework/src/{elements → components}/_badge.scss +0 -0
  92. /package/framework/src/{elements → components}/_chips.scss +0 -0
  93. /package/framework/src/{elements → components}/_container.scss +0 -0
  94. /package/framework/src/{elements → components}/_icon.scss +0 -0
  95. /package/framework/src/{elements → components}/_image.scss +0 -0
  96. /package/framework/src/{elements → components}/_loader.scss +0 -0
  97. /package/framework/src/{elements → components}/_tag.scss +0 -0
  98. /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
  99. /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
@@ -0,0 +1,48 @@
1
+ @charset "utf-8";
2
+ @import '../utilities/spacing';
3
+
4
+ @import 'accordion';
5
+ @import 'alert';
6
+ @import 'autocomplete';
7
+ @import 'autolayout';
8
+ @import 'badge';
9
+ @import 'box';
10
+ @import 'breadcrumb';
11
+ @import 'button';
12
+ @import 'calendar';
13
+ @import 'card';
14
+ @import 'checkbox';
15
+ @import 'chips';
16
+ @import 'container';
17
+ @import 'countdown';
18
+ @import 'divider';
19
+ @import 'fab';
20
+ @import 'flex-box';
21
+ @import 'icon';
22
+ @import 'image';
23
+ @import 'input';
24
+ @import 'link';
25
+ @import 'list';
26
+ @import 'loader';
27
+ @import 'modal';
28
+ @import 'otp';
29
+ @import 'pagination';
30
+ @import 'popover';
31
+ @import 'price';
32
+ @import 'product-tour';
33
+ @import 'progress';
34
+ @import 'radio';
35
+ @import 'range';
36
+ @import 'scroll-view';
37
+ @import 'segmented-control';
38
+ @import 'select';
39
+ @import 'stepper';
40
+ @import 'sticker';
41
+ @import 'switch';
42
+ @import 'table';
43
+ @import 'tabs';
44
+ @import 'tag';
45
+ @import 'text';
46
+ @import 'textarea';
47
+ @import 'timeline';
48
+ @import 'title';
@@ -11,18 +11,23 @@
11
11
  font-weight: $weight-normal;
12
12
  color: getColor($link-colors);
13
13
  box-decoration-break: clone;
14
- text-decoration: underline 2px solid;
14
+ text-decoration: underline;
15
+ text-decoration-thickness : 2px;
15
16
  text-underline-offset: 4px;
16
17
  cursor: pointer;
17
18
 
18
19
  &.has-icon {
19
- display: inline-flex;
20
+ display: inline-block;
20
21
  align-items: center;
21
22
 
22
23
  &::after {
23
24
  width: calc(100% - 48px);
24
25
  bottom: 5.5px;
25
26
  }
27
+
28
+ .icon {
29
+ vertical-align: middle;
30
+ }
26
31
  }
27
32
 
28
33
  &.is-inverted {
@@ -44,7 +49,8 @@
44
49
 
45
50
  .text .link:not([disabled]) {
46
51
  text-underline-offset: 2px;
47
- text-decoration: underline 1px solid;
52
+ text-decoration: underline;
53
+ text-decoration-thickness : 1px;
48
54
  &:hover {
49
55
  font-weight: $weight-normal;
50
56
  filter: brightness(0.8);
@@ -0,0 +1,66 @@
1
+ // Bullet list classiques
2
+ ol.list {
3
+ counter-reset: customCounter;
4
+
5
+ & > li.list-item {
6
+ counter-increment: customCounter;
7
+ &:not(:has(.icon)) {
8
+ &::before{
9
+ content: counter(customCounter) ". ";
10
+ margin-right:$spacing-4;
11
+ font-weight: $weight-bold;
12
+ font-size: $text-14 !important;
13
+ font-family: $family-secondary;
14
+ line-height: 1.5 !important;
15
+
16
+ }
17
+ }
18
+ }
19
+ }
20
+
21
+ ul.list {
22
+ li.list-item {
23
+ &:not(:has(.icon)) {
24
+ &::before{
25
+ content:'.';
26
+ margin-right:$spacing-4;
27
+ font-weight: 900;
28
+ font-size: $text-24;
29
+ line-height: 8px;
30
+ }
31
+ }
32
+ }
33
+ }
34
+
35
+ ul.list,
36
+ ol.list {
37
+ display: grid;
38
+ row-gap: $spacing-3;
39
+
40
+ li.list-item {
41
+ display: flex;
42
+ &:has(.icon) {
43
+ list-style: none;
44
+ display: flex;
45
+ }
46
+ .icon {
47
+ margin-right: $spacing-2;
48
+ justify-content: flex-start;
49
+ align-items: flex-start;
50
+ }
51
+ .list-item-content {
52
+ flex: 1;
53
+ }
54
+ }
55
+
56
+ &.has-divider {
57
+ li {
58
+ border-bottom: var(--border);
59
+ padding-bottom: $spacing-3;
60
+ &:last-child {
61
+ border-bottom: none;
62
+ padding-bottom: 0;
63
+ }
64
+ }
65
+ }
66
+ }
@@ -48,13 +48,12 @@ body:has(.modal.is-active) {
48
48
  }
49
49
  }
50
50
 
51
- // gestion des tailles
52
51
  @include tablet {
53
52
  justify-content: center;
54
- @each $dimension in $dimensions-extended {
55
- &.is-#{$dimension} {
53
+ @each $name, $dimension in $modal-dimensions {
54
+ &.is-#{$name} {
56
55
  .modal-content {
57
- width: map-get($modal-dimensions, $dimension);
56
+ width: $dimension;
58
57
  }
59
58
  }
60
59
  }
@@ -76,7 +75,7 @@ body:has(.modal.is-active) {
76
75
  width: 100%;
77
76
  z-index: zindex('tiny');
78
77
  transition: transform ease-in-out 250ms;
79
- transform: translateY(100%);
78
+ transform: translateY(50%);
80
79
 
81
80
  @include tablet {
82
81
  max-height: calc(100vh - 120px);
@@ -110,20 +109,23 @@ body:has(.modal.is-active) {
110
109
  .modal-header {
111
110
  padding: $spacing-5;
112
111
  color: getColor('font');
113
- font-family: $family-sans-serif;
112
+ font-family: $family-primary;
114
113
  font-size: $size-3;
115
114
  font-weight: $weight-semibold;
116
115
  line-height: 1.1;
117
116
  background-color: getColor('background');
118
- z-index: zindex('small');
117
+ z-index: zindex('medium');
119
118
  position: sticky;
120
119
  top: 0;
121
120
  width: 100%;
122
121
  word-wrap: break-word;
123
122
  display: flex;
124
- flex-direction: row-reverse;
125
123
  justify-content: space-between;
126
124
 
125
+ &:has(.modal-close) {
126
+ flex-direction: row-reverse;
127
+ }
128
+
127
129
  &:has(.icon) {
128
130
  text-align: center;
129
131
  }
@@ -139,7 +141,7 @@ body:has(.modal.is-active) {
139
141
  display: block;
140
142
  height: $modal-close-dimensions;
141
143
  width: $modal-close-dimensions;
142
- z-index: zindex('medium');
144
+ z-index: zindex('large');
143
145
 
144
146
  #{$hoverSelector} {
145
147
  background-color: getColor('neutral-fade');
@@ -149,12 +151,22 @@ body:has(.modal.is-active) {
149
151
  &::before {
150
152
  background-color: getColor('font');
151
153
  }
154
+
155
+ &:focus-visible,
156
+ &:focus:focus-visible {
157
+ outline: 2px solid getColor('font') !important;
158
+ outline-offset: 2px;
159
+ }
160
+ &:focus{
161
+ background-color: transparent !important;
162
+ }
152
163
  }
153
164
  }
154
165
 
155
166
  .modal-body {
156
- padding: $spacing-5;
157
- padding-top: 0;
167
+ padding: 0 $spacing-5 $spacing-5 ;
168
+ }
169
+ &:has(>.modal-footer) > .modal-body {
158
170
  padding-bottom: 0;
159
171
  }
160
172
 
@@ -165,9 +177,18 @@ body:has(.modal.is-active) {
165
177
  background: getColor('background');
166
178
  bottom: 0;
167
179
 
180
+ .buttons {
181
+ display: flex;
182
+ flex-direction: column-reverse;
183
+ }
184
+
168
185
  @include tablet {
169
186
  display: flex;
170
187
  justify-content: flex-end;
188
+
189
+ .buttons {
190
+ flex-direction: row;
191
+ }
171
192
  }
172
193
  }
173
194
  }
@@ -5,14 +5,14 @@
5
5
  .otp {
6
6
  @include hover();
7
7
  outline: none;
8
- border: 1px solid currentColor;
8
+ border: var(--border);
9
9
  border-radius: var(--radius-small);
10
10
  background: transparent;
11
11
  width: 33px;
12
12
  height: 40px;
13
13
  margin: 4px 4px 0 4px;
14
14
  text-align: center;
15
- color: getColor('neutral');
15
+ color: getColor('main');
16
16
 
17
17
  &:first-child {
18
18
  margin: 4px 4px 0 0;
@@ -33,6 +33,10 @@
33
33
  padding-left: 0.75em;
34
34
  padding-right: 0.75em;
35
35
  white-space: nowrap;
36
+
37
+ &[aria-disabled=true]{
38
+ border-color: transparent !important;
39
+ }
36
40
  }
37
41
 
38
42
  .pagination-list {
@@ -37,6 +37,7 @@ $price-levels: (
37
37
  flex: none;
38
38
  margin: 0;
39
39
  font-size: calc(var(--font-size) * 0.4);
40
+ font-weight: 400;
40
41
  }
41
42
 
42
43
  .price {
@@ -54,6 +55,30 @@ $price-levels: (
54
55
  font-weight: $weight-semibold;
55
56
  line-height: 0.8;
56
57
  margin-bottom: 0;
58
+ font-size: var(--font-size);
59
+
60
+ &.strike {
61
+ font-size: var(--strike-font-size);
62
+ }
63
+
64
+
65
+ @each $price-level in $price-levels {
66
+ $i: index($price-levels, $price-level);
67
+ $font-size: nth($price-level, 1);
68
+ $strike-font-size: nth($price-level, 2);
69
+
70
+ &.is-level-#{$i} {
71
+ --font-size: #{$font-size};
72
+ --strike-font-size: #{$strike-font-size};
73
+
74
+ @if $i > 4 {
75
+ .price-details {
76
+ padding-left: 2px;
77
+ }
78
+ }
79
+ }
80
+ }
81
+
57
82
 
58
83
  // the details : cents + period
59
84
 
@@ -88,6 +113,7 @@ $price-levels: (
88
113
  margin-top: 0;
89
114
  padding-left: 0.1em;
90
115
  text-align: left;
116
+ font-weight: $weight-normal;
91
117
  }
92
118
  }
93
119
 
@@ -133,7 +159,7 @@ $price-levels: (
133
159
 
134
160
  &.strike {
135
161
  position: relative;
136
- color: getColor('neutral');
162
+ color: getColor('font-placeholder');
137
163
 
138
164
  &::before {
139
165
  position: absolute;
@@ -142,7 +168,7 @@ $price-levels: (
142
168
  top: 50%;
143
169
  right: 0;
144
170
  border-top: 2px solid;
145
- border-color: getColor('neutral');
171
+ border-color: getColor('font-placeholder');
146
172
  border-radius: 5px;
147
173
  transform: rotate(-20deg);
148
174
  }
@@ -68,7 +68,7 @@
68
68
  input:checked ~ label.radio-label {
69
69
  &:after {
70
70
  top: 18px;
71
- right: 18px;
71
+ left: 18px;
72
72
  }
73
73
  }
74
74
 
@@ -76,7 +76,7 @@
76
76
  &:after {
77
77
  background-color: getColor('neutral');
78
78
  top: 19px;
79
- right: 19px;
79
+ left: 19px;
80
80
  }
81
81
  }
82
82
  }
@@ -1,11 +1,13 @@
1
1
  .segmented-control {
2
2
  border-radius: 6px;
3
3
  padding: $spacing-1;
4
- background-color: getColor('neutral-fade');
4
+ background-color: getColor('background');
5
5
  display: flex;
6
6
  margin-left: auto;
7
7
  margin-right: auto;
8
8
  width: fit-content;
9
+ border: 1px solid getColor('neutral');
10
+
9
11
 
10
12
  &.justified-start {
11
13
  margin-left: 0;
@@ -24,21 +26,19 @@
24
26
  }
25
27
 
26
28
  .segmented-control-item {
27
- padding: 0 $spacing-5;
29
+ padding: $spacing-3 $spacing-4;
28
30
  border-radius: var(--radius-small);
29
31
  font-size: 16px;
30
32
  text-align: center;
31
33
  border: 2px solid transparent;
32
- height: 42px;
33
34
  color: getColor('font');
34
- background-color: getColor('neutral-fade');
35
+ background-color: getColor('background');
35
36
 
36
37
  &:not(:last-child) {
37
38
  margin-right: 4px;
38
39
  }
39
40
 
40
41
  @include mobile {
41
- padding: 0 $spacing-4;
42
42
  flex: 1 1 0;
43
43
  width: 0;
44
44
  text-overflow: ellipsis;
@@ -54,5 +54,9 @@
54
54
  background-color: getColor('main');
55
55
  color: invertColor('main');
56
56
  }
57
+
58
+ &:disabled{
59
+ border-color: transparent !important;
60
+ }
57
61
  }
58
62
  }
@@ -1,17 +1,35 @@
1
+ $status-select: (
2
+ 'success', 'error'
3
+ );
4
+
1
5
  .select {
2
6
  position: relative;
3
-
4
- input {
5
- cursor: pointer;
6
- }
7
+ input { cursor: pointer }
7
8
 
8
9
  select {
9
10
  width: 100%;
10
11
  @include input;
12
+ padding-right: 40px;
13
+ text-overflow: ellipsis;
11
14
 
12
15
  &:focus {
13
16
  padding-left: 15px !important;
14
17
  }
18
+
19
+ // to prevent user agent style
20
+ &:disabled {
21
+ opacity: 1 !important;
22
+ }
23
+
24
+ @each $name in $status-select {
25
+ $color: getColor($name);
26
+ $color-invert: invertColor($name);
27
+ $brandName: getColorBrandName($name);
28
+
29
+ &.is-#{$brandName} {
30
+ border: 1px solid $color;
31
+ }
32
+ }
15
33
  }
16
34
 
17
35
  .has-icons-left {
@@ -29,32 +47,35 @@
29
47
  border-radius: 4px;
30
48
  overflow: hidden;
31
49
  position: absolute;
32
- top: 64px;
33
50
  z-index: 1001;
34
51
  left: 0;
35
52
  right: 0;
53
+ margin-top: 8px;
36
54
  }
37
55
 
56
+
38
57
  .field {
39
58
  margin-bottom: 0 !important;
40
-
41
- &.focus {
42
- &:after {
43
- @include arrow('up');
44
- right: 12px;
45
- top: 50%;
46
- transform: translate(-50%, -50%);
59
+ .control {
60
+ position: relative;
61
+ &:after {
62
+ @include arrow();
63
+ right: 12px;
64
+ top: 50%;
65
+ transform: translate(-50%, -50%);
66
+ transition: transform 0.3s;
67
+ min-width: 20px;
68
+ min-height: 20px;
69
+ mask-size: 20px;
70
+ pointer-events: none;
71
+ }
47
72
  }
48
- }
49
73
 
50
- &:not(.focus) {
51
- &:after {
52
- @include arrow();
53
- right: 12px;
54
- top: 50%;
55
- transform: translate(-50%, -50%);
74
+ &.focus .control {
75
+ &:after {
76
+ transform: rotate(180deg) translate(50%, 50%);
77
+ }
56
78
  }
57
- }
58
79
  }
59
80
 
60
81
 
@@ -75,7 +96,6 @@
75
96
  cursor: pointer;
76
97
  display: flex;
77
98
  gap: $spacing-2;
78
-
79
99
  @include hover;
80
100
 
81
101
  &.is-disabled {
@@ -100,6 +120,12 @@
100
120
  }
101
121
  }
102
122
  }
123
+
124
+ &-options-top {
125
+ top: auto;
126
+ bottom: 100%;
127
+ overflow-y: scroll;
128
+ }
103
129
  }
104
130
 
105
131
 
@@ -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%, getColor('neutral-fade') 50%, getColor('neutral-fade') 100%);
207
+ background-image: linear-gradient(to right, transparent 0, transparent 50%, getColor('neutral') 50%, getColor('neutral') 100%);
208
208
  }
209
209
  0% {
210
210
  background-position: 100% 0;
@@ -9,8 +9,20 @@ $sticker-height: 35px;
9
9
  color: getColor('background') !important;
10
10
  line-height: 20px;
11
11
  flex-shrink: 0;
12
- background-color: getColor('font');
12
+ background-color: getColor('main');
13
13
  font-weight: 600;
14
+ max-height: 36px;
15
+
16
+ .icon {
17
+ width: 1em;
18
+ margin-right: 5px;
19
+ }
20
+
21
+ &.is-small {
22
+ .icon {
23
+ margin-right: 3px;
24
+ }
25
+ }
14
26
 
15
27
  &:not(.is-hat) {
16
28
  width: fit-content;
@@ -26,14 +26,14 @@
26
26
 
27
27
  &:disabled ~ label {
28
28
  &:after {
29
- $colorSvg: encodecolor(getColorValue('disabled'));
29
+ $colorSvg: encodecolor(getColor('disabled'));
30
30
  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>');
31
31
  }
32
32
  }
33
33
 
34
34
  &:disabled:checked ~ label {
35
35
  &:after {
36
- $colorSvg: encodecolor(getColorValue('disabled'));
36
+ $colorSvg: encodecolor(getColor('disabled'));
37
37
  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>');
38
38
  }
39
39
  }
@@ -60,7 +60,7 @@
60
60
  }
61
61
 
62
62
  &:after {
63
- $colorSvg: encodecolor(getColorValue('neutral'));
63
+ $colorSvg: encodecolor(getColor('neutral'));
64
64
  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>');
65
65
  position: absolute;
66
66
  top: 50%;
@@ -69,7 +69,7 @@
69
69
  border-radius: 9999px;
70
70
  width: 18px;
71
71
  height: 18px;
72
- background-color: getColorValue('background');
72
+ background-color: getColor('background');
73
73
  transition: 0.3s;
74
74
  }
75
75
  }
@@ -79,14 +79,14 @@
79
79
  font-weight: bold;
80
80
 
81
81
  &:before {
82
- background-color: getColorValue('main');
82
+ background-color: getColor('main');
83
83
  }
84
84
 
85
85
  &:after {
86
86
  right: 2px;
87
- $colorSvg: encodecolor(getColorValue('main'));
87
+ $colorSvg: encodecolor(getColor('main'));
88
88
  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>');
89
- background-color: getColorValue('background');
89
+ background-color: getColor('background');
90
90
  }
91
91
  }
92
92
  }
@@ -26,7 +26,7 @@
26
26
 
27
27
  td,
28
28
  th {
29
- border: 1px solid getColor('neutral-fade');
29
+ border: var(--border);
30
30
  border-width: 0;
31
31
  padding: 20px;
32
32
  vertical-align: top;
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  td {
74
- border-bottom: 1px solid getColor('neutral-fade');
74
+ border-bottom: var(--border);
75
75
 
76
76
  > p {
77
77
  margin: 0;
@@ -89,7 +89,6 @@
89
89
 
90
90
  td,
91
91
  th {
92
- border-color: currentColor;
93
92
  color: currentColor;
94
93
  }
95
94
  }
@@ -154,15 +153,15 @@
154
153
  }
155
154
 
156
155
  &.has-border-all {
157
- border: 1px solid getColor('neutral-fade');
156
+ border: var(--border);
158
157
 
159
158
  th {
160
- border-right: 1px solid getColor('neutral-fade');
159
+ border-right: var(--border);
161
160
  }
162
161
 
163
162
  td {
164
163
  &:not(:last-child) {
165
- border-right: 1px solid getColor('neutral-fade');
164
+ border-right: var(--border);
166
165
  }
167
166
  }
168
167
  }
@@ -170,13 +169,13 @@
170
169
  &.has-border-inner {
171
170
  th {
172
171
  &:not(:last-child) {
173
- border-right: 1px solid getColor('neutral-fade');
172
+ border-right: var(--border);
174
173
  }
175
174
  }
176
175
 
177
176
  td {
178
177
  &:not(:last-child) {
179
- border-right: 1px solid getColor('neutral-fade');
178
+ border-right: var(--border);
180
179
  }
181
180
  }
182
181
  }
@@ -205,7 +204,7 @@
205
204
  .subtable {
206
205
  background-color: getColor('neutral-fade');
207
206
  border-radius: var(--radius);
208
- padding: $box-padding * 2;
207
+ padding: 25px;
209
208
 
210
209
  @include mobile() {
211
210
  padding: 15px;
@@ -216,7 +215,7 @@
216
215
 
217
216
  tr:not(:first-child) {
218
217
  td {
219
- border-top: 1px solid getColor('neutral');
218
+ border-top: var(--border);
220
219
  }
221
220
  }
222
221