@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,56 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@2.2.0...@megafon/ui-core@3.0.0-beta.0) (2022-01-19)
7
+
8
+
9
+ ### Features
10
+
11
+ * **colors:** css custom properties and color themes support ([b19a9a5](https://github.com/MegafonWebLab/megafon-ui/commit/b19a9a5112ebc7427d60f6514d606dd9d71ca444))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **colors:** read commit description
17
+
18
+
19
+
20
+
21
+
22
+ # [2.2.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@2.1.4...@megafon/ui-core@2.2.0) (2021-12-29)
23
+
24
+
25
+ ### Features
26
+
27
+ * **radiobutton:** add dataAttrs prop ([3f8d0b4](https://github.com/MegafonWebLab/megafon-ui/commit/3f8d0b4c4ec4a6ca301ab44feed2842ec8e54f3a))
28
+
29
+
30
+
31
+
32
+
33
+ ## [2.1.4](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@2.1.3...@megafon/ui-core@2.1.4) (2021-12-20)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **colors:** add hover colors to system group ([634ac03](https://github.com/MegafonWebLab/megafon-ui/commit/634ac034445fdcd08b60ff056f75683025cb6d49))
39
+ * **tabs:** fix active tab underline width ([4499399](https://github.com/MegafonWebLab/megafon-ui/commit/449939942730143712a92930a279a8b6fc17a012))
40
+
41
+
42
+
43
+
44
+
45
+ ## [2.1.3](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@2.1.2...@megafon/ui-core@2.1.3) (2021-12-14)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * **contentarea:** fix backgroundColor and innerBackgroundColor props values ([d6004a4](https://github.com/MegafonWebLab/megafon-ui/commit/d6004a493b623cced4c453d69b0fd16d3cfbef43))
51
+
52
+
53
+
54
+
55
+
6
56
  ## [2.1.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-core@2.1.1...@megafon/ui-core@2.1.2) (2021-12-14)
7
57
 
8
58
 
@@ -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,
@@ -46,7 +93,7 @@ h5 {
46
93
  line-height: 20px;
47
94
  }
48
95
  .color-item__code {
49
- color: #33333380;
96
+ color: var(--content);
50
97
  font-size: 12px;
51
98
  line-height: 18px;
52
99
  }
@@ -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,7 +55,7 @@ h5 {
8
55
  .colors__inner {
9
56
  margin: 0 -80px;
10
57
  padding: 56px 80px 40px;
11
- background-color: #F6F6F6;
58
+ background-color: var(--spbSky0);
12
59
  }
13
60
  @media screen and (max-width: 1120px) {
14
61
  .colors__inner {
@@ -70,13 +117,13 @@ h5 {
70
117
  }
71
118
  }
72
119
  .colors__list {
120
+ -webkit-box-pack: space-evenly;
121
+ -ms-flex-pack: space-evenly;
122
+ justify-content: space-evenly;
73
123
  padding-bottom: 12px;
74
124
  }
75
125
  @media screen and (max-width: 1023px) {
76
126
  .colors__list {
77
- -webkit-box-pack: space-evenly;
78
- -ms-flex-pack: space-evenly;
79
- justify-content: space-evenly;
80
127
  -webkit-box-ordinal-group: 3;
81
128
  -ms-flex-order: 2;
82
129
  order: 2;
@@ -90,7 +137,7 @@ h5 {
90
137
  .colors__description {
91
138
  position: relative;
92
139
  padding-top: 15px;
93
- color: #33333380;
140
+ color: var(--content);
94
141
  font-size: 12px;
95
142
  line-height: 18px;
96
143
  text-align: center;
@@ -198,7 +245,7 @@ h5 {
198
245
  display: block;
199
246
  width: 100%;
200
247
  height: 1px;
201
- background-color: #D8D8D8;
248
+ background-color: var(--spbSky2);
202
249
  -webkit-transform: translateY(-50%);
203
250
  transform: translateY(-50%);
204
251
  }
@@ -209,7 +256,7 @@ h5 {
209
256
  position: absolute;
210
257
  width: 1px;
211
258
  height: 4px;
212
- background-color: #D8D8D8;
259
+ background-color: var(--spbSky2);
213
260
  }
214
261
  .colors__underline:after,
215
262
  .colors__underline:before {
@@ -229,7 +229,7 @@ var Colors = function Colors() {
229
229
  mobile: "12",
230
230
  tablet: "12"
231
231
  }, renderColorBlock(secondary)), /*#__PURE__*/React.createElement(GridColumn, {
232
- all: "5",
232
+ all: "10",
233
233
  mobile: "12",
234
234
  tablet: "12"
235
235
  }, renderColorBlock(system))), /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(GridColumn, {
@@ -238,7 +238,7 @@ var Colors = function Colors() {
238
238
  tablet: "12"
239
239
  }, renderColorBlock(gradientColors)), /*#__PURE__*/React.createElement(GridColumn, {
240
240
  all: "3",
241
- leftOffsetWide: "1",
241
+ leftOffsetWide: "2",
242
242
  leftOffsetTablet: "1",
243
243
  leftOffsetDesktop: "1",
244
244
  mobile: "12",
@@ -18,7 +18,8 @@ var colors = {
18
18
  border: '1px solid #EDEDED'
19
19
  }, {
20
20
  name: 'Content',
21
- code: '#333333'
21
+ code: '#333333',
22
+ border: '1px solid #EDEDED'
22
23
  }, {
23
24
  name: 'Spb Sky 0',
24
25
  code: '#F6F6F6',
@@ -67,6 +68,15 @@ var colors = {
67
68
  }, {
68
69
  name: 'Background',
69
70
  code: '#FFFFFF'
71
+ }, {
72
+ name: 'Button Hov. G.',
73
+ code: '#10E272'
74
+ }, {
75
+ name: 'Button Hov. P.',
76
+ code: '#A500BF'
77
+ }, {
78
+ name: 'Button Down',
79
+ code: '#404D46'
70
80
  }]
71
81
  }
72
82
  },
@@ -95,11 +105,12 @@ var colors = {
95
105
  description: 'Цвета не зависящие от темы',
96
106
  colors: [{
97
107
  name: 'STC White',
98
- code: '#FFFFFFF',
108
+ code: '#FFFFFF',
99
109
  border: '1px solid #EDEDED'
100
110
  }, {
101
111
  name: 'STC Black',
102
- code: '#333333'
112
+ code: '#333333',
113
+ border: '1px solid #EDEDED'
103
114
  }]
104
115
  }
105
116
  },
@@ -121,19 +132,24 @@ var colors = {
121
132
  border: '1px solid #EDEDED'
122
133
  }, {
123
134
  name: 'STC White 50%',
124
- code: '#FFFFFF80'
135
+ code: '#FFFFFF80',
136
+ border: '1px solid #EDEDED'
125
137
  }, {
126
138
  name: 'STC Black 5%',
127
- code: '#3333330D'
139
+ code: '#3333330D',
140
+ border: '1px solid #EDEDED'
128
141
  }, {
129
142
  name: 'STC Black 10%',
130
- code: '#3333331A'
143
+ code: '#3333331A',
144
+ border: '1px solid #EDEDED'
131
145
  }, {
132
146
  name: 'STC Black 20%',
133
- code: '#33333333'
147
+ code: '#33333333',
148
+ border: '1px solid #EDEDED'
134
149
  }, {
135
150
  name: 'STC Black 50%',
136
- code: '#33333380'
151
+ code: '#33333380',
152
+ border: '1px solid #EDEDED'
137
153
  }]
138
154
  }
139
155
  },
@@ -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,
@@ -6,17 +53,17 @@ h5 {
6
53
  margin: 0;
7
54
  }
8
55
  .mfui-accordion {
9
- border-top: 1px solid #D8D8D8;
10
- border-bottom: 1px solid #D8D8D8;
56
+ border-top: 1px solid var(--spbSky2);
57
+ border-bottom: 1px solid var(--spbSky2);
11
58
  }
12
59
  .mfui-accordion + .mfui-accordion {
13
60
  border-top: none;
14
61
  }
15
62
  .mfui-accordion:not(.mfui-accordion_open) .mfui-accordion__title-wrap:hover {
16
- background: rgba(237, 237, 237, 0.5);
63
+ background: var(--spbSky0);
17
64
  }
18
65
  .mfui-accordion.mfui-accordion_open .mfui-accordion__title-wrap {
19
- background: #EDEDED;
66
+ background: var(--spbSky1);
20
67
  }
21
68
  .mfui-accordion__title-wrap {
22
69
  position: relative;
@@ -42,6 +89,7 @@ h5 {
42
89
  -webkit-transform: translateY(-50%);
43
90
  transform: translateY(-50%);
44
91
  opacity: 1;
92
+ fill: var(--content);
45
93
  }
46
94
  .mfui-accordion__content-inner {
47
95
  padding: 24px 16px;
@@ -66,5 +114,5 @@ h5 {
66
114
  padding-bottom: 24px;
67
115
  }
68
116
  .mfui-accordion__icon {
69
- fill: #000000;
117
+ fill: var(--content);
70
118
  }
@@ -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,
@@ -100,10 +147,10 @@ h5 {
100
147
  background-color: transparent;
101
148
  }
102
149
  .mfui-banner__pagination_theme_green {
103
- background-color: #00B956;
150
+ background-color: var(--green);
104
151
  }
105
152
  .mfui-banner__pagination_theme_dark {
106
- background-color: rgba(0, 0, 0, 0.25);
153
+ background-color: var(--stcBlack20);
107
154
  }
108
155
  .mfui-banner__dot {
109
156
  width: 12px;
@@ -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,
@@ -27,14 +74,14 @@ h5 {
27
74
  width: 100%;
28
75
  height: 100%;
29
76
  border-radius: 50%;
30
- background-color: #FFFFFF80;
77
+ background-color: var(--stcWhite50);
31
78
  }
32
79
  .mfui-banner-dot_active {
33
80
  padding: 0;
34
81
  cursor: default;
35
82
  }
36
83
  .mfui-banner-dot_active:before {
37
- background-color: #FFFFFF;
84
+ background-color: var(--stcWhite);
38
85
  }
39
86
  .mfui-banner-dot_active.mfui-banner-dot_timer:before {
40
87
  display: none;
@@ -54,8 +101,8 @@ h5 {
54
101
  transform-origin: center;
55
102
  -webkit-animation: timer linear;
56
103
  animation: timer linear;
57
- fill: #FFFFFF80;
58
- stroke: #FFFFFF;
104
+ fill: var(--stcWhite50);
105
+ stroke: var(--base);
59
106
  stroke-width: 100;
60
107
  stroke-dasharray: 1000;
61
108
  }