@megafon/ui-core 2.1.2 → 3.0.0-beta.0

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 (109) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/es/colors/ColorItem/ColorItem.css +48 -1
  3. package/dist/es/colors/Colors.css +54 -7
  4. package/dist/es/colors/Colors.js +2 -2
  5. package/dist/es/colors/colorsData.js +24 -8
  6. package/dist/es/components/Accordion/Accordion.css +53 -5
  7. package/dist/es/components/Banner/Banner.css +49 -2
  8. package/dist/es/components/Banner/BannerDot.css +51 -4
  9. package/dist/es/components/Button/Button.css +124 -67
  10. package/dist/es/components/Calendar/Calendar.css +47 -0
  11. package/dist/es/components/Calendar/components/Day/Day.css +57 -10
  12. package/dist/es/components/Calendar/components/Month/Month.css +50 -3
  13. package/dist/es/components/Carousel/Carousel.css +51 -4
  14. package/dist/es/components/Checkbox/Checkbox.css +65 -18
  15. package/dist/es/components/ContentArea/ContentArea.css +63 -20
  16. package/dist/es/components/ContentArea/ContentArea.d.ts +3 -2
  17. package/dist/es/components/ContentArea/ContentArea.js +13 -6
  18. package/dist/es/components/Counter/Counter.css +61 -11
  19. package/dist/es/components/Grid/Grid.css +47 -0
  20. package/dist/es/components/Grid/GridColumn.css +47 -0
  21. package/dist/es/components/Header/Header.css +55 -5
  22. package/dist/es/components/Header/Header.d.ts +1 -1
  23. package/dist/es/components/Header/Header.js +2 -2
  24. package/dist/es/components/InputLabel/InputLabel.css +47 -0
  25. package/dist/es/components/List/List.css +56 -6
  26. package/dist/es/components/List/List.d.ts +1 -1
  27. package/dist/es/components/List/List.js +2 -2
  28. package/dist/es/components/List/ListItem.css +47 -0
  29. package/dist/es/components/Logo/Logo.css +47 -0
  30. package/dist/es/components/Logo/Logo.js +4 -8
  31. package/dist/es/components/NavArrow/NavArrow.css +52 -5
  32. package/dist/es/components/Notification/Notification.css +88 -24
  33. package/dist/es/components/Pagination/Pagination.css +47 -0
  34. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
  35. package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
  36. package/dist/es/components/Paragraph/Paragraph.css +54 -10
  37. package/dist/es/components/Paragraph/Paragraph.d.ts +0 -1
  38. package/dist/es/components/Paragraph/Paragraph.js +1 -2
  39. package/dist/es/components/Preloader/Preloader.css +52 -5
  40. package/dist/es/components/RadioButton/RadioButton.css +54 -7
  41. package/dist/es/components/RadioButton/RadioButton.d.ts +5 -1
  42. package/dist/es/components/RadioButton/RadioButton.js +7 -5
  43. package/dist/es/components/Search/Search.css +67 -18
  44. package/dist/es/components/Select/Select.css +76 -28
  45. package/dist/es/components/Switcher/Switcher.css +65 -21
  46. package/dist/es/components/Tabs/Tabs.css +77 -30
  47. package/dist/es/components/Tabs/Tabs.js +41 -32
  48. package/dist/es/components/TextField/TextField.css +74 -26
  49. package/dist/es/components/TextLink/TextLink.css +57 -7
  50. package/dist/es/components/TextLink/TextLink.d.ts +1 -1
  51. package/dist/es/components/TextLink/TextLink.js +1 -1
  52. package/dist/es/components/Tile/Tile.css +49 -1
  53. package/dist/es/components/Tooltip/Tooltip.css +48 -1
  54. package/dist/es/styles/base.css +54 -0
  55. package/dist/lib/colors/ColorItem/ColorItem.css +48 -1
  56. package/dist/lib/colors/Colors.css +54 -7
  57. package/dist/lib/colors/Colors.js +2 -2
  58. package/dist/lib/colors/colorsData.js +24 -8
  59. package/dist/lib/components/Accordion/Accordion.css +53 -5
  60. package/dist/lib/components/Banner/Banner.css +49 -2
  61. package/dist/lib/components/Banner/BannerDot.css +51 -4
  62. package/dist/lib/components/Button/Button.css +124 -67
  63. package/dist/lib/components/Calendar/Calendar.css +47 -0
  64. package/dist/lib/components/Calendar/components/Day/Day.css +57 -10
  65. package/dist/lib/components/Calendar/components/Month/Month.css +50 -3
  66. package/dist/lib/components/Carousel/Carousel.css +51 -4
  67. package/dist/lib/components/Checkbox/Checkbox.css +65 -18
  68. package/dist/lib/components/ContentArea/ContentArea.css +63 -20
  69. package/dist/lib/components/ContentArea/ContentArea.d.ts +3 -2
  70. package/dist/lib/components/ContentArea/ContentArea.js +13 -6
  71. package/dist/lib/components/Counter/Counter.css +61 -11
  72. package/dist/lib/components/Grid/Grid.css +47 -0
  73. package/dist/lib/components/Grid/GridColumn.css +47 -0
  74. package/dist/lib/components/Header/Header.css +55 -5
  75. package/dist/lib/components/Header/Header.d.ts +1 -1
  76. package/dist/lib/components/Header/Header.js +2 -2
  77. package/dist/lib/components/InputLabel/InputLabel.css +47 -0
  78. package/dist/lib/components/List/List.css +56 -6
  79. package/dist/lib/components/List/List.d.ts +1 -1
  80. package/dist/lib/components/List/List.js +2 -2
  81. package/dist/lib/components/List/ListItem.css +47 -0
  82. package/dist/lib/components/Logo/Logo.css +47 -0
  83. package/dist/lib/components/Logo/Logo.js +4 -8
  84. package/dist/lib/components/NavArrow/NavArrow.css +52 -5
  85. package/dist/lib/components/Notification/Notification.css +88 -24
  86. package/dist/lib/components/Pagination/Pagination.css +47 -0
  87. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +56 -9
  88. package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +47 -0
  89. package/dist/lib/components/Paragraph/Paragraph.css +54 -10
  90. package/dist/lib/components/Paragraph/Paragraph.d.ts +0 -1
  91. package/dist/lib/components/Paragraph/Paragraph.js +1 -2
  92. package/dist/lib/components/Preloader/Preloader.css +52 -5
  93. package/dist/lib/components/RadioButton/RadioButton.css +54 -7
  94. package/dist/lib/components/RadioButton/RadioButton.d.ts +5 -1
  95. package/dist/lib/components/RadioButton/RadioButton.js +6 -4
  96. package/dist/lib/components/Search/Search.css +67 -18
  97. package/dist/lib/components/Select/Select.css +76 -28
  98. package/dist/lib/components/Switcher/Switcher.css +65 -21
  99. package/dist/lib/components/Tabs/Tabs.css +77 -30
  100. package/dist/lib/components/Tabs/Tabs.js +41 -32
  101. package/dist/lib/components/TextField/TextField.css +74 -26
  102. package/dist/lib/components/TextLink/TextLink.css +57 -7
  103. package/dist/lib/components/TextLink/TextLink.d.ts +1 -1
  104. package/dist/lib/components/TextLink/TextLink.js +1 -1
  105. package/dist/lib/components/Tile/Tile.css +49 -1
  106. package/dist/lib/components/Tooltip/Tooltip.css +48 -1
  107. package/dist/lib/styles/base.css +54 -0
  108. package/package.json +4 -4
  109. package/styles/base.less +61 -75
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -29,17 +76,17 @@ h5 {
29
76
  display: block;
30
77
  width: 100%;
31
78
  height: 100%;
32
- fill: #FFFFFF;
79
+ fill: var(--stcWhite);
33
80
  }
