@aifuxi/semi-theme-default 2.0.3 → 2.1.1

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
package/dist/select.css CHANGED
@@ -2,9 +2,9 @@
2
2
  /* sizing */
3
3
  /* spacing */
4
4
  .semi-select-option {
5
- font-size: 14px;
6
- line-height: 20px;
7
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
5
+ font-size: var(--semi-font-size-regular, 14px);
6
+ line-height: var(--semi-line-height-regular, 20px);
7
+ 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);
8
8
  word-break: break-all;
9
9
  padding-left: 12px;
10
10
  padding-right: 12px;
@@ -36,7 +36,7 @@
36
36
  .semi-select-option-keyword {
37
37
  color: var(--semi-color-primary);
38
38
  background-color: inherit;
39
- font-weight: 600;
39
+ font-weight: var(--semi-select-keyword-font-weight, 600);
40
40
  }
41
41
  .semi-select-option:active {
42
42
  background-color: var(--semi-color-fill-1);
@@ -60,7 +60,7 @@
60
60
  background-color: var(--semi-color-fill-0);
61
61
  }
62
62
  .semi-select-option-selected {
63
- font-weight: 600;
63
+ font-weight: var(--semi-font-weight-strong, 600);
64
64
  background: transparent;
65
65
  }
66
66
  .semi-select-option-selected .semi-select-option-icon {
@@ -75,7 +75,7 @@
75
75
  border-radius: var(--semi-border-radius-small);
76
76
  border: 1px solid transparent;
77
77
  height: 32px;
78
- font-weight: 400;
78
+ font-weight: var(--semi-select-font-weight, var(--semi-font-weight-regular, 400));
79
79
  background-color: var(--semi-color-fill-0);
80
80
  display: inline-flex;
81
81
  vertical-align: middle;
@@ -108,9 +108,9 @@
108
108
  line-height: 40px;
109
109
  }
110
110
  .semi-select-large .semi-select-selection {
111
- font-size: 16px;
112
- line-height: 22px;
113
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
111
+ font-size: var(--semi-font-size-header-6, 16px);
112
+ line-height: var(--semi-line-height-header-6, 22px);
113
+ 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);
114
114
  }
115
115
  .semi-select-open, .semi-select-focus {
116
116
  border: 1px solid var(--semi-color-focus-border);
@@ -182,9 +182,9 @@
182
182
  background-color: transparent;
183
183
  }
184
184
  .semi-select-selection {
185
- font-size: 14px;
186
- line-height: 20px;
187
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
185
+ font-size: var(--semi-font-size-regular, 14px);
186
+ line-height: var(--semi-line-height-regular, 20px);
187
+ 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);
188
188
  height: 100%;
189
189
  display: flex;
190
190
  align-items: center;
@@ -307,10 +307,10 @@
307
307
  .semi-select-prefix-text, .semi-select-suffix-text {
308
308
  margin: 0px 12px;
309
309
  color: var(--semi-color-text-2);
310
- font-size: 14px;
311
- line-height: 20px;
312
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
313
- font-weight: 600;
310
+ font-size: var(--semi-font-size-regular, 14px);
311
+ line-height: var(--semi-line-height-regular, 20px);
312
+ 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);
313
+ font-weight: var(--semi-select-prefix-suffix-font-weight, var(--semi-font-weight-strong, 600));
314
314
  }
315
315
  .semi-select-prefix-icon, .semi-select-suffix-icon {
316
316
  color: var(--semi-color-text-2);
@@ -337,10 +337,10 @@
337
337
  }
338
338
  .semi-select-inset-label {
339
339
  margin: 0px 12px;
340
- font-weight: 600;
341
- font-size: 14px;
342
- line-height: 20px;
343
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
340
+ font-weight: var(--semi-select-prefix-suffix-font-weight, var(--semi-font-weight-strong, 600));
341
+ font-size: var(--semi-font-size-regular, 14px);
342
+ line-height: var(--semi-line-height-regular, 20px);
343
+ 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);
344
344
  color: var(--semi-color-text-2);
