@semi-bot/semi-theme-xba 1.0.1 → 1.0.3

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/README.md CHANGED
@@ -9,7 +9,7 @@ Compatible with Semi Foundation Version 2.92.2 or newer.
9
9
 
10
10
  ## Version Release Note
11
11
 
12
- 修改字体排版
12
+
13
13
 
14
14
 
15
15
  ## Manual
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semi-bot/semi-theme-xba",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Semi theme generated by dsm. https://semi.design/dsm",
5
5
  "keywords": [
6
6
  "semi-theme",
package/raw.json CHANGED
@@ -839,42 +839,42 @@
839
839
  "header-1": {
840
840
  "fontSize": "20px",
841
841
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
842
- "lineHeight": "20px"
842
+ "lineHeight": "30px"
843
843
  },
844
844
  "header-2": {
845
845
  "fontSize": "18px",
846
846
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
847
- "lineHeight": "18px"
847
+ "lineHeight": "28px"
848
848
  },
849
849
  "header-3": {
850
850
  "fontSize": "16px",
851
851
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
852
- "lineHeight": "16px"
852
+ "lineHeight": "24px"
853
853
  },
854
854
  "header-4": {
855
- "fontSize": "14px",
855
+ "fontSize": "16px",
856
856
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
857
- "lineHeight": "14px"
857
+ "lineHeight": "24px"
858
858
  },
859
859
  "header-5": {
860
- "fontSize": "14px",
860
+ "fontSize": "16px",
861
861
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
862
862
  "lineHeight": "24px"
863
863
  },
864
864
  "header-6": {
865
- "fontSize": "12px",
865
+ "fontSize": "16px",
866
866
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
867
- "lineHeight": "22px"
867
+ "lineHeight": "24px"
868
868
  }
869
869
  },
870
870
  "Paragraph": {
871
871
  "small": {
872
- "fontSize": "12px",
872
+ "fontSize": "16px",
873
873
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
874
874
  "lineHeight": "16px"
875
875
  },
876
876
  "regular": {
877
- "fontSize": "14px",
877
+ "fontSize": "16px",
878
878
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
879
879
  "lineHeight": "20px"
880
880
  }
@@ -912,8 +912,8 @@
912
912
  "wordSpace": 0,
913
913
  "fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
914
914
  "letterSpace": 0,
915
- "baseFontSize": "12px",
916
- "lineHeightMultiplier": 1.4
915
+ "baseFontSize": "16px",
916
+ "lineHeightMultiplier": 1.5
917
917
  },
918
918
  "globalScssVariables": {}
919
919
  }
package/scss/_font.scss CHANGED
@@ -1,54 +1,54 @@
1
1
  @mixin font-size-header-1 {
2
2
  font-size: 20px;
3
3
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
4
- line-height: 20px;
4
+ line-height: 30px;
5
5
 
6
6
 
7
7
  }
8
8
  @mixin font-size-header-2 {
9
9
  font-size: 18px;
10
10
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
11
- line-height: 18px;
11
+ line-height: 28px;
12
12
 
13
13
 
14
14
  }
15
15
  @mixin font-size-header-3 {
16
16
  font-size: 16px;
17
17
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
18
- line-height: 16px;
18
+ line-height: 24px;
19
19
 
20
20
 
21
21
  }
22
22
  @mixin font-size-header-4 {
23
- font-size: 14px;
23
+ font-size: 16px;
24
24
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
25
- line-height: 14px;
25
+ line-height: 24px;
26
26
 
27
27
 
28
28
  }
29
29
  @mixin font-size-header-5 {
30
- font-size: 14px;
30
+ font-size: 16px;
31
31
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
32
32
  line-height: 24px;
33
33
 
34
34
 
35
35
  }
36
36
  @mixin font-size-header-6 {
37
- font-size: 12px;
37
+ font-size: 16px;
38
38
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
39
- line-height: 22px;
39
+ line-height: 24px;
40
40
 
41
41
 
42
42
  }
43
43
  @mixin font-size-small {
44
- font-size: 12px;
44
+ font-size: 16px;
45
45
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
46
46
  line-height: 16px;
47
47
 
48
48
 
49
49
  }
50
50
  @mixin font-size-regular {
51
- font-size: 14px;
51
+ font-size: 16px;
52
52
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
53
53
  line-height: 20px;
54
54
 
@@ -56,12 +56,12 @@ $z-resizable_handler: 2000; // 伸缩框组件中handler的z-index
56
56
 
57
57
 
58
58
  $font-family-regular: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif; // semi 预置字体回退
59
- $font-size-small: 12px; // 小文本字号
60
- $font-size-regular: 14px; // 常规文本字号
59
+ $font-size-small: 16px; // 小文本字号
60
+ $font-size-regular: 16px; // 常规文本字号
61
61
 
62
- $font-size-header-6: 12px; // 六级标题字号
63
- $font-size-header-5: 14px; // 五级标题字号
64
- $font-size-header-4: 14px; // 四级标题字号
62
+ $font-size-header-6: 16px; // 六级标题字号
63
+ $font-size-header-5: 16px; // 五级标题字号
64
+ $font-size-header-4: 16px; // 四级标题字号
65
65
  $font-size-header-3: 16px; // 三级标题字号
66
66
  $font-size-header-2: 18px; // 二级标题字号
67
67
  $font-size-header-1: 20px; // 一级标题字号