@taiga-ui/styles 5.0.0-canary.690ebfb → 5.0.0-canary.a725423

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.
@@ -31,7 +31,7 @@ tui-icon:where(*&) {
31
31
  vertical-align: middle;
32
32
  box-sizing: border-box;
33
33
  mask: var(--t-icon-bg) no-repeat center / calc(100% + 10 * var(--tui-stroke-width)) 100%;
34
- zoom: ~'calc(100% * (min(max(var(--tui-typography-offset) - 10px, 0px), 1px) / 0.8px))';
34
+ zoom: ~'calc(100% * (min(max(var(--tui-font-offset) - 10px, 0px), 1px) / 0.8px))';
35
35
 
36
36
  @media @tui-mouse {
37
37
  &[data-appearance='icon']:hover {
@@ -31,7 +31,7 @@
31
31
  flex-shrink: 0;
32
32
  box-sizing: content-box;
33
33
  background: currentColor;
34
- zoom: ~'calc(100% * (min(max(var(--tui-typography-offset) - 10px, 0px), 1px) / 0.8px))';
34
+ zoom: ~'calc(100% * (min(max(var(--tui-font-offset) - 10px, 0px), 1px) / 0.8px))';
35
35
  }
36
36
 
37
37
  &::before {
@@ -63,7 +63,7 @@
63
63
  display: grid;
64
64
  mask: none;
65
65
  background: none;
66
- font: 1.5em / 1 var(--tui-typography-icon, inherit);
66
+ font: 1.5em / 1 var(--tui-font-icon, inherit);
67
67
  text-align: center;
68
68
  place-content: center;
69
69
  text-transform: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/styles",
3
- "version": "5.0.0-canary.690ebfb",
3
+ "version": "5.0.0-canary.a725423",
4
4
  "description": "Framework-agnostic package with styles for Taiga UI",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {
@@ -6,39 +6,38 @@
6
6
  // Fonts
7
7
  --tui-typography-family-text: 'Manrope', system-ui, sans-serif;
8
8
  --tui-typography-family-display: 'Manrope', system-ui, sans-serif;
9
- --tui-typography-offset: ~'0rem';
9
+ --tui-font-offset: ~'0rem';
10
10
  // Heading
11
- --tui-typography-heading-h1: bold calc(var(--tui-typography-offset) + 3.125rem) / calc(50 / 56)
11
+ --tui-typography-heading-h1: bold calc(var(--tui-font-offset) + 3.125rem) / calc(50 / 56)
12
12
  var(--tui-typography-family-display);
13
- --tui-typography-heading-h2: bold calc(var(--tui-typography-offset) + 2.75rem) / calc(48 / 44)
13
+ --tui-typography-heading-h2: bold calc(var(--tui-font-offset) + 2.75rem) / calc(48 / 44)
14
14
  var(--tui-typography-family-display);
15
- --tui-typography-heading-h3: bold calc(var(--tui-typography-offset) + 2.25rem) / calc(40 / 36)
15
+ --tui-typography-heading-h3: bold calc(var(--tui-font-offset) + 2.25rem) / calc(40 / 36)
16
16
  var(--tui-typography-family-display);
17
- --tui-typography-heading-h4: bold calc(var(--tui-typography-offset) + 1.75rem) / calc(32 / 28)
17
+ --tui-typography-heading-h4: bold calc(var(--tui-font-offset) + 1.75rem) / calc(32 / 28)
18
18
  var(--tui-typography-family-display);
19
- --tui-typography-heading-h5: bold calc(var(--tui-typography-offset) + 1.5rem) / calc(28 / 24)
19
+ --tui-typography-heading-h5: bold calc(var(--tui-font-offset) + 1.5rem) / calc(28 / 24)
20
20
  var(--tui-typography-family-display);
21
- --tui-typography-heading-h6: bold calc(var(--tui-typography-offset) + 1.25rem) / calc(24 / 20)
21
+ --tui-typography-heading-h6: bold calc(var(--tui-font-offset) + 1.25rem) / calc(24 / 20)
22
22
  var(--tui-typography-family-display);
23
23
  // Body
24
- --tui-typography-body-l: normal calc(var(--tui-typography-offset) + 1.0625rem) / calc(28 / 17)
24
+ --tui-typography-body-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(28 / 17)
25
25
  var(--tui-typography-family-text);
26
- --tui-typography-body-m: normal calc(var(--tui-typography-offset) + 1rem) / calc(24 / 16)
26
+ --tui-typography-body-m: normal calc(var(--tui-font-offset) + 1rem) / calc(24 / 16)
27
27
  var(--tui-typography-family-text);
28
- --tui-typography-body-s: normal calc(var(--tui-typography-offset) + 0.875rem) / calc(20 / 14)
28
+ --tui-typography-body-s: normal calc(var(--tui-font-offset) + 0.875rem) / calc(20 / 14)
29
29
  var(--tui-typography-family-text);
30
- --tui-typography-body-xs: normal calc(var(--tui-typography-offset) + 0.6875rem) / calc(16 / 11)
30
+ --tui-typography-body-xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(16 / 11)
31
31
  var(--tui-typography-family-text);
32
32
  // Reduced
33
- --tui-typography-ui-l: normal calc(var(--tui-typography-offset) + 1.0625rem) / calc(24 / 17)
33
+ --tui-typography-ui-l: normal calc(var(--tui-font-offset) + 1.0625rem) / calc(24 / 17)
34
34
  var(--tui-typography-family-text);
35
- --tui-typography-ui-m: normal calc(var(--tui-typography-offset) + 1rem) / calc(20 / 16)
35
+ --tui-typography-ui-m: normal calc(var(--tui-font-offset) + 1rem) / calc(20 / 16) var(--tui-typography-family-text);
36
+ --tui-typography-ui-s: normal calc(var(--tui-font-offset) + 0.875rem) / calc(16 / 14)
36
37
  var(--tui-typography-family-text);
37
- --tui-typography-ui-s: normal calc(var(--tui-typography-offset) + 0.875rem) / calc(16 / 14)
38
+ --tui-typography-ui-xs: normal calc(var(--tui-font-offset) + 0.75rem) / calc(15 / 12)
38
39
  var(--tui-typography-family-text);
39
- --tui-typography-ui-xs: normal calc(var(--tui-typography-offset) + 0.75rem) / calc(15 / 12)
40
- var(--tui-typography-family-text);
41
- --tui-typography-ui-2xs: normal calc(var(--tui-typography-offset) + 0.6875rem) / calc(13 / 11)
40
+ --tui-typography-ui-2xs: normal calc(var(--tui-font-offset) + 0.6875rem) / calc(13 / 11)
42
41
  var(--tui-typography-family-text);
43
42
  // Radii
44
43
  --tui-radius-xs: 0.25rem;