345
345
  flex-shrink: 0;
346
346
  white-space: nowrap;
@@ -452,9 +452,9 @@
452
452
  padding-bottom: 4px;
453
453
  padding-left: 32px;
454
454
  padding-right: 16px;
455
- font-size: 12px;
456
- line-height: 16px;
457
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
455
+ font-size: var(--semi-font-size-small, 12px);
456
+ line-height: var(--semi-line-height-small, 16px);
457
+ 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);
458
458
  cursor: default;
459
459
  }
460
460
  .semi-select-group:not(:nth-of-type(1)) {
@@ -105,9 +105,9 @@
105
105
  resize: none;
106
106
  padding: 5px 12px;
107
107
  box-shadow: none;
108
- font-size: 14px;
109
- line-height: 20px;
110
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
108
+ font-size: var(--semi-font-size-regular, 14px);
109
+ line-height: var(--semi-line-height-regular, 20px);
110
+ 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);
111
111
  background-color: transparent;
112
112
  border: 0 solid transparent;
113
113
  vertical-align: bottom;
@@ -145,9 +145,9 @@
145
145
  resize: none;
146
146
  }
147
147
  .semi-input-textarea-counter {
148
- font-size: 12px;
149
- line-height: 16px;
150
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
148
+ font-size: var(--semi-font-size-small, 12px);
149
+ line-height: var(--semi-line-height-small, 16px);
150
+ 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);
151
151
  display: flex;
152
152
  flex-direction: column;
153
153
  justify-content: center;
@@ -199,7 +199,7 @@
199
199
  background-color: var(--semi-color-fill-1);
200
200
  border-right: 1px solid var(--semi-color-border);
201
201
  color: var(--semi-color-text-2);
202
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
202
+ font-family: var(--semi-font-family-monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
203
203
  font-size: inherit;
204
204
  line-height: 1.5;
205
205
  text-align: right;
@@ -2,9 +2,9 @@
2
2
  /* sizing */
3
3
  /* spacing */
4
4
  .semi-sidesheet {
5
- font-size: 14px;
6
- line-height: 20px;
7
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
5
+ font-size: var(--semi-font-size-regular, 14px);
6
+ line-height: var(--semi-line-height-regular, 20px);
7
+ 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);
8
8
  position: fixed;
9
9
  margin: 0;
10
10
  top: 0;
@@ -57,11 +57,11 @@
57
57
  .semi-sidesheet-title {
58
58
  flex: 1 0 auto;
59
59
  margin: 0;
60
- font-size: 18px;
61
- line-height: 24px;
62
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
63
- font-weight: 600;
64
- font-size: 18px;
60
+ font-size: var(--semi-font-size-header-5, 18px);
61
+ line-height: var(--semi-line-height-header-5, 24px);
62
+ 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);
63
+ font-weight: var(--semi-side-sheet-title-font-weight, var(--semi-font-weight-strong, 600));
64
+ font-size: var(--semi-side-sheet-title-font-size, var(--semi-font-size-header-5, 18px));
65
65
  color: var(--semi-color-text-0);
66
66
  text-align: left;
67
67
  }
package/dist/sidebar.css CHANGED
@@ -32,10 +32,10 @@
32
32
  }
33
33
  .semi-sidebar-container-header-title {
34
34
  flex: 1;
35
- font-size: 16px;
36
- line-height: 22px;
37
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
38
- font-weight: 600;
35
+ font-size: var(--semi-font-size-header-6, 16px);
36
+ line-height: var(--semi-line-height-header-6, 22px);
37
+ 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);
38
+ font-weight: var(--semi-font-weight-strong, 600);
39
39
  }
40
40
  .semi-sidebar-container-header-closeBtn {
41
41
  flex-shrink: 0;
@@ -84,9 +84,9 @@
84
84
  justify-content: space-between;
85
85
  }
