@aifuxi/semi-theme-default 2.0.2 → 2.1.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 (77) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +128 -1
  3. package/dist/SBOM.spdx.json +4 -4
  4. package/dist/ai-chat-dialogue.css +20 -20
  5. package/dist/ai-chat-input.css +31 -31
  6. package/dist/anchor.css +9 -9
  7. package/dist/audio-player.css +4 -4
  8. package/dist/auto-complete.css +5 -5
  9. package/dist/avatar.css +41 -41
  10. package/dist/badge.css +4 -4
  11. package/dist/base.css +29 -2
  12. package/dist/breadcrumb.css +11 -11
  13. package/dist/button.css +9 -9
  14. package/dist/calendar.css +34 -34
  15. package/dist/card.css +14 -14
  16. package/dist/cascader.css +23 -23
  17. package/dist/chat.css +12 -12
  18. package/dist/checkbox.css +14 -14
  19. package/dist/code-highlight.css +1 -1
  20. package/dist/collapse.css +7 -7
  21. package/dist/color-picker.css +1 -1
  22. package/dist/colors/baseline.mjs +675 -0
  23. package/dist/colors/index.d.mts +29 -0
  24. package/dist/colors/index.mjs +10 -0
  25. package/dist/colors/palette.d.mts +44 -0
  26. package/dist/colors/palette.mjs +273 -0
  27. package/dist/colors/theme.mjs +102 -0
  28. package/dist/date-picker.css +32 -32
  29. package/dist/descriptions.css +26 -26
  30. package/dist/divider.css +1 -1
  31. package/dist/dropdown.css +7 -7
  32. package/dist/empty.css +1 -1
  33. package/dist/feedback.css +5 -5
  34. package/dist/float-button.css +3 -3
  35. package/dist/form.css +15 -15
  36. package/dist/highlight.css +1 -1
  37. package/dist/hot-keys.css +6 -6
  38. package/dist/image.css +6 -6
  39. package/dist/index.css +825 -794
  40. package/dist/input.css +26 -26
  41. package/dist/json-viewer.css +2 -2
  42. package/dist/list.css +3 -3
  43. package/dist/markdown-render.css +1 -1
  44. package/dist/modal.css +5 -5
  45. package/dist/navigation.css +16 -16
  46. package/dist/notification.css +14 -14
  47. package/dist/pagination.css +17 -17
  48. package/dist/popconfirm.css +4 -4
  49. package/dist/popover.css +3 -3
  50. package/dist/progress.css +2 -2
  51. package/dist/radio.css +21 -21
  52. package/dist/rating.css +2 -2
  53. package/dist/scroll-list.css +8 -8
  54. package/dist/select.css +23 -23
  55. package/dist/shared/foundation-input-textarea.css +7 -7
  56. package/dist/side-sheet.css +8 -8
  57. package/dist/sidebar.css +49 -49
  58. package/dist/slider.css +5 -5
  59. package/dist/steps.css +41 -41
  60. package/dist/style-dependencies.json +17 -1
  61. package/dist/switch.css +2 -2
  62. package/dist/table.css +9 -9
  63. package/dist/tabs.css +15 -15
  64. package/dist/tag-input.css +14 -14
  65. package/dist/tag.css +7 -7
  66. package/dist/time-picker.css +3 -3
  67. package/dist/timeline.css +6 -6
  68. package/dist/toast.css +4 -4
  69. package/dist/tooltip.css +4 -4
  70. package/dist/transfer.css +16 -16
  71. package/dist/tree-select.css +19 -19
  72. package/dist/tree.css +4 -4
  73. package/dist/typography.css +40 -36
  74. package/dist/upload.css +29 -29
  75. package/dist/user-guide.css +12 -12
  76. package/dist/video-player.css +12 -12
  77. package/package.json +6 -1
@@ -1,11 +1,15 @@
1
1
  /* shadow */
2
2
  /* sizing */
3
3
  /* spacing */
4
+ :where(.semi-typography) {
5
+ font-weight: var(--semi-typography-font-weight, inherit);
6
+ }
7
+
4
8
  .semi-typography {
5
9
  color: var(--semi-color-text-0);
6
- font-size: 14px;
7
- line-height: 20px;
8
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
10
+ font-size: var(--semi-font-size-regular, 14px);
11
+ line-height: var(--semi-line-height-regular, 20px);
12
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
9
13
  }
10
14
  .semi-typography.semi-typography-secondary {
11
15
  color: var(--semi-color-text-1);
@@ -27,7 +31,7 @@
27
31
  }
