@trilogy-ds/styles 0.0.1-beta-103 → 0.0.1-beta-104

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 (54) 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/_generic.scss +1 -1
  6. package/framework/src/base/_helpers.scss +2 -5
  7. package/framework/src/components/_accordion.scss +13 -6
  8. package/framework/src/components/_all.scss +1 -1
  9. package/framework/src/components/_autolayout.scss +290 -0
  10. package/framework/src/components/_card.scss +1 -1
  11. package/framework/src/components/_divider.scss +1 -2
  12. package/framework/src/components/_fab.scss +20 -19
  13. package/framework/src/components/_modal.scss +7 -3
  14. package/framework/src/components/_pagination.scss +6 -3
  15. package/framework/src/components/_plus-symbol.scss +1 -1
  16. package/framework/src/components/_price.scss +31 -26
  17. package/framework/src/components/_segmented-control.scss +2 -2
  18. package/framework/src/components/_stepper.scss +2 -2
  19. package/framework/src/components/_timeline.scss +11 -14
  20. package/framework/src/elements/_alert.scss +1 -3
  21. package/framework/src/elements/_all.scss +0 -1
  22. package/framework/src/elements/_autocomplete.scss +3 -3
  23. package/framework/src/elements/_badge.scss +10 -7
  24. package/framework/src/elements/_box.scss +2 -2
  25. package/framework/src/elements/_button.scss +2 -2
  26. package/framework/src/elements/_chips.scss +3 -3
  27. package/framework/src/elements/_entry.scss +1 -1
  28. package/framework/src/elements/_form.scss +14 -14
  29. package/framework/src/elements/_icon.scss +1 -1
  30. package/framework/src/elements/_loader.scss +1 -1
  31. package/framework/src/elements/_other.scss +0 -37
  32. package/framework/src/elements/_progress.scss +5 -5
  33. package/framework/src/elements/_sticker.scss +1 -1
  34. package/framework/src/elements/_switch.scss +4 -4
  35. package/framework/src/elements/_table.scss +11 -11
  36. package/framework/src/elements/_tag.scss +3 -3
  37. package/framework/src/elements/_textarea.scss +18 -1
  38. package/framework/src/elements/_toaster.scss +2 -2
  39. package/framework/src/grid/_columns.scss +1 -1
  40. package/framework/src/layout/_section.scss +1 -18
  41. package/framework/src/theming/buttons_partial.scss +2 -2
  42. package/framework/src/theming/common_partials.scss +1 -1
  43. package/framework/src/utilities/_a11y.scss +13 -0
  44. package/framework/src/utilities/_all.scss +1 -0
  45. package/framework/src/utilities/_background.scss +7 -3
  46. package/framework/src/utilities/_colors.scss +41 -0
  47. package/framework/src/utilities/_derived-variables.scss +3 -3
  48. package/framework/src/utilities/_initial-variables.scss +1 -29
  49. package/framework/src/utilities/_mixins.scss +8 -9
  50. package/package.json +3 -3
  51. package/framework/src/components/_autolayout2.scss +0 -38
  52. package/framework/src/components/_level.scss +0 -120
  53. package/framework/src/components/_media.scss +0 -64
  54. package/framework/src/elements/_dot.scss +0 -6
@@ -1,36 +1,28 @@
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 );
7
- }
8
- @return var(--color-#{nth(map-get($colors,$name),1)})
4
+ @return var(--color-#{nth(map-get($colors,$name),2)});
9
5
  }
10
6
 
11
7
  @function getColorValue( $name ) {
12
- @return #{nth(map-get($colors,$name),2)}
13
- }
14
-
15
- @function getBGColorValue( $name ) {
16
- @return #{nth(map-get($colors,$name),4)}
17
- }
18
-
19
- @function getColorBrandName( $name ) {
20
8
  @return #{nth(map-get($colors,$name),1)}
21
9
  }
22
10
 
23
- @function getBGColor( $name ) {
24
- @return var(--color-bg-#{nth(map-get($colors,$name),1)})
11
+ @function getColorBrandName( $name ) {
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,1)}: #{nth($color,2)};
30
- --color-bg-#{nth($color,1)}: #{nth($color,4)};
17
+ --color-#{nth($color,2)}: #{nth($color,1)};
31
18
  }
32
19
  }
