@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
@@ -24,7 +24,8 @@ var colors = {
24
24
  border: '1px solid #EDEDED'
25
25
  }, {
26
26
  name: 'Content',
27
- code: '#333333'
27
+ code: '#333333',
28
+ border: '1px solid #EDEDED'
28
29
  }, {
29
30
  name: 'Spb Sky 0',
30
31
  code: '#F6F6F6',
@@ -73,6 +74,15 @@ var colors = {
73
74
  }, {
74
75
  name: 'Background',
75
76
  code: '#FFFFFF'
77
+ }, {
78
+ name: 'Button Hov. G.',
79
+ code: '#10E272'
80
+ }, {
81
+ name: 'Button Hov. P.',
82
+ code: '#A500BF'
83
+ }, {
84
+ name: 'Button Down',
85
+ code: '#404D46'
76
86
  }]
77
87
  }
78
88
  },
@@ -101,11 +111,12 @@ var colors = {
101
111
  description: 'Цвета не зависящие от темы',
102
112
  colors: [{
103
113
  name: 'STC White',
104
- code: '#FFFFFFF',
114
+ code: '#FFFFFF',
105
115
  border: '1px solid #EDEDED'
106
116
  }, {
107
117
  name: 'STC Black',
108
- code: '#333333'
118
+ code: '#333333',
119
+ border: '1px solid #EDEDED'
109
120
  }]
110
121
  }
111
122
  },
@@ -127,19 +138,24 @@ var colors = {
127
138
  border: '1px solid #EDEDED'
128
139
  }, {
129
140
  name: 'STC White 50%',
130
- code: '#FFFFFF80'
141
+ code: '#FFFFFF80',
142
+ border: '1px solid #EDEDED'
131
143
  }, {
132
144
  name: 'STC Black 5%',
133
- code: '#3333330D'
145
+ code: '#3333330D',
146
+ border: '1px solid #EDEDED'
134
147
  }, {
135
148
  name: 'STC Black 10%',
136
- code: '#3333331A'
149
+ code: '#3333331A',
150
+ border: '1px solid #EDEDED'
137
151
  }, {
138
152
  name: 'STC Black 20%',
139
- code: '#33333333'
153
+ code: '#33333333',
154
+ border: '1px solid #EDEDED'
140
155
  }, {
141
156
  name: 'STC Black 50%',
142
- code: '#33333380'
157
+ code: '#33333380',
158
+ border: '1px solid #EDEDED'
143
159
  }]
144
160
  }
145
161
  },
@@ -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
  }
@@ -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,
@@ -5,6 +52,16 @@ h4,
5
52
  h5 {
6
53
  margin: 0;
7
54
  }