34
81
  .mfui-nav-arrow_theme_purple {
35
- background-color: #731982;
82
+ background-color: var(--purple);
36
83
  }
37
84
  .mfui-nav-arrow_theme_purple:hover:not(:disabled) {
38
- background-color: #534455;
85
+ background-color: var(--buttonhoverPurple);
39
86
  }
40
87
  .mfui-nav-arrow_theme_dark {
41
- background-color: rgba(0, 0, 0, 0.25);
88
+ background-color: var(--stcBlack20);
42
89
  }
43
90
  .mfui-nav-arrow_theme_dark:hover:not(:disabled) {
44
- background-color: rgba(0, 0, 0, 0.5);
91
+ background-color: var(--stcBlack50);
45
92
  }
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -8,6 +55,7 @@ h5 {
8
55
  .mfui-notification {
9
56
  position: relative;
10
57
  padding: 16px 12px;
58
+ background-color: var(--background);
11
59
  }
12
60
  @media screen and (min-width: 768px) {
13
61
  .mfui-notification {
@@ -26,6 +74,7 @@ h5 {
26
74
  }
27
75
  .mfui-notification__title {
28
76
  margin-bottom: 8px;
77
+ color: var(--content);
29
78
  }
30
79
  @media screen and (min-width: 1280px) {
31
80
  .mfui-notification__title {
@@ -40,6 +89,7 @@ h5 {
40
89
  line-height: 24px;
41
90
  max-width: 100%;
42
91
  margin: 0;
92
+ color: var(--content);
43
93
  }
44
94
  .mfui-notification__text_close-padding {
45
95
  padding-right: 20px;
@@ -119,7 +169,7 @@ h5 {
119
169
  min-width: 20px;
120
170
  height: 20px;
121
171
  margin-top: 4px;
122
- fill: #34AAF2;
172
+ fill: var(--systemBlue);
123
173
  }
124
174
  .mfui-notification__close {
125
175
  position: absolute;
@@ -135,12 +185,12 @@ h5 {
135
185
  cursor: pointer;
136
186
  }
137
187
  .mfui-notification__close:hover {
138
- background-color: rgba(237, 237, 237, 0.6);
188
+ background-color: var(--stcBlack5);
139
189
  }
140
190
  .mfui-notification__close-icon {
141
191
  width: 20px;
142
192
  height: 20px;
143
- fill: #333333;
193
+ fill: var(--content);
144
194
  }
145
195
  @media screen and (min-width: 768px) {
146
196
  .mfui-notification__close-icon {
@@ -149,63 +199,77 @@ h5 {
149
199
  }
150
200
  }
151
201
  .mfui-notification_type_error .mfui-notification__icon-container {
152
- background-color: #FFC4C9;
202
+ background-color: var(--fury20);
153
203
  }
154
204
  .mfui-notification_type_error .mfui-notification__icon-container svg {
155
205
  /* stylelint-disable-line max-nesting-depth */
156
- fill: #F62434;
206
+ fill: var(--fury);
157
207
  }
158
208
  .mfui-notification_type_success .mfui-notification__icon-container {
159
- background-color: #DDFFEC;
209
+ background-color: var(--green20);
160
210
  }
161
211
  .mfui-notification_type_success .mfui-notification__icon-container svg {
162
212
  /* stylelint-disable-line max-nesting-depth */
163
- fill: #00B956;
213
+ fill: var(--green);
164
214
  }
165
215
  .mfui-notification_type_warning .mfui-notification__icon-container {
166
- background-color: #FFEDD1;
216
+ background-color: var(--137C20);
167
217
  }
168
218
  .mfui-notification_type_warning .mfui-notification__icon-container svg {
169
219
  /* stylelint-disable-line max-nesting-depth */
170
- fill: #FFA717;
220
+ fill: var(--137C);
171
221
  }
172
222
  .mfui-notification_type_info .mfui-notification__icon-container {
173
- background-color: #E1FAFF;
223
+ background-color: var(--311C20);
174
224
  }
175
225
  .mfui-notification_type_info .mfui-notification__icon-container svg {
176
226
  /* stylelint-disable-line max-nesting-depth */
177
- fill: #5BD9E5;
227
+ fill: var(--311C);
178
228
  }
179
229
  .mfui-notification_colored .mfui-notification__icon-container {
180
- background-color: #FFFFFF;
230
+ background-color: var(--stcWhite);
181
231
  }
182
232
  .mfui-notification_colored .mfui-notification__close:hover {
183
- background-color: rgba(255, 255, 255, 0.3);
184
- }
185
- .mfui-notification_colored.mfui-notification_type_error {
186
- background-color: #F8505D;
233
+ background-color: var(--stcWhite);
187
234
  }
235
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__title,
188
236
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__title,
237
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__text,
189
238
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__text,
239
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__link,
190
240
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__link {
191
- color: #FFFFFF;
241
+ color: var(--stcWhite);
192
242
  }
243
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__right-arrow,
193
244
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__right-arrow {
194
- fill: #FFFFFF;
245
+ fill: var(--stcWhite);
195
246
  }
247
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__icon-container,
196
248
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container {
197
- background-color: #FFFFFF33;
249
+ background-color: var(--stcWhite20);
198
250
  }
251
+ .mfui-notification_colored.mfui-notification_type_success .mfui-notification__icon-container svg,
199
252
  .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container svg {
200
253
  /* stylelint-disable-line max-nesting-depth */
201
- fill: #FFFFFF;
254
+ fill: var(--stcWhite);
202
255
  }
203
256
  .mfui-notification_colored.mfui-notification_type_success {
204
- background-color: #DDFFEC;
257
+ background-color: var(--green);
205
258
  }
206
- .mfui-notification_colored.mfui-notification_type_warning {
207
- background-color: #FFEDD1;
259
+ .mfui-notification_colored.mfui-notification_type_error {
260
+ background-color: var(--fury80);
261
+ }
262
+ .mfui-notification_colored.mfui-notification_type_info .mfui-notification__title,
263
+ .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__title,
264
+ .mfui-notification_colored.mfui-notification_type_info .mfui-notification__text,
265
+ .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__text,
266
+ .mfui-notification_colored.mfui-notification_type_info .mfui-notification__link,
267
+ .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__link {
268
+ color: var(--stcBlack);
208
269
  }
209
270
  .mfui-notification_colored.mfui-notification_type_info {
210
- background-color: #E1FAFF;
271
+ background-color: var(--311C20);
272
+ }
273
+ .mfui-notification_colored.mfui-notification_type_warning {
274
+ background-color: var(--137C20);
211
275
  }
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -33,30 +80,30 @@ h5 {
33
80
  pointer-events: none;
34
81
  }
35
82
  .mfui-pagination-button_active {
36
- border-color: #00B956;
83
+ border-color: var(--green);
37
84
  pointer-events: none;
38
85
  }
39
86
  .mfui-pagination-button_theme_default {
40
- color: #333333;
87
+ color: var(--content);
41
88
  }
42
89
  .mfui-pagination-button_theme_default svg {
43
- fill: #333333;
90
+ fill: var(--content);
44
91
  }
45
92
  .mfui-pagination-button_theme_default:hover {
46
- background-color: #F6F6F6;
93
+ background-color: var(--spbSky0);
47
94
  }
48
95
  .mfui-pagination-button_theme_default.mfui-pagination-button_active {
49
- border-color: #00B956;
96
+ border-color: var(--green);
50
97
  }
51
98
  .mfui-pagination-button_theme_light {
52
- color: #FFFFFF;
99
+ color: var(--stcWhite);
53
100
  }
54
101
  .mfui-pagination-button_theme_light svg {
55
- fill: #FFFFFF;
102
+ fill: var(--stcWhite);
56
103
  }
57
104
  .mfui-pagination-button_theme_light:hover {
58
- background-color: rgba(255, 255, 255, 0.25);
105
+ background-color: var(--stcWhite20);
59
106
  }
60
107
  .mfui-pagination-button_theme_light.mfui-pagination-button_active {
61
- border-color: #FFFFFF;
108
+ border-color: var(--stcWhite);
62
109
  }
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -31,30 +78,27 @@ h5 {
31
78
  margin: 0 0 16px;
32
79
  }
33
80
  .mfui-paragraph_color_green {
34
- color: #00B956;
81
+ color: var(--green);
35
82
  }
36
83
  .mfui-paragraph_color_purple {
37
- color: #731982;
84
+ color: var(--purple);
38
85
  }
39
86
  .mfui-paragraph_color_base,
40
87
  .mfui-paragraph_color_clearWhite {
41
- color: #FFFFFF;
88
+ color: var(--stcWhite);
42
89
  }
43
90
  .mfui-paragraph_color_spbSky0 {
44
- color: #F6F6F6;
91
+ color: var(--spbSky0);
45
92
  }
46
93
  .mfui-paragraph_color_spbSky1 {
47
- color: #EDEDED;
94
+ color: var(--spbSky1);
48
95
  }
49
96
  .mfui-paragraph_color_spbSky2 {
50
- color: #D8D8D8;
97
+ color: var(--spbSky2);
51
98
  }
52
99
  .mfui-paragraph_color_content,
53
100
  .mfui-paragraph_color_freshAsphalt {
54
- color: #333333;
55
- }
56
- .mfui-paragraph_color_fullBlack {
57
- color: #000000;
101
+ color: var(--content);
58
102
  }
59
103
  .mfui-paragraph_color_inherit {
60
104
  color: inherit;
@@ -8,7 +8,6 @@ declare const COLORS: {
8
8
  SPB_SKY_1: string;
9
9
  SPB_SKY_2: string;
10
10
  CONTENT: string;
11
- FULL_BLACK: string;
12
11
  INHERIT: string;
13
12
  /** @deprecated */
14
13
  CLEAR_WHITE: string;
@@ -33,7 +33,6 @@ var COLORS = {
33
33
  SPB_SKY_1: 'spbSky1',
34
34
  SPB_SKY_2: 'spbSky2',
35
35
  CONTENT: 'content',
36
- FULL_BLACK: 'fullBlack',
37
36
  INHERIT: 'inherit',
38
37
 
39
38
  /** @deprecated */
@@ -74,7 +73,7 @@ Paragraph.propTypes = {
74
73
  var propValue = props[propName];
75
74
 
76
75
  if (propValue && !Object.values(COLORS).includes(propValue)) {
77
- return new Error("Failed prop type: Invalid prop '".concat(propName, "' of value '").concat(propValue, "' supplied to '").concat(componentName, "', \n expected one of [").concat(Object.values(COLORS), "]"));
76
+ return new Error("Failed prop type: Invalid prop '".concat(propName, "' of value '").concat(propValue, "' supplied to '").concat(componentName, "',\n expected one of [").concat(Object.values(COLORS), "]"));
78
77
  }
79
78
 
80
79
  if (propValue && props[propName] === deprecatedBlackValue) {
@@ -1,3 +1,50 @@
1
+ :root {
2
+ --green: #00B956;
3
+ --purple: #731982;
4
+ --base: #FFFFFF;
5
+ --content: #333333;
6
+ --spbSky0: #F6F6F6;
7
+ --spbSky1: #EDEDED;
8
+ --spbSky2: #D8D8D8;
9
+ --spbSky3: #999999;
10
+ --warmRedC: #EB5A40;
11
+ --137C: #FFA717;
12
+ --311C: #5BD9E5;
13
+ --reflexBlue: #444189;
14
+ --fury: #F62434;
15
+ --systemBlue: #34AAF2;
16
+ --background: #FFFFFF;
17
+ --buttonHoverGreen: #10E272;
18
+ --buttonhoverPurple: #534455;
19
+ --buttonDown: #404D46;
20
+ --gradientBasic: linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%);
21
+ --gradientVIP: linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%);
22
+ --gradientExclusive: linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%);
23
+ --STCWhite: #FFFFFF;
24
+ --STCBlack: #333333;
25
+ --STCWhite5: #FFFFFF0D;
26
+ --STCWhite10: #FFFFFF1A;
27
+ --STCWhite20: #FFFFFF33;
28
+ --STCWhite50: #FFFFFF80;
29
+ --STCBlack5: #3333330D;
30
+ --STCBlack10: #3333331A;
31
+ --STCBlack20: #33333333;
32
+ --STCBlack50: #33333380;
33
+ --green80: #0CDC78;
34
+ --green20: #DDFFEC;
35
+ --purple80: #AA67C1;
36
+ --purple20: #FFEEFF;
37
+ --warmRedC80: #FF765D;
38
+ --warmRedC20: #FFCFC7;
39
+ --137C80: #FFB945;
40
+ --137C20: #FFEDD1;
41
+ --311C80: #62E3FF;
42
+ --311C20: #E1FAFF;
43
+ --reflexBlue80: #554FC9;
44
+ --reflexBlue20: #EBEAFF;
45
+ --fury80: #F8505D;
46
+ --fury20: #FFC5C9;
47
+ }
1
48
  h1,
2
49
  h2,
3
50
  h3,
@@ -106,20 +153,20 @@ h5 {
106
153
  animation: scaling 1s linear infinite;
107
154
  }
108
155
  .mfui-preloader_color_default .mfui-preloader__item_first:before {
109
- background-color: #00B956;
156
+ background-color: var(--green);
110
157
  }
111
158
  .mfui-preloader_color_default .mfui-preloader__item_second:before {
112
- background-color: #00B956;
159
+ background-color: var(--green);
113
160
  -webkit-animation-delay: 0.166s;
114
161
  animation-delay: 0.166s;
115
162
  }
116
163
  .mfui-preloader_color_default .mfui-preloader__item_third:before {
117
- background-color: #731982;
164
+ background-color: var(--purple);
118
165
  -webkit-animation-delay: 0.33s;
119
166
  animation-delay: 0.33s;
120
167
  }
121
168
  .mfui-preloader_color_black .mfui-preloader__item:before {
122
- background-color: #000000;
169
+ background-color: var(--stcBlack);
123
170
  opacity: 0.35;
124
171
  -webkit-animation: opacityScaling 1s linear infinite;
125
172
  animation: opacityScaling 1s linear infinite;
@@ -133,7 +180,7 @@ h5 {
133
180
  animation-delay: 0.33s;
134
181
  }
135
182
  .mfui-preloader_color_white .mfui-preloader__item:before {
136
- background-color: #FFFFFF;
183
+ background-color: var(--stcWhite);
137
184
  -webkit-animation: scaling 1s linear infinite;
138
185
  animation: scaling 1s linear infinite;
139
186
  }