28
32
  .semi-typography.semi-typography-link {
29
33
  color: var(--semi-color-link);
30
- font-weight: 600;
34
+ font-weight: var(--semi-typography-link-font-weight, var(--semi-font-weight-strong, 600));
31
35
  }
32
36
  .semi-typography.semi-typography-disabled {
33
37
  color: var(--semi-color-disabled-text);
@@ -43,13 +47,13 @@
43
47
  color: inherit;
44
48
  }
45
49
  .semi-typography-small {
46
- font-size: 12px;
47
- line-height: 16px;
48
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
49
- font-weight: 400;
50
+ font-size: var(--semi-font-size-small, 12px);
51
+ line-height: var(--semi-line-height-small, 16px);
52
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
53
+ font-weight: var(--semi-typography-small-text-regular-font-weight, var(--semi-font-weight-regular, 400));
50
54
  }
51
55
  .semi-typography-small.semi-typography-paragraph {
52
- font-weight: 400;
56
+ font-weight: var(--semi-typography-small-paragraph-regular-font-weight, var(--semi-font-weight-regular, 400));
53
57
  }
54
58
  .semi-typography code {
55
59
  border: 1px solid var(--semi-color-border);
@@ -69,7 +73,7 @@
69
73
  text-decoration: line-through;
70
74
  }
71
75
  .semi-typography strong {
72
- font-weight: 600;
76
+ font-weight: var(--semi-typography-strong-font-weight, var(--semi-font-weight-strong, 600));
73
77
  }
