triafly-ui-kit 1.0.26 → 1.0.28
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.
@@ -1,31 +1,35 @@
|
|
1
|
+
$font-path: '../assets/fonts' !default; // Для работы внутри Storybook
|
2
|
+
// Переопределяется в основном проекте через:
|
3
|
+
// $font-path: '~triafly-ui-kit/assets/fonts';
|
4
|
+
|
1
5
|
//Подключение шрифтов
|
2
6
|
@font-face {
|
3
7
|
font-family: "Roboto Slab";
|
4
|
-
src: url("
|
8
|
+
src: url("#{$font-path}/RobotoSlab-SemiBold.ttf") format("truetype");
|
5
9
|
font-weight: 600;
|
6
10
|
}
|
7
11
|
|
8
12
|
@font-face {
|
9
13
|
font-family: "Manrope";
|
10
|
-
src: url("
|
14
|
+
src: url("#{$font-path}/Manrope-Regular.ttf") format("truetype");
|
11
15
|
font-weight: 400;
|
12
16
|
}
|
13
17
|
|
14
18
|
@font-face {
|
15
19
|
font-family: "Manrope";
|
16
|
-
src: url("
|
20
|
+
src: url("#{$font-path}/Manrope-Semibold.ttf") format("truetype");
|
17
21
|
font-weight: 600;
|
18
22
|
}
|
19
23
|
|
20
24
|
@font-face {
|
21
25
|
font-family: "Manrope";
|
22
|
-
src: url("
|
26
|
+
src: url("#{$font-path}/Manrope-Bold.ttf") format("truetype");
|
23
27
|
font-weight: 700;
|
24
28
|
}
|
25
29
|
|
26
30
|
@font-face {
|
27
31
|
font-family: "Fira Code";
|
28
|
-
src: url("
|
32
|
+
src: url("#{$font-path}/FiraCode-Regular.ttf") format("truetype");
|
29
33
|
font-weight: 400;
|
30
34
|
}
|
31
35
|
|
@@ -8,6 +8,18 @@
|
|
8
8
|
--dark-brand-50: #C2D0FF;
|
9
9
|
|
10
10
|
/* Primitives */
|
11
|
+
--dark-brand-20: #153398;
|
12
|
+
--dark-brand-50: #1E46CD;
|
13
|
+
--dark-brand-100: #5076FF;
|
14
|
+
--dark-brand-200: #7C98FF;
|
15
|
+
--dark-brand-300: #A7BBFF;
|
16
|
+
|
17
|
+
--light-brand-20: #EEF2FF;
|
18
|
+
--light-brand-50: #C2D0FF;
|
19
|
+
--light-brand-100: #2454FF;
|
20
|
+
--light-brand-200: #1A3AB2;
|
21
|
+
--light-brand-300: #0E2266;
|
22
|
+
|
11
23
|
/* Primitives - Base */
|
12
24
|
--base-dark: #121212;
|
13
25
|
--base-light: #FFFFFF;
|
@@ -148,23 +160,6 @@
|
|
148
160
|
--color-button-brandlight-filled-hover: var(--light-brand-50);
|
149
161
|
}
|
150
162
|
|
151
|
-
/* Primitives - Brand */
|
152
|
-
html[data-client=""],
|
153
|
-
html[data-client="default"] {
|
154
|
-
--dark-brand-20: #153398;
|
155
|
-
--dark-brand-50: #1E46CD;
|
156
|
-
--dark-brand-100: #5076FF;
|
157
|
-
--dark-brand-200: #7C98FF;
|
158
|
-
--dark-brand-300: #A7BBFF;
|
159
|
-
|
160
|
-
--light-brand-20: #EEF2FF;
|
161
|
-
--light-brand-50: #C2D0FF;
|
162
|
-
--light-brand-100: #2454FF;
|
163
|
-
--light-brand-200: #1A3AB2;
|
164
|
-
--light-brand-300: #0E2266;
|
165
|
-
}
|
166
|
-
|
167
|
-
|
168
163
|
/* Primitives - Test Client */
|
169
164
|
html[data-client="test"] {
|
170
165
|
--light-brand-20: #F3E8FF;
|
package/package.json
CHANGED
@@ -1,31 +1,35 @@
|
|
1
|
+
$font-path: '../assets/fonts' !default; // Для работы внутри Storybook
|
2
|
+
// Переопределяется в основном проекте через:
|
3
|
+
// $font-path: '~triafly-ui-kit/assets/fonts';
|
4
|
+
|
1
5
|
//Подключение шрифтов
|
2
6
|
@font-face {
|
3
7
|
font-family: "Roboto Slab";
|
4
|
-
src: url("
|
8
|
+
src: url("#{$font-path}/RobotoSlab-SemiBold.ttf") format("truetype");
|
5
9
|
font-weight: 600;
|
6
10
|
}
|
7
11
|
|
8
12
|
@font-face {
|
9
13
|
font-family: "Manrope";
|
10
|
-
src: url("
|
14
|
+
src: url("#{$font-path}/Manrope-Regular.ttf") format("truetype");
|
11
15
|
font-weight: 400;
|
12
16
|
}
|
13
17
|
|
14
18
|
@font-face {
|
15
19
|
font-family: "Manrope";
|
16
|
-
src: url("
|
20
|
+
src: url("#{$font-path}/Manrope-Semibold.ttf") format("truetype");
|
17
21
|
font-weight: 600;
|
18
22
|
}
|
19
23
|
|
20
24
|
@font-face {
|
21
25
|
font-family: "Manrope";
|
22
|
-
src: url("
|
26
|
+
src: url("#{$font-path}/Manrope-Bold.ttf") format("truetype");
|
23
27
|
font-weight: 700;
|
24
28
|
}
|
25
29
|
|
26
30
|
@font-face {
|
27
31
|
font-family: "Fira Code";
|
28
|
-
src: url("
|
32
|
+
src: url("#{$font-path}/FiraCode-Regular.ttf") format("truetype");
|
29
33
|
font-weight: 400;
|
30
34
|
}
|
31
35
|
|