86
86
  .semi-sidebar-mcp-configure-content-header-count {
87
- font-size: 12px;
88
- line-height: 16px;
89
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
87
+ font-size: var(--semi-font-size-small, 12px);
88
+ line-height: var(--semi-line-height-small, 16px);
89
+ 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);
90
90
  vertical-align: middle;
91
91
  color: var(--semi-color-text-2);
92
92
  }
@@ -113,7 +113,7 @@
113
113
  flex-shrink: 0;
114
114
  }
115
115
  .semi-sidebar-mcp-configure-content-item-sign .semi-icon {
116
- font-size: 32px;
116
+ font-size: var(--semi-sidebar-mcp-item-sign-icon-font-size, 32px);
117
117
  }
118
118
  .semi-sidebar-mcp-configure-content-item-content {
119
119
  justify-content: center;
@@ -122,16 +122,16 @@
122
122
  margin-right: 24px;
123
123
  }
124
124
  .semi-sidebar-mcp-configure-content-item-content-label {
125
- font-size: 14px;
126
- line-height: 20px;
127
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
128
- font-weight: 600;
125
+ font-size: var(--semi-font-size-regular, 14px);
126
+ line-height: var(--semi-line-height-regular, 20px);
127
+ 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);
128
+ font-weight: var(--semi-font-weight-strong, 600);
129
129
  color: var(--semi-color-text-0);
130
130
  }
131
131
  .semi-sidebar-mcp-configure-content-item-content-desc {
132
- font-size: 12px;
133
- line-height: 16px;
134
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
132
+ font-size: var(--semi-font-size-small, 12px);
133
+ line-height: var(--semi-line-height-small, 16px);
134
+ 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);
135
135
  color: var(--semi-color-text-0);
136
136
  overflow: hidden;
137
137
  text-overflow: ellipsis;
@@ -174,11 +174,11 @@
174
174
  line-clamp: 2;
175
175
  -webkit-line-clamp: 2;
176
176
  -webkit-box-orient: vertical;
177
- font-size: 14px;
178
- line-height: 20px;
179
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
177
+ font-size: var(--semi-font-size-regular, 14px);
178
+ line-height: var(--semi-line-height-regular, 20px);
179
+ 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);
180
180
  color: var(--semi-color-text-0);
181
- font-weight: 600;
181
+ font-weight: var(--semi-font-weight-strong, 600);
182
182
  }
183
183
  .semi-sidebar-annotation-item-footer {
184
184
  display: flex;
@@ -186,14 +186,14 @@
186
186
  align-items: center;
187
187
  }
188
188
  .semi-sidebar-annotation-item-footer-logo {
189
- font-size: 14px;
189
+ font-size: var(--semi-sidebar-annotation-footer-logo-font-size, 14px);
190
190
  width: 14px;
191
191
  height: 14px;
192
192
  }
193
193
  .semi-sidebar-annotation-item-footer-text {
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-text-0);
198
198
  overflow: hidden;
199
199
  text-overflow: ellipsis;
@@ -210,9 +210,9 @@
210
210
  display: flex;
211
211
  align-items: center;
212
212
  justify-content: center;
213
- font-size: 12px;
214
- line-height: 16px;
215
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
213
+ font-size: var(--semi-font-size-small, 12px);
214
+ line-height: var(--semi-line-height-small, 16px);
215
+ 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);
216
216
  color: var(--semi-color-text-2);
217
217
  }
218
218
  .semi-sidebar-annotation-item-text {
@@ -231,9 +231,9 @@
231
231
  line-clamp: 4;
232
232
  -webkit-line-clamp: 4;
233
233
  -webkit-box-orient: vertical;
234
- font-size: 12px;
235
- line-height: 16px;
236
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
234
+ font-size: var(--semi-font-size-small, 12px);
235
+ line-height: var(--semi-line-height-small, 16px);
236
+ 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);
237
237
  color: var(--semi-color-text-2);
238
238
  }
239
239
  .semi-sidebar-annotation-item-video {
@@ -277,7 +277,7 @@
277
277
  display: inline-flex;
278
278
  align-items: center;
279
279
  justify-content: center;
280
- font-size: 12px;
280
+ font-size: var(--semi-sidebar-annotation-video-play-icon-font-size, 12px);
281
281
  }