55
+ :root {
56
+ --green7: rgba(0, 185, 86, 0.07);
57
+ --green14: rgba(0, 185, 86, 0.14);
58
+ --purple7: rgba(115, 25, 130, 0.07);
59
+ --purple14: rgba(115, 25, 130, 0.14);
60
+ --content7: rgba(51, 51, 51, 0.07);
61
+ --content14: rgba(51, 51, 51, 0.14);
62
+ --base7: rgba(255, 255, 255, 0.07);
63
+ --base14: rgba(255, 255, 255, 0.14);
64
+ }
8
65
  .mfui-button {
9
66
  font-family: inherit;
10
67
  font-size: 15px;
@@ -15,7 +72,7 @@ h5 {
15
72
  padding: 0 32px;
16
73
  border: none;
17
74
  border-radius: 30px;
18
- color: #FFFFFF;
75
+ color: var(--stcWhite);
19
76
  font-weight: 500;
20
77
  text-align: center;
21
78
  text-decoration: none;
@@ -207,119 +264,119 @@ h5 {
207
264
  display: none;
208
265
  }
209
266
  .mfui-button_type_primary.mfui-button_theme_green {
210
- color: #FFFFFF;
211
- background-color: #00B956;
267
+ color: var(--stcWhite);
268
+ background-color: var(--green);
212
269
  }
213
270
  .mfui-button_type_primary.mfui-button_theme_green svg {
214
- fill: #FFFFFF;
271
+ fill: var(--stcWhite);
215
272
  }
216
273
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_green:not(.mfui-button_loading):hover {
217
- background-color: #10E272;
218
- -webkit-box-shadow: inset 0 0 0 1px #10E272;
219
- box-shadow: inset 0 0 0 1px #10E272;
274
+ background-color: var(--buttonHoverGreen);
275
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
276
+ box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
220
277
  }
221
278
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_green:not(.mfui-button_loading):active {
222
- background-color: #404D46;
223
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
224
- box-shadow: inset 0 0 0 1px #404D46;
279
+ background-color: var(--buttonDown);
280
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
281
+ box-shadow: inset 0 0 0 1px var(--buttonDown);
225
282
  }
226
283
  .mfui-button_type_primary.mfui-button_theme_purple {
227
- color: #FFFFFF;
228
- background-color: #731982;
284
+ color: var(--stcWhite);
285
+ background-color: var(--purple);
229
286
  }
230
287
  .mfui-button_type_primary.mfui-button_theme_purple svg {
231
- fill: #FFFFFF;
288
+ fill: var(--stcWhite);
232
289
  }
233
290
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_purple:not(.mfui-button_loading):hover {
234
- background-color: #534455;
235
- -webkit-box-shadow: inset 0 0 0 1px #534455;
236
- box-shadow: inset 0 0 0 1px #534455;
291
+ background-color: var(--buttonhoverPurple);
292
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
293
+ box-shadow: inset 0 0 0 1px var(--buttonhoverPurple);
237
294
  }
238
295
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_purple:not(.mfui-button_loading):active {
239
- background-color: #404D46;
240
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
241
- box-shadow: inset 0 0 0 1px #404D46;
296
+ background-color: var(--buttonDown);
297
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
298
+ box-shadow: inset 0 0 0 1px var(--buttonDown);
242
299
  }
243
300
  .mfui-button_type_primary.mfui-button_theme_white {
244
- color: #333333;
245
- background-color: #FFFFFF;
301
+ color: var(--stcBlack);
302
+ background-color: var(--stcWhite);
246
303
  }
247
304
  .mfui-button_type_primary.mfui-button_theme_white svg {
248
- fill: #333333;
305
+ fill: var(--stcBlack);
249
306
  }
250
307
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover {
251
- color: #FFFFFF;
252
- background-color: #10E272;
253
- -webkit-box-shadow: inset 0 0 0 1px #10E272;
254
- box-shadow: inset 0 0 0 1px #10E272;
308
+ color: var(--stcBlack);
309
+ background-color: var(--buttonHoverGreen);
310
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
311
+ box-shadow: inset 0 0 0 1px var(--buttonHoverGreen);
255
312
  }
256
313
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):hover svg {
257
- fill: #FFFFFF;
314
+ fill: var(--stcBlack);
258
315
  }
259
316
  .mfui-button_no-touch.mfui-button_type_primary.mfui-button_theme_white:not(.mfui-button_loading):active {
260
- background-color: #404D46;
261
- -webkit-box-shadow: inset 0 0 0 1px #404D46;
262
- box-shadow: inset 0 0 0 1px #404D46;
317
+ background-color: var(--buttonDown);
318
+ -webkit-box-shadow: inset 0 0 0 1px var(--buttonDown);
319
+ box-shadow: inset 0 0 0 1px var(--buttonDown);
263
320
  }
264
321
  .mfui-button_type_outline.mfui-button_theme_green {
265
- color: #00B956;
322
+ color: var(--green);
266
323
  background-color: transparent;
267
- -webkit-box-shadow: inset 0 0 0 1px #00B956;
268
- box-shadow: inset 0 0 0 1px #00B956;
324
+ -webkit-box-shadow: inset 0 0 0 1px var(--green);
325
+ box-shadow: inset 0 0 0 1px var(--green);
269
326
  }
270
327
  .mfui-button_type_outline.mfui-button_theme_green svg {
271
- fill: #00B956;
328
+ fill: var(--green);
272
329
  }
273
330
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):hover {
274
- background-color: rgba(0, 185, 86, 0.07);
331
+ background-color: var(--green7);
275
332
  }
276
333
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_green:not(.mfui-button_loading):active {
277
- background-color: rgba(0, 185, 86, 0.14);
334
+ background-color: var(--green14);
278
335
  }
279
336
  .mfui-button_type_outline.mfui-button_theme_purple {
280
- color: #731982;
337
+ color: var(--purple);
281
338
  background-color: transparent;
282
- -webkit-box-shadow: inset 0 0 0 1px #731982;
283
- box-shadow: inset 0 0 0 1px #731982;
339
+ -webkit-box-shadow: inset 0 0 0 1px var(--purple);
340
+ box-shadow: inset 0 0 0 1px var(--purple);
284
341
  }
285
342
  .mfui-button_type_outline.mfui-button_theme_purple svg {
286
- fill: #731982;
343
+ fill: var(--purple);
287
344
  }
288
345
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):hover {
289
- background-color: rgba(115, 25, 130, 0.07);
346
+ background-color: var(--purple7);
290
347
  }
291
348
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_purple:not(.mfui-button_loading):active {
292
- background-color: rgba(115, 25, 130, 0.14);
349
+ background-color: var(--purple14);
293
350
  }