74
78
  .semi-typography a {
75
79
  display: inline;
@@ -144,10 +148,10 @@
144
148
 
145
149
  h1.semi-typography,
146
150
  .semi-typography-h1.semi-typography {
147
- font-size: 32px;
148
- line-height: 44px;
149
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
150
- font-weight: 600;
151
+ font-size: var(--semi-font-size-header-1, 32px);
152
+ line-height: var(--semi-line-height-header-1, 44px);
153
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
154
+ font-weight: var(--semi-typography-title1-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
151
155
  margin: 0;
152
156
  }
153
157
  h1.semi-typography.semi-typography-h1-weight-light,
@@ -173,10 +177,10 @@ h1.semi-typography.semi-typography-h1-weight-bold,
173
177
 
174
178
  h2.semi-typography,
175
179
  .semi-typography-h2.semi-typography {
176
- font-size: 28px;
177
- line-height: 40px;
178
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
179
- font-weight: 600;
180
+ font-size: var(--semi-font-size-header-2, 28px);
181
+ line-height: var(--semi-line-height-header-2, 40px);
182
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
183
+ font-weight: var(--semi-typography-title2-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
180
184
  margin: 0;
181
185
  }
182
186
  h2.semi-typography.semi-typography-h2-weight-light,
@@ -202,10 +206,10 @@ h2.semi-typography.semi-typography-h2-weight-bold,
202
206
 
203
207
  h3.semi-typography,
204
208
  .semi-typography-h3.semi-typography {
205
- font-size: 24px;
206
- line-height: 32px;
207
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
208
- font-weight: 600;
209
+ font-size: var(--semi-font-size-header-3, 24px);
210
+ line-height: var(--semi-line-height-header-3, 32px);
211
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
212
+ font-weight: var(--semi-typography-title3-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
209
213
  margin: 0;
210
214
  }
211
215
  h3.semi-typography.semi-typography-h3-weight-light,
@@ -231,10 +235,10 @@ h3.semi-typography.semi-typography-h3-weight-bold,
231
235
 
232
236
  h4.semi-typography,
233
237
  .semi-typography-h4.semi-typography {
234
- font-size: 20px;
235
- line-height: 28px;
236
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
237
- font-weight: 600;
238
+ font-size: var(--semi-font-size-header-4, 20px);
239
+ line-height: var(--semi-line-height-header-4, 28px);
240
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
241
+ font-weight: var(--semi-typography-title4-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
238
242
  margin: 0;
239
243
  }
240
244
  h4.semi-typography.semi-typography-h4-weight-light,
@@ -260,10 +264,10 @@ h4.semi-typography.semi-typography-h4-weight-bold,
260
264
 
261
265
  h5.semi-typography,
262
266
  .semi-typography-h5.semi-typography {
263
- font-size: 18px;
264
- line-height: 24px;
265
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
266
- font-weight: 600;
267
+ font-size: var(--semi-font-size-header-5, 18px);
268
+ line-height: var(--semi-line-height-header-5, 24px);
269
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
270
+ font-weight: var(--semi-typography-title5-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
267
271
  margin: 0;
268
272
  }
269
273
  h5.semi-typography.semi-typography-h5-weight-light,
@@ -289,10 +293,10 @@ h5.semi-typography.semi-typography-h5-weight-bold,
289
293
 
290
294
  h6.semi-typography,
291
295
  .semi-typography-h6.semi-typography {
292
- font-size: 16px;
293
- line-height: 22px;
294
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
295
- font-weight: 600;
296
+ font-size: var(--semi-font-size-header-6, 16px);
297
+ line-height: var(--semi-line-height-header-6, 22px);
298
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
299
+ font-weight: var(--semi-typography-title6-font-weight, var(--semi-typography-title-font-weight, var(--semi-font-weight-strong, 600)));
296
300
  margin: 0;
297
301
  }
298
302
  h6.semi-typography.semi-typography-h6-weight-light,
@@ -318,8 +322,8 @@ h6.semi-typography.semi-typography-h6-weight-bold,
318
322
 
319
323
  p.semi-typography-extended,
320
324
  .semi-typography-paragraph.semi-typography-extended {
321
- line-height: 24px;
322
- font-weight: 400;
325
+ line-height: var(--semi-typography-paragraph-extended-line-height, var(--semi-line-height-paragraph-extended, 24px));
326
+ font-weight: var(--semi-typography-normal-paragraph-regular-font-weight, var(--semi-font-weight-regular, 400));
323
327
  }
324
328
 
325
329
  .semi-rtl .semi-typography,
package/dist/upload.css CHANGED
@@ -86,9 +86,9 @@
86
86
  align-items: center;
87
87
  }
88
88
  .semi-upload-file-list-title {
89
- font-size: 12px;
90
- line-height: 16px;
91
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
89
+ font-size: var(--semi-font-size-small, 12px);
90
+ line-height: var(--semi-line-height-small, 16px);
91
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
92
92
  color: var(--semi-color-text-2);
93
93
  margin-bottom: 4px;
94
94
  }
@@ -162,17 +162,17 @@
162
162
  text-overflow: ellipsis;
163
163
  white-space: nowrap;
164
164
  display: inline-block;
165
- font-size: 14px;
166
- line-height: 20px;
167
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
168
- font-weight: 600;
165
+ font-size: var(--semi-font-size-regular, 14px);
166
+ line-height: var(--semi-line-height-regular, 20px);
167
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
168
+ font-weight: var(--semi-upload-file-card-info-name-font-weight, var(--semi-font-weight-strong, 600));
169
169
  color: var(--semi-color-text-0);
170
170
  }
171
171
  .semi-upload-file-card-info-size {
172
- font-size: 12px;
173
- line-height: 16px;
174
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
175
- font-weight: 400;
172
+ font-size: var(--semi-font-size-small, 12px);
173
+ line-height: var(--semi-line-height-small, 16px);
174
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
175
+ font-weight: var(--semi-upload-file-card-info-size-font-weight, var(--semi-font-weight-regular, 400));
176
176
  margin-left: 8px;
177
177
  color: var(--semi-color-text-2);
178
178
  margin-top: 1px;
@@ -183,17 +183,17 @@
183
183
  color: var(--semi-color-text-2);
184
184
  }
185
185
  .semi-upload-file-card-info-validate-message {
186
- font-size: 12px;
187
- line-height: 16px;
188
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
186
+ font-size: var(--semi-font-size-small, 12px);
187
+ line-height: var(--semi-line-height-small, 16px);
188
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
189
189
  display: flex;
190
190
  align-items: center;
191
191
  color: var(--semi-color-text-0);
192
192
  }
193
193
  .semi-upload-file-card-info-retry {
194
- font-size: 12px;
195
- line-height: 16px;
196
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
194
+ font-size: var(--semi-font-size-small, 12px);
195
+ line-height: var(--semi-line-height-small, 16px);
196
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
197
197
  color: var(--semi-color-primary);
198
198
  cursor: pointer;
199
199
  margin-left: 8px;
@@ -383,8 +383,8 @@
383
383
  bottom: 0;
384
384
  left: 0;
385
385
  color: var(--semi-color-white);
386
- font-size: 12px;
387
- font-weight: 600;
386
+ font-size: var(--semi-upload-picture-file-card-pic-info-font-size, 12px);
387
+ font-weight: var(--semi-upload-picture-file-card-pic-info-font-weight, 600);
388
388
  background: linear-gradient(0deg, rgba(22, 22, 26, 0.3) 0%, rgba(22, 22, 26, 0) 77.08%);
389
389
  }
390
390
  .semi-upload-picture-file-card-icon-loading, .semi-upload-picture-file-card-icon-error {
@@ -466,9 +466,9 @@
466
466
  }
467
467
  .semi-upload-drag-area-main-text {
468
468
  cursor: pointer;
469
- font-size: 14px;
470
- line-height: 20px;
471
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
469
+ font-size: var(--semi-font-size-regular, 14px);
470
+ line-height: var(--semi-line-height-regular, 20px);
471
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
472
472
  margin-bottom: 4px;
473
473
  color: var(--semi-color-text-0);
474
474
  }
@@ -480,9 +480,9 @@
480
480
  }
481
481
  .semi-upload-drag-area-sub-text {
482
482
  cursor: pointer;
483
- font-size: 12px;
484
- line-height: 16px;
485
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
483
+ font-size: var(--semi-font-size-small, 12px);
484
+ line-height: var(--semi-line-height-small, 16px);
485
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
486
486
  color: var(--semi-color-text-0);
487
487
  }
488
488
  .semi-upload-drag-area-sub-text:hover {
@@ -492,10 +492,10 @@
492
492
  color: var(--semi-color-text-0);
493
493
  }
494
494
  .semi-upload-drag-area-tips {
495
- font-size: 12px;
496
- line-height: 16px;
497
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
498
- font-weight: 600;
495
+ font-size: var(--semi-font-size-small, 12px);
496
+ line-height: var(--semi-line-height-small, 16px);
497
+ font-family: var(--semi-font-family-regular, "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif);
498
+ font-weight: var(--semi-upload-drag-area-tips-font-weight, 600);
499
499
  }
500
500
  .semi-upload-drag-area-tips-legal {
501
501
  color: var(--semi-color-primary);
@@ -35,14 +35,14 @@
35
35
  padding: 24px;
36
36
  }
37
37
  .semi-userGuide-popup-content-title {
38
- font-size: 18px;
39
- font-weight: 600;
40
- line-height: 24px;
38
+ font-size: var(--semi-user-guide-popup-content-title-font-size, var(--semi-font-size-header-5, 18px));
39
+ font-weight: var(--semi-user-guide-popup-content-title-font-weight, var(--semi-font-weight-strong, 600));
40
+ line-height: var(--semi-user-guide-popup-content-title-line-height, 24px);
41
41
  margin-bottom: 8px;
42
42
  }
43
43
  .semi-userGuide-popup-content-description {
44
- font-size: 14px;
45
- line-height: 20px;
44
+ font-size: var(--semi-user-guide-popup-content-description-font-size, var(--semi-font-size-regular, 14px));
45
+ line-height: var(--semi-user-guide-popup-content-description-line-height, 20px);
46
46
  margin-bottom: 48px;
47
47
  }
48
48
  .semi-userGuide-popup-content-footer {
@@ -56,8 +56,8 @@
56
56
  margin-left: 120px;
57
57
  }
58
58
  .semi-userGuide-popup-content-indicator {
59
- font-size: 14px;
60
- line-height: 20px;
59
+ font-size: var(--semi-font-size-regular, 14px);
60
+ line-height: var(--semi-user-guide-popup-content-indicator-line-height, 20px);
61
61
  }
62
62
  .semi-userGuide-modal .semi-modal-small {
63
63
  width: fit-content;
@@ -94,14 +94,14 @@
94
94
  padding: 24px 48px;
95
95
  }
96
96
  .semi-userGuide-modal-body-title {
97
- font-size: 18px;
98
- font-weight: 600;
99
- line-height: 24px;
97
+ font-size: var(--semi-user-guide-modal-content-title-font-size, var(--semi-font-size-header-5, 18px));
98
+ font-weight: var(--semi-user-guide-modal-content-title-font-weight, var(--semi-font-weight-strong, 600));
99
+ line-height: var(--semi-user-guide-modal-content-title-line-height, 24px);
100
100
  margin-bottom: 8px;
101
101
  }
102
102
  .semi-userGuide-modal-body-description {
103
- font-size: 14px;
104
- line-height: 20px;
103
+ font-size: var(--semi-user-guide-modal-content-description-font-size, var(--semi-font-size-regular, 14px));
104
+ line-height: var(--semi-user-guide-modal-content-description-line-height, 20px);
105
105
  }
106
106
  .semi-userGuide-modal-footer {
107
107
  display: flex;
@@ -55,8 +55,8 @@
55
55
  justify-content: center;
56
56
  align-items: center;
57
57
  flex-direction: column;
58
- font-weight: 600;
59
- font-size: 14px;
58
+ font-weight: var(--semi-video-player-error-font-weight, 600);
59
+ font-size: var(--semi-video-player-error-font-size, var(--semi-font-size-regular, 14px));
60
60
  }
61
61
  .semi-videoPlayer-error-svg {
62
62
  margin-bottom: 12px;
@@ -94,9 +94,9 @@
94
94
  background-color: var(--semi-color-overlay-bg);
95
95
  color: var(--semi-color-default);
96
96
  padding: 8px 12px;
97
- line-height: 20px;
97
+ line-height: var(--semi-video-player-notification-line-height, 20px);
98
98
  border-radius: 3px;
99
- font-size: 14px;
99
+ font-size: var(--semi-video-player-notification-font-size, var(--semi-font-size-regular, 14px));
100
100
  }
101
101
  .semi-videoPlayer-mirror video {
102
102
  transform: rotateX(0deg) rotateY(180deg);
@@ -135,7 +135,7 @@
135
135
  }
136
136
  .semi-videoPlayer-controls-time {
137
137
  color: #fff;
138
- font-size: 14px;
138
+ font-size: var(--semi-video-player-controls-time-text-font-size, var(--semi-font-size-regular, 14px));
139
139
  margin-right: 8px;
140
140
  padding: 0 8px;
141
141
  font-variant-numeric: tabular-nums;
@@ -151,8 +151,8 @@
151
151
  color: rgba(255, 255, 255, 0.7);
152
152
  border-radius: 4px;
153
153
  padding: 0px 4px;
154
- line-height: 16px;
155
- font-size: 12px;
154
+ line-height: var(--semi-video-player-controls-popup-item-line-height, 16px);
155
+ font-size: var(--semi-video-player-controls-item-font-size, var(--semi-font-size-small, 12px));
156
156
  user-select: none;
157
157
  }
158
158
  .semi-videoPlayer-controls-volume-title {
@@ -167,9 +167,9 @@
167
167
  height: 24px;
168
168
  background-color: var(--semi-color-overlay-bg);
169
169
  color: #fff;
170
- font-weight: 600;
171
- font-size: 12px;
172
- line-height: 16px;
170
+ font-weight: var(--semi-video-player-controls-popup-item-font-weight, 600);
171
+ font-size: var(--semi-video-player-controls-item-font-size, var(--semi-font-size-small, 12px));
172
+ line-height: var(--semi-video-player-controls-popup-item-line-height, 16px);
173
173
  border-radius: 3px;
174
174
  cursor: pointer;
175
175
  }
@@ -185,14 +185,14 @@
185
185
  padding: 0px 8px;
186
186
  height: 32px;
187
187
  color: #fff;
188
- font-size: 12px;
188
+ font-size: var(--semi-video-player-controls-item-font-size, var(--semi-font-size-small, 12px));
189
189
  }
190
190
  .semi-videoPlayer-controls-popup-menu-item:hover {
191
191
  background-color: rgb(67, 68, 74) !important;
192
192
  }
193
193
  .semi-videoPlayer-controls-popup-menu .semi-dropdown-item-active {
194
194
  color: var(--semi-color-primary);
195
- font-weight: 600;
195
+ font-weight: var(--semi-video-player-controls-popup-item-font-weight, 600);
196
196
  cursor: pointer;
197
197
  }
198
198
  .semi-videoPlayer-progress {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aifuxi/semi-theme-default",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "Compiled Semi Design v2.102.0 default theme CSS for @aifuxi/semi-ui-vue.",
5
5
  "license": "MIT",
6
6
  "author": "aifuxi",
@@ -41,6 +41,11 @@
41
41
  "style": "./dist/index.css",
42
42
  "default": "./dist/index.css"
43
43
  },
44
+ "./colors": {
45
+ "types": "./dist/colors/index.d.mts",
46
+ "import": "./dist/colors/index.mjs",
47
+ "default": "./dist/colors/index.mjs"
48
+ },
44
49
  "./index.css": "./dist/index.css",
45
50
  "./base.css": "./dist/base.css",
46
51
  "./shared/*.css": "./dist/shared/*.css",