282
282
  .semi-sidebar-annotation-item-video-duration {
283
283
  padding: 2px 4px;
@@ -286,15 +286,15 @@
286
286
  right: 6px;
287
287
  background-color: rgba(var(--semi-grey-7), 0.7);
288
288
  border-radius: 4px;
289
- font-size: 12px;
290
- line-height: 16px;
291
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
289
+ font-size: var(--semi-font-size-small, 12px);
290
+ line-height: var(--semi-line-height-small, 16px);
291
+ 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);
292
292
  color: var(--semi-color-bg-0);
293
293
  }
294
294
  .semi-sidebar-annotation-item-video-title {
295
- font-size: 14px;
296
- line-height: 20px;
297
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
295
+ font-size: var(--semi-font-size-regular, 14px);
296
+ line-height: var(--semi-line-height-regular, 20px);
297
+ 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);
298
298
  color: var(--semi-color-text-0);
299
299
  }
300
300
  .semi-sidebar-code-content {
@@ -326,7 +326,7 @@
326
326
  .semi-sidebar-collapse .semi-collapse-header {
327
327
  padding: 8px 16px;
328
328
  margin: 0px;
329
- font-weight: 400;
329
+ font-weight: var(--semi-font-weight-regular, 400);
330
330
  }
331
331
  .semi-sidebar-collapse-header-content {
332
332
  display: flex;
@@ -371,11 +371,11 @@
371
371
  }
372
372
  .semi-sidebar-options-normal.semi-button-primary.semi-button-light {
373
373
  color: var(--semi-color-text-2);
374
- font-weight: 400;
374
+ font-weight: var(--semi-font-weight-regular, 400);
375
375
  }
376
376
  .semi-sidebar-file .tiptap {
377
- font-size: 14px;
378
- line-height: 24px;
377
+ font-size: var(--semi-sidebar-file-font-size, 14px);
378
+ line-height: var(--semi-sidebar-file-line-height, 24px);
379
379
  }
380
380
  .semi-sidebar-file .tiptap ::selection {
381
381
  background: rgba(var(--semi-light-blue-1), 1);
@@ -408,8 +408,8 @@
408
408
  padding: 2px 4px;
409
409
  border-radius: 4px;
410
410
  overflow: auto;
411
- font-size: 14px;
412
- line-height: 24px;
411
+ font-size: var(--semi-sidebar-file-pre-font-size, 14px);
412
+ line-height: var(--semi-sidebar-file-pre-line-height, 24px);
413
413
  border: 1px solid var(--semi-color-border);
414
414
  }
415
415
  .semi-sidebar-file .tiptap pre code {
@@ -426,7 +426,7 @@
426
426
  .semi-sidebar-file .tiptap span.select {
427
427
  display: inline-block;
428
428
  background-color: rgba(var(--semi-light-blue-1), 1);
429
- line-height: 24px;
429
+ line-height: var(--semi-sidebar-file-line-height, 24px);
430
430
  }
431
431
  .semi-sidebar-file .tiptap.ProseMirror img:not([data-type=emoji] img) {
432
432
  outline: 0.125rem solid transparent;
@@ -460,8 +460,8 @@
460
460
  background: var(--semi-color-fill-0);
461
461
  }
462
462
  .semi-sidebar-file-menu-bar-btn-codeblock {
463
- font-size: 12px;
464
- line-height: 16px;
463
+ font-size: var(--semi-sidebar-file-menu-bar-codeblock-font-size, 12px);
464
+ line-height: var(--semi-sidebar-file-menu-bar-codeblock-line-height, 16px);
465
465
  padding: 8px;
466
466
  }
467
467
  .semi-sidebar-file-menu-bar-link-dropdown {
@@ -520,10 +520,10 @@
520
520
  align-items: center;
521
521
  }
522
522
  .semi-sidebar-detail-header-title {
523
- font-size: 16px;
524
- line-height: 22px;
525
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
526
- font-weight: 600;
523
+ font-size: var(--semi-font-size-header-6, 16px);
524
+ line-height: var(--semi-line-height-header-6, 22px);
525
+ 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);
526
+ font-weight: var(--semi-font-weight-strong, 600);
527
527
  }
528
528
  .semi-sidebar-detail-header-right {
529
529
  display: flex;
package/dist/slider.css CHANGED
@@ -18,9 +18,9 @@
18
18
  margin: 0px;
19
19
  padding: 0px;
20
20
  color: rgba(0, 0, 0, 0.65);
21
- font-size: 14px;
21
+ font-size: var(--semi-slider-rail-font-size, 14px);
22
22
  font-variant: tabular-nums;
23
- line-height: 1.5;
23
+ line-height: var(--semi-slider-rail-line-height, 1.5);
24
24
  list-style: none;
25
25
  font-feature-settings: "tnum";
26
26
  position: absolute;
@@ -100,7 +100,7 @@
100
100
  top: 23px;
101
101
  left: 0px;
102
102
  width: 100%;
103
- font-size: 14px;
103
+ font-size: var(--semi-slider-marks-font-size, 14px);
104
104
  }
105
105
  .semi-slider-mark {
106
106
  position: absolute;
@@ -115,7 +115,7 @@
115
115
  top: 23px;
116
116
  left: 0px;
117
117
  width: 100%;
118
- font-size: 14px;
118
+ font-size: var(--semi-slider-marks-font-size, 14px);
119
119
  }
120
120
  .semi-slider-mark-reverse {
121
121
  position: absolute;
@@ -127,7 +127,7 @@
127
127
  }
128
128
  .semi-slider-boundary {
129
129
  position: relative;
130
- font-size: 12px;
130
+ font-size: var(--semi-font-size-small, 12px);
131
131
  color: var(--semi-color-text-0);
132
132
  visibility: hidden;
133
133
  top: 30px;
package/dist/steps.css CHANGED
@@ -23,10 +23,10 @@
23
23
  }
24
24
  .semi-steps .semi-steps-item .semi-steps-item-title {
25
25
  position: relative;
26
- font-size: 18px;
27
- line-height: 24px;
28
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
29
- font-weight: 600;
26
+ font-size: var(--semi-font-size-header-5, 18px);
27
+ line-height: var(--semi-line-height-header-5, 24px);
28
+ 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);
29
+ font-weight: var(--semi-font-weight-strong, 600);
30
30
  width: 100%;
31
31
  overflow: hidden;
32
32
  text-overflow: ellipsis;
@@ -35,9 +35,9 @@
35
35
  transition: color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
36
36
  }
