@douyinfe/semi-theme-default 2.24.0-beta.0 → 2.24.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/scss/global.scss +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-theme-default",
3
- "version": "2.24.0-beta.0",
3
+ "version": "2.24.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": "31e17a2fa310d85e240da05803b514a08507a451",
16
+ "gitHead": "3cf6c8a6fa76511fd3797c7168f9ecd4bc0ef662",
17
17
  "dependencies": {
18
18
  "glob": "^7.1.6"
19
19
  },
package/scss/global.scss CHANGED
@@ -101,6 +101,8 @@ body, body[theme-mode="dark"] .semi-always-light {
101
101
  --semi-border-radius-large: 12px; // 大圆角, 用于 modal
102
102
  --semi-border-radius-circle: 50%; // 全圆角, 用于 avatar, badge 等组件
103
103
  --semi-border-radius-full: 9999px; // 用于创建全尺寸圆角,如胶囊标签等
104
+ --semi-color-highlight-bg: rgba(var(--semi-yellow-4), 1); // 高亮文本背景色
105
+ --semi-color-highlight: rgba(var(--semi-black), 1); // 高亮文本色
104
106
  }
105
107
 
106
108
  body[theme-mode="dark"], body .semi-always-dark {
@@ -189,4 +191,6 @@ body[theme-mode="dark"], body .semi-always-dark {
189
191
  --semi-border-radius-large: 12px;
190
192
  --semi-border-radius-circle: 50%;
191
193
  --semi-border-radius-full: 9999px;
194
+ --semi-color-highlight-bg: rgba(var(--semi-yellow-2), 1); // 高亮文本背景色
195
+ --semi-color-highlight: rgba(var(--semi-white), 1); // 高亮文本色
192
196
  }