@douyinfe/semi-theme-default 2.97.0 → 2.99.0
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 +2 -2
- package/scss/global.scss +2 -2
- package/scss/variables.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-theme-default",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.99.0",
|
|
4
4
|
"description": "semi-theme-default",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semi-theme",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"sideEffects": "*.scss",
|
|
14
14
|
"author": "huangzhijing.pixel@bytedance.com",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "c62861b574b51ae39afe7da796ab4f14d1462ef2",
|
|
17
17
|
"_unpkg": true
|
|
18
18
|
}
|
package/scss/global.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "./_palette.scss";
|
|
2
2
|
|
|
3
3
|
body, body[theme-mode="dark"] .semi-always-light, :host, :host .semi-always-light {
|
|
4
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "
|
|
4
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
5
5
|
-webkit-font-smoothing: antialiased;
|
|
6
6
|
--semi-color-white: rgba(var(--semi-white), 1); // 浅色模式下深色背景内容Inverse
|
|
7
7
|
--semi-color-black: rgba(var(--semi-black), 1); // 深色模式下浅色背景内容Inverse
|
|
@@ -144,7 +144,7 @@ body, body[theme-mode="dark"] .semi-always-light, :host, :host .semi-always-ligh
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
body[theme-mode="dark"], body .semi-always-dark, :host([theme-mode="dark"]), :host .semi-always-dark {
|
|
147
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "
|
|
147
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
148
148
|
-webkit-font-smoothing: antialiased;
|
|
149
149
|
--semi-color-white: rgba(228, 231, 245, 1);
|
|
150
150
|
--semi-color-black: rgba(var(--semi-black), 1);
|
package/scss/variables.scss
CHANGED
|
@@ -52,8 +52,8 @@ $z-resizable_handler: 10; // 伸缩框组件中handler的z-index,保持较低
|
|
|
52
52
|
// $z-resizable_background: 2010; // 伸缩框组件中背景的z-index
|
|
53
53
|
|
|
54
54
|
// font
|
|
55
|
-
$font-family-regular: 'Inter', -apple-system, BlinkMacSystemFont, '
|
|
56
|
-
'
|
|
55
|
+
$font-family-regular: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC',
|
|
56
|
+
'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', 'Helvetica Neue',
|
|
57
57
|
Helvetica, Arial, sans-serif; // semi 预置字体回退
|
|
58
58
|
$font-size-small: 12px; // 小文本字号
|
|
59
59
|
$font-size-regular: 14px; // 常规文本字号
|