37
37
  .semi-steps .semi-steps-item .semi-steps-item-description {
38
- font-size: 14px;
39
- line-height: 20px;
40
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
38
+ font-size: var(--semi-font-size-regular, 14px);
39
+ line-height: var(--semi-line-height-regular, 20px);
40
+ 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);
41
41
  color: var(--semi-color-text-2);
42
42
  width: 100%;
43
43
  overflow: hidden;
@@ -120,16 +120,16 @@
120
120
  .semi-steps .semi-steps-item-left {
121
121
  width: 24px;
122
122
  height: 24px;
123
- line-height: 32px;
123
+ line-height: var(--semi-steps-item-left-line-height, 32px);
124
124
  text-align: center;
125
125
  border-radius: 32px;
126
126
  display: flex;
127
127
  align-items: center;
128
128
  justify-content: center;
129
- font-size: 20px;
130
- line-height: 28px;
131
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
132
- font-weight: 600;
129
+ font-size: var(--semi-font-size-header-4, 20px);
130
+ line-height: var(--semi-line-height-header-4, 28px);
131
+ 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);
132
+ font-weight: var(--semi-font-weight-strong, 600);
133
133
  flex-grow: 0;
134
134
  }
135
135
  .semi-steps .semi-steps-item-left.semi-steps-item-plain {
@@ -181,9 +181,9 @@
181
181
  flex: 1;
182
182
  }
