@snabcentr/client-ui 2.5.2 → 2.6.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.
Potentially problematic release.
This version of @snabcentr/client-ui might be problematic. Click here for more details.
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
- package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +4 -4
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/release_notes.tmp +3 -4
- package/styles/taiga/variables.less +29 -0
- package/styles/tailwind/tailwind.scss +5 -0
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
## 2.
|
|
1
|
+
## 2.6.0 (2024-11-02)
|
|
2
2
|
|
|
3
|
-
### changed (
|
|
3
|
+
### changed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#
|
|
6
|
-
- [#10522: Доработана вёрстка страницы регистрации. Добавлен обработчик нажатия...](web_soft/libs/angular/snabcentr-client-ui-lib@c0ef830f41910041884acb8a0ec5edce1e65c017) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!173))
|
|
5
|
+
- [#10512: Доработаны шрифты](web_soft/libs/angular/snabcentr-client-ui-lib@7dde8fdff4356bc20a8dac668d7a1f3f2a006cc1) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!177))
|
|
7
6
|
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
@font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
2
|
+
|
|
3
|
+
&:root {
|
|
4
|
+
// Fonts
|
|
5
|
+
--tui-font-heading: 'Manrope', @font-fallback;
|
|
6
|
+
--tui-font-text: 'Manrope', @font-fallback;
|
|
7
|
+
--tui-font-weight-normal: normal;
|
|
8
|
+
--tui-font-weight-bold: bold;
|
|
9
|
+
// Heading
|
|
10
|
+
--tui-font-heading-1: var(--tui-font-weight-bold) 3.125rem/3.5rem var(--tui-font-heading);
|
|
11
|
+
--tui-font-heading-2: var(--tui-font-weight-bold) 2.75rem/3rem var(--tui-font-heading);
|
|
12
|
+
--tui-font-heading-3: var(--tui-font-weight-bold) 2.25rem/2.5rem var(--tui-font-heading);
|
|
13
|
+
--tui-font-heading-4: var(--tui-font-weight-bold) 1.75rem/2rem var(--tui-font-heading);
|
|
14
|
+
--tui-font-heading-5: var(--tui-font-weight-bold) 1.5rem/1.75rem var(--tui-font-heading);
|
|
15
|
+
--tui-font-heading-6: var(--tui-font-weight-bold) 1.25rem/1.5rem var(--tui-font-heading);
|
|
16
|
+
// Body
|
|
17
|
+
--tui-font-text-xl: var(--tui-font-weight-normal) 1.1875rem/1.75rem var(--tui-font-text);
|
|
18
|
+
--tui-font-text-l: var(--tui-font-weight-normal) 1.0625rem/1.75rem var(--tui-font-text);
|
|
19
|
+
--tui-font-text-m: var(--tui-font-weight-normal) 1rem/1.5rem var(--tui-font-text);
|
|
20
|
+
--tui-font-text-s: var(--tui-font-weight-normal) 0.8125rem/1.25rem var(--tui-font-text);
|
|
21
|
+
--tui-font-text-xs: var(--tui-font-weight-normal) 0.6875rem/1rem var(--tui-font-text);
|
|
22
|
+
// Reduced
|
|
23
|
+
--tui-font-text-ui-l: var(--tui-font-weight-normal) 1.0625rem/1.5rem var(--tui-font-text);
|
|
24
|
+
--tui-font-text-ui-m: var(--tui-font-weight-normal) 1rem/1.25rem var(--tui-font-text);
|
|
25
|
+
--tui-font-text-ui-s: var(--tui-font-weight-normal) 0.8125rem/1rem var(--tui-font-text);
|
|
26
|
+
--tui-font-text-ui-xs: var(--tui-font-weight-normal) 0.6875rem/0.8125rem var(--tui-font-text);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
&:root,
|
|
2
31
|
[tuiTheme='light'] {
|
|
3
32
|
--tui-background-accent-1: #ffcc40; // primary buttons, background
|
|
@@ -1381,6 +1381,11 @@ video {
|
|
|
1381
1381
|
line-height: 1.25rem !important;
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
+
.\!text-xl {
|
|
1385
|
+
font-size: 1.25rem !important;
|
|
1386
|
+
line-height: 1.75rem !important;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1384
1389
|
.\!text-xs {
|
|
1385
1390
|
font-size: 0.75rem !important;
|
|
1386
1391
|
line-height: 1rem !important;
|