tang-ui-x 1.2.7 → 1.2.8

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": "tang-ui-x",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "UniApp X UI 组件库 - 基于 uni-app x 的移动端 UI 组件库",
5
5
  "main": "index.uts",
6
6
  "module": "index.uts",
@@ -29,7 +29,7 @@ $opacities: (
29
29
  // 背景透明度 (bg-opacity-10 到 bg-opacity-100 对应 0.1 到 1)
30
30
  @for $i from 1 through 10 {
31
31
  $step: $i * 10;
32
- $val: $i / 10;
32
+ $val: $i * 0.1;
33
33
  .bg-opacity-#{$step} {
34
34
  --bg-opacity: #{$val};
35
35
  }
@@ -11,8 +11,8 @@
11
11
 
12
12
  // 字体粗细
13
13
  $font-weights: (
14
- thin: 100, extralight: 200, light: 300, normal: 400,
15
- medium: 500, semibold: 600, bold: 700, extrabold: 800, black: 900
14
+ "thin": 100, "extralight": 200, "light": 300, "normal": 400,
15
+ "medium": 500, "semibold": 600, "bold": 700, "extrabold": 800, "black": 900
16
16
  );
17
17
  @each $key, $val in $font-weights {
18
18
  .font-#{$key} { font-weight: $val; }