183
183
  .semi-steps-basic.semi-steps-horizontal .semi-steps-item .semi-steps-item-description {
184
- font-size: 12px;
185
- line-height: 16px;
186
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
184
+ font-size: var(--semi-font-size-small, 12px);
185
+ line-height: var(--semi-line-height-small, 16px);
186
+ 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);
187
187
  color: var(--semi-color-text-2);
188
188
  width: 100%;
189
189
  max-width: 268px;
@@ -248,9 +248,9 @@
248
248
  padding-bottom: 9px;
249
249
  }
250
250
  .semi-steps-basic.semi-steps-vertical .semi-steps-item .semi-steps-item-description {
251
- font-size: 12px;
252
- line-height: 16px;
253
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
251
+ font-size: var(--semi-font-size-small, 12px);
252
+ line-height: var(--semi-line-height-small, 16px);
253
+ 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);
254
254
  color: var(--semi-color-text-2);
255
255
  width: 100%;
256
256
  }
@@ -302,10 +302,10 @@
302
302
  justify-content: center;
303
303
  width: 24px;
304
304
  height: 24px;
305
- font-size: 16px;
306
- line-height: 22px;
307
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
308
- font-weight: 600;
305
+ font-size: var(--semi-font-size-header-6, 16px);
306
+ line-height: var(--semi-line-height-header-6, 22px);
307
+ 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);
308
+ font-weight: var(--semi-steps-basic-item-left-number-icon-font-weight, 600);
309
309
  background: var(--semi-color-primary);
310
310
  border-radius: var(--semi-border-radius-circle);
311
311
  color: var(--semi-color-white);
@@ -314,11 +314,11 @@
314
314
  .semi-steps-basic .semi-steps-item .semi-steps-item-title {
315
315
  position: relative;
316
316
  display: inline-block;
317
- font-size: 16px;
318
- line-height: 22px;
319
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
320
- line-height: 24px;
321
- font-weight: 600;
317
+ font-size: var(--semi-font-size-header-6, 16px);
318
+ line-height: var(--semi-line-height-header-6, 22px);
319
+ 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);
320
+ line-height: var(--semi-steps-basic-item-title-line-height, 24px);
321
+ font-weight: var(--semi-steps-basic-item-title-font-weight, 600);
322
322
  color: var(--semi-color-text-0);
323
323
  vertical-align: top;
324
324
  padding-right: 16px;
@@ -364,17 +364,17 @@
364
364
  color: var(--semi-color-white);
365
365
  }
366
366
  .semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-title {
367
- font-size: 14px;
368
- line-height: 20px;
369
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
367
+ font-size: var(--semi-font-size-regular, 14px);
368
+ line-height: var(--semi-line-height-regular, 20px);
369
+ 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);
370
370
  }
371
371
  .semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-left .semi-steps-item-icon {
372
372
  height: 20px;
373
373
  }
374
374
  .semi-steps-basic.semi-steps-small .semi-steps-item .semi-steps-item-left .semi-steps-item-icon .semi-steps-item-number-icon {
375
- font-size: 12px;
376
- line-height: 16px;
377
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
375
+ font-size: var(--semi-font-size-small, 12px);
376
+ line-height: var(--semi-line-height-small, 16px);
377
+ 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);
378
378
  width: 20px;
379
379
  height: 20px;
380
380
  }
@@ -409,23 +409,23 @@
409
409
  display: inline-block;
410
410
  }
411
411
  .semi-steps-nav .semi-steps-item .semi-steps-item-title {
412
- font-size: 16px;
413
- line-height: 22px;
414
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
412
+ font-size: var(--semi-font-size-header-6, 16px);
413
+ line-height: var(--semi-line-height-header-6, 22px);
414
+ 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);
415
415
  max-width: 17em;
416
416
  overflow: hidden;
417
417
  text-overflow: ellipsis;
418
418
  white-space: nowrap;
