@transfermarkt/global-styles 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Shared styles of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  "test": "echo \"Error: no test specified\" && exit 1"
13
13
  },
14
14
  "volta": {
15
- "node": "20.11.0"
15
+ "node": "20.12.2"
16
16
  },
17
17
  "publishConfig": {
18
18
  "registry": "https://registry.npmjs.org/",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@transfermarkt/prettier-config": "^1.3.0",
24
- "@transfermarkt/semantic-release-config": "1.1.13",
24
+ "@transfermarkt/semantic-release-config": "2.0.12",
25
25
  "@transfermarkt/stylelint-config": "^2.0.0",
26
26
  "husky": "^9.0.10",
27
27
  "lint-staged": "^15.2.0"
@@ -34,11 +34,11 @@ $global-font-size: 16px;
34
34
  }
35
35
 
36
36
  @if $count == 1 {
37
- @return -zf-to-rem($values, $base);
37
+ @return zf-to-rem($values, $base);
38
38
  }
39
39
 
40
40
  @for $i from 1 through $count {
41
- $rem-values: list.append($rem-values, -zf-to-rem(list.nth($values, $i), $base));
41
+ $rem-values: list.append($rem-values, zf-to-rem(list.nth($values, $i), $base));
42
42
  }
43
43
 
44
44
  @return $rem-values;
@@ -9,7 +9,7 @@
9
9
  /// @param {Number} $base [null] - Base for pixel conversion.
10
10
  /// @returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are
11
11
  // passed through as is.
12
- @function -zf-to-rem($value, $base: null) {
12
+ @function zf-to-rem($value, $base: null) {
13
13
  // Check if the value is a number
14
14
  @if type-of($value) != 'number' {
15
15
  @warn inspect($value) + ' was passed to rem-calc(), which is not a number.';