33
20
 
34
21
  @function invertColor ($colorName) {
35
22
  @return var(--color-#{nth(map-get($colors,$colorName),3)})
36
23
  }
24
+
25
+ @function fadeColor ($colorName) {
26
+ $name: map-get($fade-colors,$colorName);
27
+ @return getColor($name);
28
+ }
@@ -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, 2);
201
+ $color: nth($color, 1);
202
202
  $color-invert: invertColor($name);
203
203
 
204
204
  .has-text-#{$brandName} {
@@ -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: getBGColor($name) !important;
215
- }
216
213
  }
217
214
  }
218
215
 
@@ -1,15 +1,18 @@
1
1
  .accordions#{$suffix} {
2
2
  padding-left: 0;
3
3
  padding-right: 0;
4
- margin: $spacing-4 0;
5
4
 
5
+ /* Chrome + Webkit */
6
6
  details.accordion ::-webkit-details-marker {
7
7
  display: none;
8
8
  content: "";
9
9
  }
10
10
 
11
- .accordion {
11
+ details.accordion summary {
12
+ list-style-image: none;
13
+ }
12
14
 
15
+ .accordion {
13
16
  box-sizing: border-box;
14
17
  display: flex;
15
18
  flex-direction: column;
@@ -20,7 +23,7 @@
20
23
  margin: 8px 0;
21
24
  min-height: 56px;
22
25
  max-height: max-content;
23
- transition: 0.3s;
26
+ transition: margin 0.3s;
24
27
 
25
28
  .accordion-header {
26
29
  font-weight: bold;
@@ -31,13 +34,13 @@
31
34
  padding-top: 0 !important;
32
35
  }
33
36
 
34
- &:has(summary:hover):not(.is-disabled) {
37
+ &[open]:hover {
35
38
  @include hoverRules();
36
39
  }
37
40
 
38
- &:focus-visible {
41
+ &:has(summary:focus-visible) {
39
42
  outline: var(--border-active);
40
- outline-offset: 2px;
43
+ outline-offset: -2px;
41
44
  }
42
45
 
43
46
  .accordion-header:after {
@@ -65,6 +68,10 @@
65
68
  border-radius: var(--radius);
66
69
  transition: margin 300ms ease-out;
67
70
 
71
+ &:focus-visible{
72
+ outline: none;
73
+ }
74
+
68
75
  }
69
76
 
70
77
  &[open] .accordion-header {
@@ -1,10 +1,10 @@
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';
7
- @import 'level';
8
8
  @import 'modal';
9
9
  @import 'pagination';
10
10
  @import 'popover';
@@ -0,0 +1,290 @@
1
+ body:not(.is-tight) {
2
+ .accordions:not(:last-child) {
3
+ margin-bottom: 24px;
4
+ }
5
+ .card:not(:last-child) {
6
+ margin-bottom: 24px;
7
+ }
8
+ .box:not(:last-child) {
9
+ margin-bottom: 24px;
10
+ }
11
+ .table:not(:last-child) {
12
+ margin-bottom: 24px;
13
+ }
14
+ .list:not(:last-child) {
15
+ margin-bottom: 24px;
16
+ }
17
+ .timeline:not(:last-child) {
18
+ margin-bottom: 24px;
19
+ }
20
+ .stepper:not(:last-child) {
21
+ margin-bottom: 24px;
22
+ }
23
+ .pagination:not(:last-child) {
24
+ margin-bottom: 24px;
25
+ }
26
+ .segmented-control:not(:last-child) {
27
+ margin-bottom: 24px;
28
+ }
29
+ .tabs:not(:last-child) {
30
+ margin-bottom: 24px;
31
+ }
32
+ .range:not(:last-child) {
33
+ margin-bottom: 24px;
34
+ }
35
+ .stepper:not(:last-child) {
36
+ margin-bottom: 24px;
37
+ }
38
+ .price-container:not(:last-child) {
39
+ margin-bottom: 12px;
40
+ }
41
+ .buttons:not(:last-child) {
42
+ margin-bottom: 24px;
43
+ }
44
+ .countdown:not(:last-child) {
45
+ margin-bottom: 16px;
46
+ }
47
+ .countdown.is-small:not(:last-child) {
48
+ margin-bottom: 12px;
49
+ }
50
+ .chips-list:not(:last-child) {
51
+ margin-bottom: 12px;
52
+ }
53
+ p.text:not(:last-child) {
54
+ margin-bottom: 12px;
55
+ }
56
+ .progress:not(:last-child) {
57
+ margin-bottom: 8px;
58
+ }
59
+ .progress-radial:not(:last-child) {
60
+ margin-bottom: 8px;
61
+ }
62
+ .radio:not(:last-child) {
63
+ margin-bottom: 12px;
64
+ }
65
+ .checkbox:not(:last-child) {
66
+ margin-bottom: 12px;
67
+ }
68
+ .switch:not(:last-child) {
69
+ margin-bottom: 12px;
70
+ }
71
+ .radio-tile:not(:last-child) {
72
+ margin-bottom: 24px;
73
+ }
74
+ .checkbox-tile:not(:last-child) {
75
+ margin-bottom: 24px;
76
+ }
77
+ .field:not(:last-child) {
78
+ margin-bottom: 24px;
79
+ }
80
+ .control:not(:last-child) {
81
+ margin-bottom: 4px;
82
+ }
83
+ .help:not(:last-child) {
84
+ margin-bottom: 4px;
85
+ }
86
+ .textarea:not(:last-child) {
87
+ margin-bottom: 16px;
88
+ }
89
+ .select:not(:last-child) {
90
+ margin-bottom: 16px;
91
+ }
92
+ .link:not(:last-child) {
93
+ margin-bottom: 12px;
94
+ }
95
+ .sticker:not(:last-child) {
96
+ margin-bottom: 8px;
97
+ }
98
+ .tag:not(:last-child) {
99
+ margin-bottom: 8px;
100
+ }
101
+ .title.is-level-1:not(:last-child) {
102
+ margin-bottom: 40px;
103
+ }
104
+ .title.is-level-2:not(:last-child) {
105
+ margin-bottom: 32px;
106
+ }
107
+ .title.is-level-3:not(:last-child) {
108
+ margin-bottom: 16px;
109
+ }
110
+ .title.is-level-4:not(:last-child) {
111
+ margin-bottom: 12px;
112
+ }
113
+ .title.is-level-5:not(:last-child) {
114
+ margin-bottom: 12px;
115
+ }
116
+ .title.is-level-6:not(:last-child) {
117
+ margin-bottom: 12px;
118
+ }
119
+ .overline:not(:last-child) {
120
+ margin-bottom: 0px;
121
+ }
122
+ .title:has(+.subtitle):not(:last-child) {
123
+ margin-bottom: 8px;
124
+ }
125
+ .title.is-level-1 + .subtitle:not(:last-child) {
126
+ margin-bottom: 32px;
127
+ }
128
+ .title.is-level-2 + .subtitle:not(:last-child) {
129
+ margin-bottom: 24px;
130
+ }
131
+ .title.is-level-3 + .subtitle:not(:last-child) {
132
+ margin-bottom: 24px;
133
+ }
134
+ .title.is-level-4 + .subtitle:not(:last-child) {
135
+ margin-bottom: 12px;
136
+ }
137
+ .title.is-level-5 + .subtitle:not(:last-child) {
138
+ margin-bottom: 12px;
139
+ }
140
+ .title.is-level-6 + .subtitle:not(:last-child) {
141
+ margin-bottom: 12px;
142
+ }
143
+ }
144
+
145
+ @include mobile() {
146
+ body:not(.is-tight) {
147
+ .accordions:not(:last-child) {
148
+ margin-bottom: 16px;
149
+ }
150
+ .card:not(:last-child) {
151
+ margin-bottom: 16px;
152
+ }
153
+ .box:not(:last-child) {
154
+ margin-bottom: 16px;
155
+ }
156
+ .table:not(:last-child) {
157
+ margin-bottom: 16px;
158
+ }
159
+ .list:not(:last-child) {
160
+ margin-bottom: 16px;
161
+ }
162
+ .timeline:not(:last-child) {
163
+ margin-bottom: 16px;
164
+ }
165
+ .stepper:not(:last-child) {
166
+ margin-bottom: 16px;
167
+ }
168
+ .pagination:not(:last-child) {
169
+ margin-bottom: 16px;
170
+ }
171
+ .segmented-control:not(:last-child) {
172
+ margin-bottom: 16px;
173
+ }
174
+ .tabs:not(:last-child) {
175
+ margin-bottom: 16px;
176
+ }
177
+ .range:not(:last-child) {
178
+ margin-bottom: 16px;
179
+ }
180
+ .stepper:not(:last-child) {
181
+ margin-bottom: 16px;
182
+ }
183
+ .price-container:not(:last-child) {
184
+ margin-bottom: 8px;
185
+ }
186
+ .buttons:not(:last-child) {
187
+ margin-bottom: 16px;
188
+ }
189
+ .countdown:not(:last-child) {
190
+ margin-bottom: 12px;
191
+ }
192
+ .countdown.is-small:not(:last-child) {
193
+ margin-bottom: 12px;
194
+ }
195
+ .chips-list:not(:last-child) {
196
+ margin-bottom: 12px;
197
+ }
198
+ p.text:not(:last-child) {
199
+ margin-bottom: 8px;
200
+ }
201
+ .progress:not(:last-child) {
202
+ margin-bottom: 8px;
203
+ }
204
+ .progress-radial:not(:last-child) {
205
+ margin-bottom: 8px;
206
+ }
207
+ .radio:not(:last-child) {
208
+ margin-bottom: 12px;
209
+ }
210
+ .checkbox:not(:last-child) {
211
+ margin-bottom: 12px;
212
+ }
213
+ .switch:not(:last-child) {
214
+ margin-bottom: 12px;
215
+ }
216
+ .radio-tile:not(:last-child) {
217
+ margin-bottom: 16px;
218
+ }
219
+ .checkbox-tile:not(:last-child) {
220
+ margin-bottom: 16px;
221
+ }
222
+ .field:not(:last-child) {
223
+ margin-bottom: 16px;
224
+ }
225
+ .control:not(:last-child) {
226
+ margin-bottom: 4px;
227
+ }
228
+ .help:not(:last-child) {
229
+ margin-bottom: 4px;
230
+ }
231
+ .textarea:not(:last-child) {
232
+ margin-bottom: 16px;
233
+ }
234
+ .select:not(:last-child) {
235
+ margin-bottom: 16px;
236
+ }
237
+ .link:not(:last-child) {
238
+ margin-bottom: 8px;
239
+ }
240
+ .sticker:not(:last-child) {
241
+ margin-bottom: 8px;
242
+ }
243
+ .tag:not(:last-child) {
244
+ margin-bottom: 8px;
245
+ }
246
+ .title.is-level-1:not(:last-child) {
247
+ margin-bottom: 32px;
248
+ }
249
+ .title.is-level-2:not(:last-child) {
250
+ margin-bottom: 24px;
251
+ }
252
+ .title.is-level-3:not(:last-child) {
253
+ margin-bottom: 12px;
254
+ }
255
+ .title.is-level-4:not(:last-child) {
256
+ margin-bottom: 8px;
257
+ }
258
+ .title.is-level-5:not(:last-child) {
259
+ margin-bottom: 8px;
260
+ }
261
+ .title.is-level-6:not(:last-child) {
262
+ margin-bottom: 8px;
263
+ }
264
+ .overline:not(:last-child) {
265
+ margin-bottom: 0px;
266
+ }
267
+ .title:has(+.subtitle):not(:last-child) {
268
+ margin-bottom: 8px;
269
+ }
270
+ .title.is-level-1 + .subtitle:not(:last-child) {
271
+ margin-bottom: 40px;
272
+ }
273
+ .title.is-level-2 + .subtitle:not(:last-child) {
274
+ margin-bottom: 32px;
275
+ }
276
+ .title.is-level-3 + .subtitle:not(:last-child) {
277
+ margin-bottom: 32px;
278
+ }
279
+ .title.is-level-4 + .subtitle:not(:last-child) {
280
+ margin-bottom: 8px;
281
+ }
282
+ .title.is-level-5 + .subtitle:not(:last-child) {
283
+ margin-bottom: 8px;
284
+ }
285
+ .title.is-level-6 + .subtitle:not(:last-child) {
286
+ margin-bottom: 8px;
287
+ }
288
+
289
+ }
290
+ }
@@ -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,10 +1,9 @@
1
1
  .divider {
2
2
  position: relative;
3
3
  text-align: center;
4
- background-color: getBGColor('hovered');
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;
@@ -7,40 +7,41 @@
7
7
  display: inline-flex;
8
8
  align-items: center;
9
9
  box-sizing: border-box;
10
- transition: 0.4s;
11
- color: transparent;
12
- letter-spacing: -9px;
10
+ transition: max-width 500ms ease-out;
11
+ color: white;
13
12
  border: 0;
14
13
  box-shadow: 0px 3px 6px 0px #00000033;
15
- font-style: normal;
14
+ font-size: 16px;
16
15
  font-weight: 600;
17
- font-size: medium;
18
16
  line-height: 20px;
19
-
20
17
  z-index: 9;
18
+ overflow: hidden;
19
+ max-width: 54px;
20
+ white-space: nowrap;
21
21
 
22
22
  #{$hoverSelector}, &.is-extended, &:focus, &:focus-visible, &:focus-within {
23
- background-color: getColor('hovered');
24
- transition-duration: 0.5s;
25
- letter-spacing: initial;
26
- color: white;
27
-
28
- .icon,
29
- .icon .is-small,
30
- .icon .is-medium,
31
- .icon .is-large {
32
- margin-right: 16px;
33
- }
23
+ background: linear-gradient(
24
+ to top,
25
+ rgba(0, 0, 0, 0.25),
26
+ rgba(0, 0, 0, 0.25)
27
+ ) getColor('font');
28
+ max-width: 300px;
34
29
  }
35
30
 
36
31
  &:active {
37
- 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');
38
37
  }
39
38
 
40
39
  .icon {
40
+ flex: none;
41
41
  font-size: 24px !important;
42
42
  margin-left: -6px;
43
- margin-right: -6px;
43
+ margin-right: 8px;
44
44
  color: white;
45
+
45
46
  }
46
47
  }
@@ -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: getColor('neutral-fade');
139
139
  }
140
140
 
141
141
  &::after,
@@ -145,6 +145,11 @@ body:has(.modal.is-active) {
145
145
  }
146
146
 
147
147
  .modal-title {
148
+ padding: 20px 0;
149
+ }
150
+
151
+ .modal-title,
152
+ .modal-header {
148
153
  color: getColor('font');
149
154
  font-family: $family-sans-serif;
150
155
  font-size: $size-3;
@@ -154,7 +159,6 @@ body:has(.modal.is-active) {
154
159
  z-index: zindex('small');
155
160
  position: sticky;
156
161
  top: 0;
157
- padding: 20px 0;
158
162
  width: 100%;
159
163
  word-wrap: break-word;
160
164
 
@@ -199,4 +203,4 @@ body:has(.modal.is-active) {
199
203
  }
200
204
  }
201
205
  }
202
- }
206
+ }
@@ -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: 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: getBGColor('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: getBGColor('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;