419
- font-weight: 400;
419
+ font-weight: var(--semi-steps-nav-item-title-font-weight, var(--semi-font-weight-regular, 400));
420
420
  }
421
421
  .semi-steps-nav .semi-steps-item-active .semi-steps-item-title {
422
422
  color: var(--semi-color-text-0);
423
- font-weight: 600;
423
+ font-weight: var(--semi-steps-nav-item-title-active-font-weight, 600);
424
424
  }
425
425
  .semi-steps-nav.semi-steps-small .semi-steps-item .semi-steps-item-title {
426
- font-size: 14px;
427
- line-height: 20px;
428
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
426
+ font-size: var(--semi-font-size-regular, 14px);
427
+ line-height: var(--semi-line-height-regular, 20px);
428
+ 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);
429
429
  }
430
430
 
431
431
  .semi-rtl .semi-steps,
@@ -17,6 +17,7 @@
17
17
  "semi-foundation/markdownRender/markdownRender.scss": "./markdown-render.css",
18
18
  "semi-foundation/chat/chat.scss": "./chat.css",
19
19
  "semi-icons/src/styles/icons.scss": "./icon.css",
20
+ "semi-foundation/button/iconButton.scss": "./icon-button.css",
20
21
  "semi-foundation/select/select.scss": "./select.css",
21
22
  "semi-foundation/radio/radio.scss": "./radio.css",
22
23
  "semi-foundation/upload/upload.scss": "./upload.css",
@@ -26,7 +27,6 @@
26
27
  "semi-foundation/_portal/portal.scss": "./shared/foundation-portal-portal.css",
27
28
  "semi-foundation/input/input.scss": "./input.css",
28
29
  "semi-foundation/spin/spin.scss": "./spin.css",
29
- "semi-foundation/button/iconButton.scss": "./icon-button.css",
30
30
  "semi-foundation/skeleton/skeleton.scss": "./skeleton.css",
31
31
  "semi-foundation/space/space.scss": "./space.css",
32
32
  "semi-foundation/tag/tag.scss": "./tag.css",
@@ -106,6 +106,7 @@
106
106
  "main": "semi-foundation/aiChatInput/aiChatInput.scss",
107
107
  "modules": [
108
108
  "semi-foundation/button/button.scss",
109
+ "semi-foundation/button/iconButton.scss",
109
110
  "semi-foundation/select/select.scss",
110
111
  "semi-foundation/radio/radio.scss",
111
112
  "semi-foundation/dropdown/dropdown.scss",
@@ -119,6 +120,7 @@
119
120
  "imports": [
120
121
  "base.css",
121
122
  "./button.css",
123
+ "./icon-button.css",
122
124
  "./select.css",
123
125
  "./radio.css",
124
126
  "./dropdown.css",
@@ -372,6 +374,13 @@
372
374
  "main": "semi-foundation/chat/chat.scss",
373
375
  "modules": [
374
376
  "semi-foundation/button/button.scss",
377
+ "semi-foundation/button/iconButton.scss",
378
+ "semi-foundation/typography/typography.scss",
379
+ "semi-foundation/table/table.scss",
380
+ "semi-foundation/pagination/pagination.scss",
381
+ "semi-foundation/codeHighlight/codeHighlight.scss",
382
+ "semi-foundation/markdownRender/markdownRender.scss",
383
+ "semi-foundation/spin/spin.scss",
375
384
  "semi-foundation/input/input.scss",
376
385
  "semi-foundation/input/textarea.scss",
377
386
  "semi-foundation/avatar/avatar.scss",
@@ -389,6 +398,13 @@
389
398
  "imports": [
390
399
  "base.css",
391
400
  "./button.css",
401
+ "./icon-button.css",
402
+ "./typography.css",
403
+ "./table.css",
404
+ "./pagination.css",
405
+ "./code-highlight.css",
406
+ "./markdown-render.css",
407
+ "./spin.css",
392
408
  "./input.css",
393
409
  "./shared/foundation-input-textarea.css",
394
410
  "./avatar.css",