@douyinfe/semi-theme-default 2.55.4 → 2.56.0-beta.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/_palette.scss +2 -4
- package/scss/animation.scss +1 -1
- package/scss/global.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.56.0-beta.0",
|
|
4
4
|
"description": "semi-theme-default",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semi-theme",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"sideEffects": "*.scss",
|
|
14
14
|
"author": "huangzhijing.pixel@bytedance.com",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "ae4502e3075a19370e9f4ed32fbfb1292acd06c2",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"glob": "^7.1.6"
|
|
19
19
|
},
|
package/scss/_palette.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
body,
|
|
2
|
-
body .semi-always-light {
|
|
1
|
+
body, body .semi-always-light, :host, :host .semi-always-light {
|
|
3
2
|
--semi-amber-0: 254,251,235;
|
|
4
3
|
--semi-amber-1: 252,245,206;
|
|
5
4
|
--semi-amber-2: 249,232,158;
|
|
@@ -164,8 +163,7 @@ body .semi-always-light {
|
|
|
164
163
|
--semi-yellow-9: 83,72,0;
|
|
165
164
|
}
|
|
166
165
|
|
|
167
|
-
body[theme-mode="dark"],
|
|
168
|
-
body .semi-always-dark {
|
|
166
|
+
body[theme-mode="dark"], body .semi-always-dark, :host-context(body[theme-mode="dark"]), :host .semi-always-dark {
|
|
169
167
|
--semi-red-0: 108,9,11;
|
|
170
168
|
--semi-red-1: 144,17,16;
|
|
171
169
|
--semi-red-2: 180,32,25;
|
package/scss/animation.scss
CHANGED
package/scss/global.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "./_palette.scss";
|
|
2
2
|
|
|
3
|
-
body, body[theme-mode="dark"] .semi-always-light {
|
|
3
|
+
body, body[theme-mode="dark"] .semi-always-light, :host, :host .semi-always-light {
|
|
4
4
|
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
5
5
|
-webkit-font-smoothing: antialiased;
|
|
6
6
|
--semi-color-white: rgba(var(--semi-white), 1); // 浅色模式下深色背景内容Inverse
|
|
@@ -125,7 +125,7 @@ body, body[theme-mode="dark"] .semi-always-light {
|
|
|
125
125
|
--semi-color-data-19: rgba(188, 198, 255, 1); //vchart 数据色板颜色 - 19
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
body[theme-mode="dark"], body .semi-always-dark {
|
|
128
|
+
body[theme-mode="dark"], body .semi-always-dark, :host-context(body[theme-mode="dark"]), :host .semi-always-dark {
|
|
129
129
|
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
130
130
|
-webkit-font-smoothing: antialiased;
|
|
131
131
|
--semi-color-white: rgba(228, 231, 245, 1);
|