mediacube-ui-v2 0.0.44 → 0.0.46
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.
- package/README.md +4 -0
- package/README.template.md +4 -0
- package/dist/assets/fonts/inter/Inter-Bold.woff +0 -0
- package/dist/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/dist/assets/fonts/inter/Inter-Italic.woff +0 -0
- package/dist/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/dist/assets/fonts/inter/Inter-Medium.woff +0 -0
- package/dist/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/dist/assets/fonts/inter/Inter-Regular.woff +0 -0
- package/dist/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/dist/assets/fonts/inter/Inter-SemiBold.woff +0 -0
- package/dist/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/inter/inter.css +44 -0
- package/dist/assets/styles/functions.scss +187 -0
- package/dist/assets/styles/main.scss +5 -0
- package/dist/assets/styles/mixins.scss +664 -0
- package/dist/assets/styles/spacing.scss +33 -0
- package/dist/assets/styles/table.scss +12 -0
- package/dist/assets/styles/toast.scss +62 -0
- package/dist/assets/styles/tooltip.scss +123 -0
- package/dist/assets/tokens/animations.scss +57 -0
- package/dist/assets/tokens/border-radius.scss +23 -0
- package/dist/assets/tokens/box-shadows.scss +22 -0
- package/dist/assets/tokens/colors.scss +81 -0
- package/dist/assets/tokens/durations.scss +13 -0
- package/dist/assets/tokens/easings.scss +6 -0
- package/dist/assets/tokens/font-families.scss +8 -0
- package/dist/assets/tokens/font-sizes.scss +23 -0
- package/dist/assets/tokens/font-weights.scss +16 -0
- package/dist/assets/tokens/gradients.scss +18 -0
- package/dist/assets/tokens/json/animations.json +6 -0
- package/dist/assets/tokens/json/border-radius.json +24 -0
- package/dist/assets/tokens/json/box-shadows.json +24 -0
- package/dist/assets/tokens/json/colors.json +71 -0
- package/dist/assets/tokens/json/durations.json +10 -0
- package/dist/assets/tokens/json/easings.json +3 -0
- package/dist/assets/tokens/json/font-families.json +4 -0
- package/dist/assets/tokens/json/font-sizes.json +18 -0
- package/dist/assets/tokens/json/font-weights.json +12 -0
- package/dist/assets/tokens/json/gradients.json +13 -0
- package/dist/assets/tokens/json/index.d.ts +19 -0
- package/dist/assets/tokens/json/index.d.ts.map +1 -0
- package/dist/assets/tokens/json/index.js +18 -0
- package/dist/assets/tokens/json/index.ts +37 -0
- package/dist/assets/tokens/json/letter-spacings.json +4 -0
- package/dist/assets/tokens/json/line-heights.json +18 -0
- package/dist/assets/tokens/json/media-queries.json +26 -0
- package/dist/assets/tokens/json/opacities.json +5 -0
- package/dist/assets/tokens/json/sizes.json +42 -0
- package/dist/assets/tokens/json/spacings.json +34 -0
- package/dist/assets/tokens/json/z-indexes.json +12 -0
- package/dist/assets/tokens/letter-spacings.scss +6 -0
- package/dist/assets/tokens/line-heights.scss +22 -0
- package/dist/assets/tokens/media-queries.scss +32 -0
- package/dist/assets/tokens/opacities.scss +8 -0
- package/dist/assets/tokens/sizes.scss +47 -0
- package/dist/assets/tokens/spacings.scss +38 -0
- package/dist/assets/tokens/z-indexes.scss +14 -0
- package/dist/assets/variables.scss +18 -0
- package/dist/mediacube-ui-v2.js +1 -1
- package/dist/mediacube-ui-v2.umd.cjs +1 -1
- package/dist/npm_preview.jpg +0 -0
- package/dist/style.css +1 -1
- package/dist/types/main.d.ts +1 -0
- package/package.json +3 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@use 'sass:color' as sasscolor;
|
|
2
|
+
@use './mixins' as *;
|
|
3
|
+
@use '../tokens/z-indexes' as *;
|
|
4
|
+
@use '../tokens/spacings' as *;
|
|
5
|
+
@use '../tokens/border-radius' as *;
|
|
6
|
+
@use '../tokens/colors' as *;
|
|
7
|
+
@use '../tokens/font-sizes' as *;
|
|
8
|
+
@use '../tokens/line-heights' as *;
|
|
9
|
+
|
|
10
|
+
.toasted-container {
|
|
11
|
+
$toasted-container-name: &;
|
|
12
|
+
z-index: $z-index-toasted !important;
|
|
13
|
+
.toasted {
|
|
14
|
+
&.mc-toast {
|
|
15
|
+
padding: $space-100 0;
|
|
16
|
+
padding-inline: $space-150 $space-400;
|
|
17
|
+
&--primary {
|
|
18
|
+
border-radius: $radius-100;
|
|
19
|
+
background-color: $color-black;
|
|
20
|
+
color: $color-white;
|
|
21
|
+
font-size: $font-size-200;
|
|
22
|
+
line-height: $line-height-200;
|
|
23
|
+
|
|
24
|
+
.action {
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
text-transform: none;
|
|
27
|
+
margin: 0;
|
|
28
|
+
font-size: $font-size-200;
|
|
29
|
+
line-height: $line-height-200;
|
|
30
|
+
&.mc-toast__action {
|
|
31
|
+
color: sasscolor.scale($color-white, $lightness: 50%);
|
|
32
|
+
|
|
33
|
+
&--outline {
|
|
34
|
+
color: $color-white;
|
|
35
|
+
padding: $space-100 $space-150;
|
|
36
|
+
border: 1px solid $color-outline-gray;
|
|
37
|
+
border-radius: $radius-50;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&:not(:last-child) {
|
|
41
|
+
margin-inline-end: $space-50;
|
|
42
|
+
}
|
|
43
|
+
&:first-of-type {
|
|
44
|
+
margin-inline-start: $space-600;
|
|
45
|
+
}
|
|
46
|
+
&:last-child {
|
|
47
|
+
margin-inline-end: -$space-300; // TODO: refactor negative margin
|
|
48
|
+
}
|
|
49
|
+
&:first-of-type:last-child {
|
|
50
|
+
margin-inline-end: -$space-300; // TODO: refactor negative margin
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.las,
|
|
55
|
+
i {
|
|
56
|
+
@include size($space-300);
|
|
57
|
+
font-size: 24px;
|
|
58
|
+
margin-inline-end: $space-150;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@use "../tokens/colors" as *;
|
|
2
|
+
@use "../tokens/border-radius" as *;
|
|
3
|
+
@use "../tokens/box-shadows" as *;
|
|
4
|
+
@use "../tokens/spacings" as *;
|
|
5
|
+
@use "../tokens/font-sizes" as *;
|
|
6
|
+
@use "../tokens/line-heights" as *;
|
|
7
|
+
@use "../tokens/font-weights" as *;
|
|
8
|
+
@use "../tokens/font-families" as *;
|
|
9
|
+
@use "../tokens/z-indexes" as *;
|
|
10
|
+
|
|
11
|
+
.mc-tooltip {
|
|
12
|
+
--tooltip-color: #{$color-black};
|
|
13
|
+
--tooltip-text-color: #{$color-white};
|
|
14
|
+
font-family: $font-family-main;
|
|
15
|
+
text-transform: none;
|
|
16
|
+
font-size: $font-size-200;
|
|
17
|
+
line-height: $line-height-200;
|
|
18
|
+
user-select: none;
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
position: absolute;
|
|
21
|
+
font-weight: $font-weight-normal;
|
|
22
|
+
text-align: center;
|
|
23
|
+
|
|
24
|
+
border-radius: $radius-100;
|
|
25
|
+
box-shadow: $shadow-s;
|
|
26
|
+
padding: $space-100 $space-150;
|
|
27
|
+
background: var(--tooltip-color);
|
|
28
|
+
color: var(--tooltip-text-color);
|
|
29
|
+
z-index: $z-index-toasted;
|
|
30
|
+
white-space: normal;
|
|
31
|
+
word-break: break-word;
|
|
32
|
+
width: max-content;
|
|
33
|
+
transition: all 0.3s ease;
|
|
34
|
+
& > * {
|
|
35
|
+
display: inline-block;
|
|
36
|
+
}
|
|
37
|
+
&[tooltip-arrow="true"]::before {
|
|
38
|
+
content: "";
|
|
39
|
+
border: 5px solid transparent;
|
|
40
|
+
z-index: 1001;
|
|
41
|
+
position: absolute;
|
|
42
|
+
}
|
|
43
|
+
&:hover:before,
|
|
44
|
+
&:hover:after {
|
|
45
|
+
display: block;
|
|
46
|
+
}
|
|
47
|
+
&[tooltip-size="xs"]::after {
|
|
48
|
+
max-width: 180px;
|
|
49
|
+
}
|
|
50
|
+
&[tooltip-size="s"]::after {
|
|
51
|
+
max-width: 250px;
|
|
52
|
+
}
|
|
53
|
+
&[tooltip-size="m"]::after {
|
|
54
|
+
max-width: 320px;
|
|
55
|
+
}
|
|
56
|
+
&[tooltip-size="l"]::after {
|
|
57
|
+
max-width: 380px;
|
|
58
|
+
font-size: $font-size-300;
|
|
59
|
+
}
|
|
60
|
+
&[tooltip-size="xl"]::after {
|
|
61
|
+
max-width: 500px;
|
|
62
|
+
font-size: $font-size-300;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&[tooltip-placement^="top"],
|
|
66
|
+
&[tooltip-placement^="bottom"] {
|
|
67
|
+
animation: tooltips-vert 300ms ease-out forwards;
|
|
68
|
+
}
|
|
69
|
+
&[tooltip-placement^="left"],
|
|
70
|
+
&[tooltip-placement^="right"] {
|
|
71
|
+
animation: tooltips-horz 300ms ease-out forwards;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/* position: Top */
|
|
77
|
+
&[tooltip-placement^="top"]::before {
|
|
78
|
+
top: 100%;
|
|
79
|
+
left: 50%;
|
|
80
|
+
border-bottom-width: 0;
|
|
81
|
+
border-top-color: var(--tooltip-color);
|
|
82
|
+
transform: translate(-50%, 0);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* position: Bottom */
|
|
86
|
+
&[tooltip-placement^="bottom"]::before {
|
|
87
|
+
top: 0;
|
|
88
|
+
left: 50%;
|
|
89
|
+
border-top-width: 0;
|
|
90
|
+
border-bottom-color: var(--tooltip-color);
|
|
91
|
+
transform: translate(-50%, -100%);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* position: Left */
|
|
95
|
+
&[tooltip-placement^="left"]::before {
|
|
96
|
+
top: 50%;
|
|
97
|
+
left: 100%;
|
|
98
|
+
border-right-width: 0;
|
|
99
|
+
border-left-color: var(--tooltip-color);
|
|
100
|
+
transform: translate(0, -50%);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* position: Right */
|
|
104
|
+
&[tooltip-placement^="right"]::before {
|
|
105
|
+
top: 50%;
|
|
106
|
+
left: 0;
|
|
107
|
+
border-left-width: 0;
|
|
108
|
+
border-right-color: var(--tooltip-color);
|
|
109
|
+
transform: translate(-100%, -50%);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@keyframes tooltips-vert {
|
|
114
|
+
to {
|
|
115
|
+
opacity: 0.9;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@keyframes tooltips-horz {
|
|
120
|
+
to {
|
|
121
|
+
opacity: 0.9;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@keyframes rotate {
|
|
2
|
+
from {
|
|
3
|
+
transform: rotate(0deg);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: rotate(359deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
@keyframes rotate-reverse {
|
|
10
|
+
from {
|
|
11
|
+
transform: rotate(0deg);
|
|
12
|
+
}
|
|
13
|
+
to {
|
|
14
|
+
transform: rotate(-359deg);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@keyframes slide-up {
|
|
19
|
+
from {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
transform: translate3d(0, 100%, 0);
|
|
22
|
+
}
|
|
23
|
+
to {
|
|
24
|
+
opacity: 1;
|
|
25
|
+
transform: translate3d(0, 0, 0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes slide-up-with-margin {
|
|
30
|
+
from {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
margin-top: 30px;
|
|
33
|
+
}
|
|
34
|
+
to {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
margin-top: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes glow {
|
|
41
|
+
0%,
|
|
42
|
+
100% {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
50% {
|
|
46
|
+
opacity: 0.5;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @tokens Animations
|
|
51
|
+
* @presenter Animation
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
$animation-slide-up: slide-up 0.3s;
|
|
55
|
+
$animation-slide-up-with-margin: slide-up-with-margin 0.3s;
|
|
56
|
+
$animation-spinner: rotate 1.2s infinite cubic-bezier(0.55, 0, 0.1, 1);
|
|
57
|
+
$animation-glow: glow 1.5s ease-in-out infinite;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$radius-square: 0px;
|
|
2
|
+
$radius-50: 4px;
|
|
3
|
+
$radius-100: 8px;
|
|
4
|
+
$radius-150: 12px;
|
|
5
|
+
$radius-200: 16px;
|
|
6
|
+
$radius-300: 24px;
|
|
7
|
+
$radius-400: 32px;
|
|
8
|
+
$radius-1250: 100px;
|
|
9
|
+
$radius-rounded: 300px;
|
|
10
|
+
$radius-circle: 50%;
|
|
11
|
+
|
|
12
|
+
$token-radius: (
|
|
13
|
+
"square": $radius-square,
|
|
14
|
+
"50": $radius-50,
|
|
15
|
+
"100": $radius-100,
|
|
16
|
+
"150": $radius-150,
|
|
17
|
+
"200": $radius-200,
|
|
18
|
+
"300": $radius-300,
|
|
19
|
+
"400": $radius-400,
|
|
20
|
+
"1250": $radius-1250,
|
|
21
|
+
"rounded": $radius-rounded,
|
|
22
|
+
"circle": $radius-circle
|
|
23
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.16);
|
|
2
|
+
$shadow-s: 0 4px 12px rgba(0, 0, 0, 0.16);
|
|
3
|
+
$shadow-m: 0 12px 32px rgba(0, 0, 0, 0.24);
|
|
4
|
+
$shadow-l: 0 24px 40px rgba(0, 0, 0, 0.16);
|
|
5
|
+
$shadow-xs-blue: 0px 2px 8px rgba(51, 68, 153, 0.1);
|
|
6
|
+
$shadow-s-blue: 0 4px 12px rgba(51, 68, 153, 0.1);
|
|
7
|
+
$shadow-m-blue: 0 12px 32px rgba(51, 68, 153, 0.2);
|
|
8
|
+
$shadow-xs-purple: 0px 2px 8px rgba(91, 44, 205, 0.1);
|
|
9
|
+
$shadow-s-purple: 0 4px 12px rgba(91, 44, 205, 0.1);
|
|
10
|
+
$shadow-m-purple: 0 12px 32px rgba(91, 44, 205, 0.2);
|
|
11
|
+
$token-shadows: (
|
|
12
|
+
'xs': $shadow-xs,
|
|
13
|
+
's': $shadow-s,
|
|
14
|
+
'm': $shadow-m,
|
|
15
|
+
'l': $shadow-l,
|
|
16
|
+
'xs-blue': $shadow-xs-blue,
|
|
17
|
+
's-blue': $shadow-s-blue,
|
|
18
|
+
'm-blue': $shadow-m-blue,
|
|
19
|
+
'xs-purple': $shadow-xs-purple,
|
|
20
|
+
's-purple': $shadow-s-purple,
|
|
21
|
+
'm-purple': $shadow-m-purple,
|
|
22
|
+
);
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @tokens Colors
|
|
3
|
+
* @presenter Color
|
|
4
|
+
*/
|
|
5
|
+
//neutral colors
|
|
6
|
+
$color-black: #202427; /* Цвет основного текста */
|
|
7
|
+
$color-dark-gray: #5C6670; /* Иконки, доп.текст, менее активные эл-ты */
|
|
8
|
+
$color-gray: #8F99A3; /* Для плашек, хорошо держит форму */
|
|
9
|
+
$color-outline-gray: #C7CCD1; /* Для обводок */
|
|
10
|
+
$color-outline-light: #DEE0E2; /* Для обводок */
|
|
11
|
+
$color-hover-gray: #EDF0F3; /* Ховеры и неактивные эл-ты */
|
|
12
|
+
$color-bg-gray: #F5F6Fa; /* Бэкграунд */
|
|
13
|
+
$color-white: #FFFFFF; /* Основной фон */
|
|
14
|
+
//main colors
|
|
15
|
+
$color-hover-purple: #7238FF; /* Кнопки, ссылки, выделение активных элементов */
|
|
16
|
+
$color-purple: #8756FF; /* Кнопки, ссылки, выделение активных элементов и иконки */
|
|
17
|
+
$color-light-purple: #CBB7FF; /* Текст на accent purple */
|
|
18
|
+
$color-lighter-purple: #EEE8FF; /* Выбранные элементы */
|
|
19
|
+
$color-bg-purple: #9673ED; /* Цвет для бэкграунда */
|
|
20
|
+
$color-primary-bg: #F5F6Fa; /* Цвет основного фона */
|
|
21
|
+
//additional colors
|
|
22
|
+
$color-hover-blue: #0A54C2; /* Альтернатива – Кнопки, ссылки, выделение активных элементов */
|
|
23
|
+
$color-blue: #2578F4; /* Альтернатива – Кнопки, ссылки, выделение активных элементов и иконки */
|
|
24
|
+
$color-light-blue: #92BBFA; /* Альтернатива – Текст на accent blue */
|
|
25
|
+
$color-lighter-blue: #E1EDFF; /* Альтернатива – Выбранные элементы */
|
|
26
|
+
|
|
27
|
+
$color-dark-orange: #BD8400; /* Кнопки, статус данных */
|
|
28
|
+
$color-orange: #FCB100; /* Кнопки, статус данных */
|
|
29
|
+
$color-yellow: #FFC60A;
|
|
30
|
+
$color-dark-red: #D5260B; /* Красные кнопки отмены */
|
|
31
|
+
$color-bright-pink: #e8178a; /* Promo color */
|
|
32
|
+
$color-red: #F5563D; /* Красные кнопки отмены */
|
|
33
|
+
$color-pale-pink: #FC9283;
|
|
34
|
+
$color-dark-green: #218321; /* Цифры и положительные действия */
|
|
35
|
+
$color-green: #4DCB4D; /* Зелёные кнопки */
|
|
36
|
+
$color-toxic: #E8F443; /* Кнопки, статус данных */
|
|
37
|
+
|
|
38
|
+
$color-ultraviolet: #C41CFD; /* Статус данных */
|
|
39
|
+
$color-pinkish: #F073B1; /* Статус данных */
|
|
40
|
+
$color-azure: #0A85C2; /* Статус данных */
|
|
41
|
+
|
|
42
|
+
$color-turquoise: #4EA9A2; /* Нотификации вверху страницы */
|
|
43
|
+
$color-darken-turquoise: #2F8C99; /* Кастомные тултипы */
|
|
44
|
+
|
|
45
|
+
$color-transparent: transparent; /* Прозрачный фон */
|
|
46
|
+
|
|
47
|
+
$token-colors: (
|
|
48
|
+
"purple": $color-purple,
|
|
49
|
+
"hover-purple": $color-hover-purple,
|
|
50
|
+
"light-purple": $color-light-purple,
|
|
51
|
+
"bg-purple": $color-bg-purple,
|
|
52
|
+
"lighter-purple": $color-lighter-purple,
|
|
53
|
+
"black": $color-black,
|
|
54
|
+
"outline-light": $color-outline-light,
|
|
55
|
+
"dark-gray": $color-dark-gray,
|
|
56
|
+
"gray": $color-gray,
|
|
57
|
+
"outline-gray": $color-outline-gray,
|
|
58
|
+
"hover-gray": $color-hover-gray,
|
|
59
|
+
"bg-gray": $color-bg-gray,
|
|
60
|
+
"white": $color-white,
|
|
61
|
+
"hover-blue": $color-hover-blue,
|
|
62
|
+
"blue": $color-blue,
|
|
63
|
+
"light-blue": $color-light-blue,
|
|
64
|
+
"lighter-blue": $color-lighter-blue,
|
|
65
|
+
"dark-orange": $color-dark-orange,
|
|
66
|
+
"orange": $color-orange,
|
|
67
|
+
"yellow": $color-yellow,
|
|
68
|
+
"dark-red": $color-dark-red,
|
|
69
|
+
"red": $color-red,
|
|
70
|
+
"bright-pink": $color-bright-pink,
|
|
71
|
+
"pale-pink": $color-pale-pink,
|
|
72
|
+
"dark-green": $color-dark-green,
|
|
73
|
+
"green": $color-green,
|
|
74
|
+
"toxic": $color-toxic,
|
|
75
|
+
"ultraviolet": $color-ultraviolet,
|
|
76
|
+
"pinkish": $color-pinkish,
|
|
77
|
+
"azure": $color-azure,
|
|
78
|
+
"turquoise": $color-turquoise,
|
|
79
|
+
"darken-turquoise": $color-darken-turquoise,
|
|
80
|
+
"transparent": $color-transparent,
|
|
81
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @tokens Font Sizes
|
|
3
|
+
* @presenter FontSize
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
$font-size-100: 10px;
|
|
7
|
+
$font-size-200: 13px;
|
|
8
|
+
$font-size-300: 16px;
|
|
9
|
+
$font-size-400: 20px;
|
|
10
|
+
$font-size-500: 28px;
|
|
11
|
+
$font-size-600: 32px;
|
|
12
|
+
$font-size-700: 48px;
|
|
13
|
+
|
|
14
|
+
$token-font-sizes: (
|
|
15
|
+
"100": $font-size-100,
|
|
16
|
+
"200": $font-size-200,
|
|
17
|
+
"300": $font-size-300,
|
|
18
|
+
"400": $font-size-400,
|
|
19
|
+
"500": $font-size-500,
|
|
20
|
+
"600": $font-size-600,
|
|
21
|
+
"700": $font-size-700,
|
|
22
|
+
);
|
|
23
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @tokens Font Weights
|
|
3
|
+
* @presenter FontWeight
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
$font-weight-normal: 400;
|
|
7
|
+
$font-weight-medium: 500;
|
|
8
|
+
$font-weight-semi-bold: 600;
|
|
9
|
+
$font-weight-bold: 700;
|
|
10
|
+
|
|
11
|
+
$token-font-weights: (
|
|
12
|
+
"normal": $font-weight-normal,
|
|
13
|
+
"medium": $font-weight-medium,
|
|
14
|
+
"semi-bold": $font-weight-semi-bold,
|
|
15
|
+
"bold": $font-weight-bold,
|
|
16
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use "colors" as *;
|
|
2
|
+
/**
|
|
3
|
+
* @tokens Gradients
|
|
4
|
+
* @presenter Gradient
|
|
5
|
+
*/
|
|
6
|
+
$gradient-pink: linear-gradient(180deg, #F5576C 0%, #F093FB 100%); /* Фирменный цвет личного кабинета */
|
|
7
|
+
$gradient-violet: linear-gradient(180deg, #E41AFE 0%, #8035F8 100%); /* Столбики в графике 5 порядка */
|
|
8
|
+
$gradient-blue: linear-gradient(180deg, #1ADBFE 0%, #3580F8 100%); /* Нотификации и столбики в графике 4 порядка */
|
|
9
|
+
$gradient-yellow: linear-gradient(180deg, #FEE41A 0%, #F89B35 100%); /* Столбики в графике 3 порядка */
|
|
10
|
+
$gradient-green: linear-gradient(180deg, #C9DD4C 0%, #63BE7E 100%); /* Столбики в графике 2 порядка */
|
|
11
|
+
$gradient-red: linear-gradient(180deg, #F26567 0%, #F79440 100%); /* Столбики в графике 1 порядка */
|
|
12
|
+
$gradient-purple: linear-gradient(270deg, #9a47ed 0%, #8446ff 100%); /* Основной градиент для MCPay */
|
|
13
|
+
$gradient-purple-pink: linear-gradient(90deg, #722eff 2%, #fe6ffc 100%); /*Градиент промоакции*/
|
|
14
|
+
$gradient-blue-purple: linear-gradient(90deg, #18bfe3 20%, #8756ff 70%); /*Градиент промоакции*/
|
|
15
|
+
$gradient-dark-blue: linear-gradient(90deg, #5550EF 0%, #7F4EFF 100%); /*Градиент автоплатежей*/
|
|
16
|
+
|
|
17
|
+
$gradient-primary-radial: radial-gradient(rgb(179, 211, 255), rgb(62, 132, 244)); /* Radial gradient example */
|
|
18
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$radius-square": "0px",
|
|
3
|
+
"$radius-50": "4px",
|
|
4
|
+
"$radius-100": "8px",
|
|
5
|
+
"$radius-150": "12px",
|
|
6
|
+
"$radius-200": "16px",
|
|
7
|
+
"$radius-300": "24px",
|
|
8
|
+
"$radius-400": "32px",
|
|
9
|
+
"$radius-1250": "100px",
|
|
10
|
+
"$radius-rounded": "300px",
|
|
11
|
+
"$radius-circle": "50%",
|
|
12
|
+
"$token-radius": {
|
|
13
|
+
"50": "4px",
|
|
14
|
+
"100": "8px",
|
|
15
|
+
"150": "12px",
|
|
16
|
+
"200": "16px",
|
|
17
|
+
"300": "24px",
|
|
18
|
+
"400": "32px",
|
|
19
|
+
"1250": "100px",
|
|
20
|
+
"square": "0px",
|
|
21
|
+
"rounded": "300px",
|
|
22
|
+
"circle": "50%"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$shadow-xs": "0 2px 8px rgba(0, 0, 0, 0.16)",
|
|
3
|
+
"$shadow-s": "0 4px 12px rgba(0, 0, 0, 0.16)",
|
|
4
|
+
"$shadow-m": "0 12px 32px rgba(0, 0, 0, 0.24)",
|
|
5
|
+
"$shadow-l": "0 24px 40px rgba(0, 0, 0, 0.16)",
|
|
6
|
+
"$shadow-xs-blue": "0px 2px 8px rgba(51, 68, 153, 0.1)",
|
|
7
|
+
"$shadow-s-blue": "0 4px 12px rgba(51, 68, 153, 0.1)",
|
|
8
|
+
"$shadow-m-blue": "0 12px 32px rgba(51, 68, 153, 0.2)",
|
|
9
|
+
"$shadow-xs-purple": "0px 2px 8px rgba(91, 44, 205, 0.1)",
|
|
10
|
+
"$shadow-s-purple": "0 4px 12px rgba(91, 44, 205, 0.1)",
|
|
11
|
+
"$shadow-m-purple": "0 12px 32px rgba(91, 44, 205, 0.2)",
|
|
12
|
+
"$token-shadows": {
|
|
13
|
+
"xs": "0 2px 8px rgba(0, 0, 0, 0.16)",
|
|
14
|
+
"s": "0 4px 12px rgba(0, 0, 0, 0.16)",
|
|
15
|
+
"m": "0 12px 32px rgba(0, 0, 0, 0.24)",
|
|
16
|
+
"l": "0 24px 40px rgba(0, 0, 0, 0.16)",
|
|
17
|
+
"xs-blue": "0px 2px 8px rgba(51, 68, 153, 0.1)",
|
|
18
|
+
"s-blue": "0 4px 12px rgba(51, 68, 153, 0.1)",
|
|
19
|
+
"m-blue": "0 12px 32px rgba(51, 68, 153, 0.2)",
|
|
20
|
+
"xs-purple": "0px 2px 8px rgba(91, 44, 205, 0.1)",
|
|
21
|
+
"s-purple": "0 4px 12px rgba(91, 44, 205, 0.1)",
|
|
22
|
+
"m-purple": "0 12px 32px rgba(91, 44, 205, 0.2)"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$color-black": "#202427",
|
|
3
|
+
"$color-dark-gray": "#5C6670",
|
|
4
|
+
"$color-gray": "#8F99A3",
|
|
5
|
+
"$color-outline-gray": "#C7CCD1",
|
|
6
|
+
"$color-outline-light": "#DEE0E2",
|
|
7
|
+
"$color-hover-gray": "#EDF0F3",
|
|
8
|
+
"$color-bg-gray": "#F5F6Fa",
|
|
9
|
+
"$color-white": "#FFFFFF",
|
|
10
|
+
"$color-hover-purple": "#7238FF",
|
|
11
|
+
"$color-purple": "#8756FF",
|
|
12
|
+
"$color-light-purple": "#CBB7FF",
|
|
13
|
+
"$color-lighter-purple": "#EEE8FF",
|
|
14
|
+
"$color-bg-purple": "#9673ED",
|
|
15
|
+
"$color-primary-bg": "#F5F6Fa",
|
|
16
|
+
"$color-hover-blue": "#0A54C2",
|
|
17
|
+
"$color-blue": "#2578F4",
|
|
18
|
+
"$color-light-blue": "#92BBFA",
|
|
19
|
+
"$color-lighter-blue": "#E1EDFF",
|
|
20
|
+
"$color-dark-orange": "#BD8400",
|
|
21
|
+
"$color-orange": "#FCB100",
|
|
22
|
+
"$color-yellow": "#FFC60A",
|
|
23
|
+
"$color-dark-red": "#D5260B",
|
|
24
|
+
"$color-bright-pink": "#e8178a",
|
|
25
|
+
"$color-red": "#F5563D",
|
|
26
|
+
"$color-pale-pink": "#FC9283",
|
|
27
|
+
"$color-dark-green": "#218321",
|
|
28
|
+
"$color-green": "#4DCB4D",
|
|
29
|
+
"$color-toxic": "#E8F443",
|
|
30
|
+
"$color-ultraviolet": "#C41CFD",
|
|
31
|
+
"$color-pinkish": "#F073B1",
|
|
32
|
+
"$color-azure": "#0A85C2",
|
|
33
|
+
"$color-turquoise": "#4EA9A2",
|
|
34
|
+
"$color-darken-turquoise": "#2F8C99",
|
|
35
|
+
"$color-transparent": "transparent",
|
|
36
|
+
"$token-colors": {
|
|
37
|
+
"purple": "#8756FF",
|
|
38
|
+
"hover-purple": "#7238FF",
|
|
39
|
+
"light-purple": "#CBB7FF",
|
|
40
|
+
"bg-purple": "#9673ED",
|
|
41
|
+
"lighter-purple": "#EEE8FF",
|
|
42
|
+
"black": "#202427",
|
|
43
|
+
"outline-light": "#DEE0E2",
|
|
44
|
+
"dark-gray": "#5C6670",
|
|
45
|
+
"gray": "#8F99A3",
|
|
46
|
+
"outline-gray": "#C7CCD1",
|
|
47
|
+
"hover-gray": "#EDF0F3",
|
|
48
|
+
"bg-gray": "#F5F6Fa",
|
|
49
|
+
"white": "#FFFFFF",
|
|
50
|
+
"hover-blue": "#0A54C2",
|
|
51
|
+
"blue": "#2578F4",
|
|
52
|
+
"light-blue": "#92BBFA",
|
|
53
|
+
"lighter-blue": "#E1EDFF",
|
|
54
|
+
"dark-orange": "#BD8400",
|
|
55
|
+
"orange": "#FCB100",
|
|
56
|
+
"yellow": "#FFC60A",
|
|
57
|
+
"dark-red": "#D5260B",
|
|
58
|
+
"red": "#F5563D",
|
|
59
|
+
"bright-pink": "#e8178a",
|
|
60
|
+
"pale-pink": "#FC9283",
|
|
61
|
+
"dark-green": "#218321",
|
|
62
|
+
"green": "#4DCB4D",
|
|
63
|
+
"toxic": "#E8F443",
|
|
64
|
+
"ultraviolet": "#C41CFD",
|
|
65
|
+
"pinkish": "#F073B1",
|
|
66
|
+
"azure": "#0A85C2",
|
|
67
|
+
"turquoise": "#4EA9A2",
|
|
68
|
+
"darken-turquoise": "#2F8C99",
|
|
69
|
+
"transparent": "transparent"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$font-size-100": "10px",
|
|
3
|
+
"$font-size-200": "13px",
|
|
4
|
+
"$font-size-300": "16px",
|
|
5
|
+
"$font-size-400": "20px",
|
|
6
|
+
"$font-size-500": "28px",
|
|
7
|
+
"$font-size-600": "32px",
|
|
8
|
+
"$font-size-700": "48px",
|
|
9
|
+
"$token-font-sizes": {
|
|
10
|
+
"100": "10px",
|
|
11
|
+
"200": "13px",
|
|
12
|
+
"300": "16px",
|
|
13
|
+
"400": "20px",
|
|
14
|
+
"500": "28px",
|
|
15
|
+
"600": "32px",
|
|
16
|
+
"700": "48px"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$gradient-pink": "linear-gradient(180deg, #F5576C 0%, #F093FB 100%)",
|
|
3
|
+
"$gradient-violet": "linear-gradient(180deg, #E41AFE 0%, #8035F8 100%)",
|
|
4
|
+
"$gradient-blue": "linear-gradient(180deg, #1ADBFE 0%, #3580F8 100%)",
|
|
5
|
+
"$gradient-yellow": "linear-gradient(180deg, #FEE41A 0%, #F89B35 100%)",
|
|
6
|
+
"$gradient-green": "linear-gradient(180deg, #C9DD4C 0%, #63BE7E 100%)",
|
|
7
|
+
"$gradient-red": "linear-gradient(180deg, #F26567 0%, #F79440 100%)",
|
|
8
|
+
"$gradient-purple": "linear-gradient(270deg, #9a47ed 0%, #8446ff 100%)",
|
|
9
|
+
"$gradient-purple-pink": "linear-gradient(90deg, #722eff 2%, #fe6ffc 100%)",
|
|
10
|
+
"$gradient-blue-purple": "linear-gradient(90deg, #18bfe3 20%, #8756ff 70%)",
|
|
11
|
+
"$gradient-dark-blue": "linear-gradient(90deg, #5550EF 0%, #7F4EFF 100%)",
|
|
12
|
+
"$gradient-primary-radial": "radial-gradient(rgb(179, 211, 255), rgb(62, 132, 244))"
|
|
13
|
+
}
|