@semi-bot/semi-theme-hishelper 1.0.2 → 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/package.json +1 -1
- package/raw.json +9 -9
- package/scss/_font.scss +8 -8
- package/scss/variables.scss +7 -7
- package/semi.css +148 -148
- package/semi.min.css +1 -1
package/package.json
CHANGED
package/raw.json
CHANGED
|
@@ -710,41 +710,41 @@
|
|
|
710
710
|
"typography": {
|
|
711
711
|
"Header": {
|
|
712
712
|
"header-1": {
|
|
713
|
-
"fontSize": "
|
|
713
|
+
"fontSize": "24px",
|
|
714
714
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
715
715
|
"lineHeight": "44px"
|
|
716
716
|
},
|
|
717
717
|
"header-2": {
|
|
718
|
-
"fontSize": "
|
|
718
|
+
"fontSize": "22px",
|
|
719
719
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
720
720
|
"lineHeight": "40px"
|
|
721
721
|
},
|
|
722
722
|
"header-3": {
|
|
723
|
-
"fontSize": "
|
|
723
|
+
"fontSize": "20px",
|
|
724
724
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
725
725
|
"lineHeight": "32px"
|
|
726
726
|
},
|
|
727
727
|
"header-4": {
|
|
728
|
-
"fontSize": "
|
|
728
|
+
"fontSize": "18px",
|
|
729
729
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
730
730
|
"lineHeight": "28px"
|
|
731
731
|
},
|
|
732
732
|
"header-5": {
|
|
733
|
-
"fontSize": "
|
|
733
|
+
"fontSize": "16px",
|
|
734
734
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
735
735
|
"lineHeight": "24px"
|
|
736
736
|
},
|
|
737
737
|
"header-6": {
|
|
738
|
-
"fontSize": "
|
|
738
|
+
"fontSize": "15px",
|
|
739
739
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
740
740
|
"lineHeight": "22px"
|
|
741
741
|
}
|
|
742
742
|
},
|
|
743
743
|
"Paragraph": {
|
|
744
744
|
"small": {
|
|
745
|
-
"fontSize": "
|
|
745
|
+
"fontSize": "13px",
|
|
746
746
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
747
|
-
"lineHeight": "
|
|
747
|
+
"lineHeight": "13px"
|
|
748
748
|
},
|
|
749
749
|
"regular": {
|
|
750
750
|
"fontSize": "14px",
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
"--semi-border-radius-extra-small": "3px"
|
|
786
786
|
},
|
|
787
787
|
"typography-base": {
|
|
788
|
-
"scale": 1.
|
|
788
|
+
"scale": 1.067,
|
|
789
789
|
"wordSpace": 0,
|
|
790
790
|
"fontFamily": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif",
|
|
791
791
|
"letterSpace": 0,
|
package/scss/_font.scss
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
@mixin font-size-header-1 {
|
|
2
|
-
font-size:
|
|
2
|
+
font-size: 24px;
|
|
3
3
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
4
4
|
line-height: 44px;
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
}
|
|
8
8
|
@mixin font-size-header-2 {
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: 22px;
|
|
10
10
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
11
11
|
line-height: 40px;
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
}
|
|
15
15
|
@mixin font-size-header-3 {
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: 20px;
|
|
17
17
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
18
18
|
line-height: 32px;
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
}
|
|
22
22
|
@mixin font-size-header-4 {
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: 18px;
|
|
24
24
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
25
25
|
line-height: 28px;
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
}
|
|
29
29
|
@mixin font-size-header-5 {
|
|
30
|
-
font-size:
|
|
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:
|
|
37
|
+
font-size: 15px;
|
|
38
38
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
39
39
|
line-height: 22px;
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
}
|
|
43
43
|
@mixin font-size-small {
|
|
44
|
-
font-size:
|
|
44
|
+
font-size: 13px;
|
|
45
45
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI','PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue',Helvetica, Arial, sans-serif;
|
|
46
|
-
line-height:
|
|
46
|
+
line-height: 13px;
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
}
|
package/scss/variables.scss
CHANGED
|
@@ -56,15 +56,15 @@ $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:
|
|
59
|
+
$font-size-small: 13px; // 小文本字号
|
|
60
60
|
$font-size-regular: 14px; // 常规文本字号
|
|
61
61
|
|
|
62
|
-
$font-size-header-6:
|
|
63
|
-
$font-size-header-5:
|
|
64
|
-
$font-size-header-4:
|
|
65
|
-
$font-size-header-3:
|
|
66
|
-
$font-size-header-2:
|
|
67
|
-
$font-size-header-1:
|
|
62
|
+
$font-size-header-6: 15px; // 六级标题字号
|
|
63
|
+
$font-size-header-5: 16px; // 五级标题字号
|
|
64
|
+
$font-size-header-4: 18px; // 四级标题字号
|
|
65
|
+
$font-size-header-3: 20px; // 三级标题字号
|
|
66
|
+
$font-size-header-2: 22px; // 二级标题字号
|
|
67
|
+
$font-size-header-1: 24px; // 一级标题字号
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
$font-weight-light: 200; // 字重 - 轻
|