294
351
  .mfui-button_type_outline.mfui-button_theme_white {
295
- color: #FFFFFF;
352
+ color: var(--stcWhite);
296
353
  background-color: transparent;
297
- -webkit-box-shadow: inset 0 0 0 1px #FFFFFF;
298
- box-shadow: inset 0 0 0 1px #FFFFFF;
354
+ -webkit-box-shadow: inset 0 0 0 1px var(--stcWhite);
355
+ box-shadow: inset 0 0 0 1px var(--stcWhite);
299
356
  }
300
357
  .mfui-button_type_outline.mfui-button_theme_white svg {
301
- fill: #FFFFFF;
358
+ fill: var(--stcWhite);
302
359
  }
303
360
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):hover {
304
- background-color: rgba(255, 255, 255, 0.07);
361
+ background-color: var(--base7);
305
362
  }
306
363
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white:not(.mfui-button_loading):active {
307
- background-color: rgba(255, 255, 255, 0.14);
364
+ background-color: var(--base14);
308
365
  }
309
366
  .mfui-button_type_outline.mfui-button_theme_black {
310
- color: #333333;
367
+ color: var(--stcBlack);
311
368
  background-color: transparent;
312
- -webkit-box-shadow: inset 0 0 0 1px #333333;
313
- box-shadow: inset 0 0 0 1px #333333;
369
+ -webkit-box-shadow: inset 0 0 0 1px var(--stcBlack);
370
+ box-shadow: inset 0 0 0 1px var(--stcBlack);
314
371
  }
315
372
  .mfui-button_type_outline.mfui-button_theme_black svg {
316
- fill: #333333;
373
+ fill: var(--stcBlack);
317
374
  }
318
375
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):hover {
319
- background-color: rgba(51, 51, 51, 0.07);
376
+ background-color: var(--content7);
320
377
  }
321
378
  .mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_black:not(.mfui-button_loading):active {
322
- background-color: rgba(51, 51, 51, 0.14);
379
+ background-color: var(--content14);
323
380
  }
324
381
  .mfui-button_full-width {
325
382
  display: block;
@@ -332,44 +389,44 @@ h5 {
332
389
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled,
333
390
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover,
334
391
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:active {
335
- color: #33333380;
336
- background-color: #EDEDED;
337
- -webkit-box-shadow: inset 0 0 0 1px #D8D8D8;
338
- box-shadow: inset 0 0 0 1px #D8D8D8;
392
+ color: var(--spbSky3);
393
+ background-color: var(--spbSky1);
394
+ -webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
395
+ box-shadow: inset 0 0 0 1px var(--spbSky3);
339
396
  }
340
397
  .mfui-button.mfui-button_type_primary.mfui-button_disabled svg,
341
398
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled svg,
342
399
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:hover svg,
343
400
  .mfui-button.mfui-button_no-touch.mfui-button_type_primary.mfui-button_disabled:active svg {
344
- fill: #33333380;
401
+ fill: var(--spbSky3);
345
402
  }
346
403
  .mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
347
404
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled,
348
405
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover,
349
406
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active {
350
- color: #FFFFFF80;
407
+ color: var(--stcWhite50);
351
408
  background-color: transparent;
352
- -webkit-box-shadow: inset 0 0 0 1px #FFFFFF80;
353
- box-shadow: inset 0 0 0 1px #FFFFFF80;
409
+ -webkit-box-shadow: inset 0 0 0 1px var(--stcWhite50);
410
+ box-shadow: inset 0 0 0 1px var(--stcWhite50);
354
411
  }
355
412
  .mfui-button.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
356
413
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled svg,
357
414
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:hover svg,
358
415
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_theme_white.mfui-button_disabled:active svg {
359
- fill: #FFFFFF80;
416
+ fill: var(--stcWhite50);
360
417
  }
361
418
  .mfui-button.mfui-button_type_outline.mfui-button_disabled,
362
419
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled,
363
420
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover,
364
421
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active {
365
- color: #33333380;
422
+ color: var(--spbSky3);
366
423
  background-color: transparent;
367
- -webkit-box-shadow: inset 0 0 0 1px #D8D8D8;
368
- box-shadow: inset 0 0 0 1px #D8D8D8;
424
+ -webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
425
+ box-shadow: inset 0 0 0 1px var(--spbSky3);
369
426
  }
370
427
  .mfui-button.mfui-button_type_outline.mfui-button_disabled svg,
371
428
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled svg,
372
429
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:hover svg,
373
430
  .mfui-button.mfui-button_no-touch.mfui-button_type_outline.mfui-button_disabled:active svg {
374
- fill: #33333380;
431
+ fill: var(--spbSky3);
375
432
  }
@@ -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,