@aifuxi/semi-theme-default 2.0.3 → 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.
- package/CHANGELOG.md +14 -0
- package/README.md +128 -1
- package/dist/SBOM.spdx.json +4 -4
- package/dist/ai-chat-dialogue.css +20 -20
- package/dist/ai-chat-input.css +31 -31
- package/dist/anchor.css +9 -9
- package/dist/audio-player.css +4 -4
- package/dist/auto-complete.css +5 -5
- package/dist/avatar.css +41 -41
- package/dist/badge.css +4 -4
- package/dist/base.css +29 -2
- package/dist/breadcrumb.css +11 -11
- package/dist/button.css +9 -9
- package/dist/calendar.css +34 -34
- package/dist/card.css +14 -14
- package/dist/cascader.css +23 -23
- package/dist/chat.css +12 -12
- package/dist/checkbox.css +14 -14
- package/dist/code-highlight.css +1 -1
- package/dist/collapse.css +7 -7
- package/dist/color-picker.css +1 -1
- package/dist/colors/baseline.mjs +675 -0
- package/dist/colors/index.d.mts +29 -0
- package/dist/colors/index.mjs +10 -0
- package/dist/colors/palette.d.mts +44 -0
- package/dist/colors/palette.mjs +273 -0
- package/dist/colors/theme.mjs +102 -0
- package/dist/date-picker.css +32 -32
- package/dist/descriptions.css +26 -26
- package/dist/divider.css +1 -1
- package/dist/dropdown.css +7 -7
- package/dist/empty.css +1 -1
- package/dist/feedback.css +5 -5
- package/dist/float-button.css +3 -3
- package/dist/form.css +15 -15
- package/dist/highlight.css +1 -1
- package/dist/hot-keys.css +6 -6
- package/dist/image.css +6 -6
- package/dist/index.css +825 -794
- package/dist/input.css +26 -26
- package/dist/json-viewer.css +2 -2
- package/dist/list.css +3 -3
- package/dist/markdown-render.css +1 -1
- package/dist/modal.css +5 -5
- package/dist/navigation.css +16 -16
- package/dist/notification.css +14 -14
- package/dist/pagination.css +17 -17
- package/dist/popconfirm.css +4 -4
- package/dist/popover.css +3 -3
- package/dist/progress.css +2 -2
- package/dist/radio.css +21 -21
- package/dist/rating.css +2 -2
- package/dist/scroll-list.css +8 -8
- package/dist/select.css +23 -23
- package/dist/shared/foundation-input-textarea.css +7 -7
- package/dist/side-sheet.css +8 -8
- package/dist/sidebar.css +49 -49
- package/dist/slider.css +5 -5
- package/dist/steps.css +41 -41
- package/dist/style-dependencies.json +17 -1
- package/dist/switch.css +2 -2
- package/dist/table.css +9 -9
- package/dist/tabs.css +15 -15
- package/dist/tag-input.css +14 -14
- package/dist/tag.css +7 -7
- package/dist/time-picker.css +3 -3
- package/dist/timeline.css +6 -6
- package/dist/toast.css +4 -4
- package/dist/tooltip.css +4 -4
- package/dist/transfer.css +16 -16
- package/dist/tree-select.css +19 -19
- package/dist/tree.css +4 -4
- package/dist/typography.css +40 -36
- package/dist/upload.css +29 -29
- package/dist/user-guide.css +12 -12
- package/dist/video-player.css +12 -12
- package/package.json +6 -1
package/dist/avatar.css
CHANGED
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
.semi-avatar .semi-avatar-label {
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
line-height: 20px;
|
|
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-regular, 14px);
|
|
27
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
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
|
}
|
|
31
31
|
.semi-avatar-content {
|
|
32
32
|
user-select: none;
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
transform: scale(0.8);
|
|
42
42
|
}
|
|
43
43
|
.semi-avatar-extra-extra-small .semi-avatar-label {
|
|
44
|
-
font-size: 10px;
|
|
45
|
-
line-height: 15px;
|
|
44
|
+
font-size: var(--semi-avatar-extra-extra-small-font-size, 10px);
|
|
45
|
+
line-height: var(--semi-avatar-extra-extra-small-line-height, 15px);
|
|
46
46
|
}
|
|
47
47
|
.semi-avatar-extra-small {
|
|
48
48
|
width: 24px;
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
transform: scale(0.8);
|
|
55
55
|
}
|
|
56
56
|
.semi-avatar-extra-small .semi-avatar-label {
|
|
57
|
-
font-size: 10px;
|
|
58
|
-
line-height: 15px;
|
|
57
|
+
font-size: var(--semi-avatar-extra-small-font-size, 10px);
|
|
58
|
+
line-height: var(--semi-avatar-extra-small-line-height, 15px);
|
|
59
59
|
}
|
|
60
60
|
.semi-avatar-small {
|
|
61
61
|
width: 32px;
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
border-radius: 3px;
|
|
64
64
|
}
|
|
65
65
|
.semi-avatar-small .semi-avatar-label {
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
line-height: 16px;
|
|
68
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
66
|
+
font-size: var(--semi-font-size-small, 12px);
|
|
67
|
+
line-height: var(--semi-line-height-small, 16px);
|
|
68
|
+
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);
|
|
69
69
|
}
|
|
70
70
|
.semi-avatar-default {
|
|
71
71
|
width: 40px;
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
border-radius: 3px;
|
|
74
74
|
}
|
|
75
75
|
.semi-avatar-default .semi-avatar-label {
|
|
76
|
-
font-size: 18px;
|
|
77
|
-
line-height: 24px;
|
|
78
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
76
|
+
font-size: var(--semi-font-size-header-5, 18px);
|
|
77
|
+
line-height: var(--semi-line-height-header-5, 24px);
|
|
78
|
+
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);
|
|
79
79
|
}
|
|
80
80
|
.semi-avatar-medium {
|
|
81
81
|
width: 48px;
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
border-radius: 3px;
|
|
84
84
|
}
|
|
85
85
|
.semi-avatar-medium .semi-avatar-label {
|
|
86
|
-
font-size: 20px;
|
|
87
|
-
line-height: 28px;
|
|
88
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
86
|
+
font-size: var(--semi-font-size-header-4, 20px);
|
|
87
|
+
line-height: var(--semi-line-height-header-4, 28px);
|
|
88
|
+
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);
|
|
89
89
|
}
|
|
90
90
|
.semi-avatar-large {
|
|
91
91
|
width: 72px;
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
border-radius: 6px;
|
|
94
94
|
}
|
|
95
95
|
.semi-avatar-large .semi-avatar-label {
|
|
96
|
-
font-size: 32px;
|
|
97
|
-
line-height: 44px;
|
|
98
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
96
|
+
font-size: var(--semi-font-size-header-1, 32px);
|
|
97
|
+
line-height: var(--semi-line-height-header-1, 44px);
|
|
98
|
+
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);
|
|
99
99
|
}
|
|
100
100
|
.semi-avatar-extra-large {
|
|
101
101
|
width: 128px;
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
border-radius: 12px;
|
|
104
104
|
}
|
|
105
105
|
.semi-avatar-extra-large .semi-avatar-label {
|
|
106
|
-
font-size: 64px;
|
|
107
|
-
line-height: 77px;
|
|
106
|
+
font-size: var(--semi-avatar-extra-large-font-size, 64px);
|
|
107
|
+
line-height: var(--semi-avatar-extra-large-line-height, 77px);
|
|
108
108
|
}
|
|
109
109
|
.semi-avatar-circle {
|
|
110
110
|
border-radius: var(--semi-border-radius-circle);
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot {
|
|
195
195
|
color: var(--semi-color-bg-0);
|
|
196
|
-
font-weight: 600;
|
|
196
|
+
font-weight: var(--semi-font-weight-strong, 600);
|
|
197
197
|
}
|
|
198
198
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content {
|
|
199
199
|
user-select: none;
|
|
@@ -201,23 +201,23 @@
|
|
|
201
201
|
line-height: normal;
|
|
202
202
|
}
|
|
203
203
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-small {
|
|
204
|
-
font-size: 5px;
|
|
204
|
+
font-size: var(--semi-avatar-top-slot-small-font-size, 5px);
|
|
205
205
|
margin-top: 0px;
|
|
206
206
|
}
|
|
207
207
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-default {
|
|
208
|
-
font-size: 6px;
|
|
208
|
+
font-size: var(--semi-avatar-top-slot-default-font-size, 6px);
|
|
209
209
|
margin-top: -2px;
|
|
210
210
|
}
|
|
211
211
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-medium {
|
|
212
|
-
font-size: 8px;
|
|
212
|
+
font-size: var(--semi-avatar-top-slot-medium-font-size, 8px);
|
|
213
213
|
margin-top: 0px;
|
|
214
214
|
}
|
|
215
215
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-large {
|
|
216
|
-
font-size: 14px;
|
|
216
|
+
font-size: var(--semi-avatar-top-slot-large-font-size, 14px);
|
|
217
217
|
margin-top: 0px;
|
|
218
218
|
}
|
|
219
219
|
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-extra-large {
|
|
220
|
-
font-size: 16px;
|
|
220
|
+
font-size: var(--semi-avatar-top-slot-extra-large-font-size, 16px);
|
|
221
221
|
margin-top: 0px;
|
|
222
222
|
}
|
|
223
223
|
.semi-avatar-wrapper .semi-avatar-bottom_slot {
|
|
@@ -239,32 +239,32 @@
|
|
|
239
239
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-extra-small {
|
|
240
240
|
width: 12px;
|
|
241
241
|
height: 12px;
|
|
242
|
-
font-size: 5px;
|
|
242
|
+
font-size: var(--semi-avatar-bottom-slot-extra-small-font-size, 5px);
|
|
243
243
|
}
|
|
244
244
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-small {
|
|
245
245
|
width: 12px;
|
|
246
246
|
height: 12px;
|
|
247
|
-
font-size: 5px;
|
|
247
|
+
font-size: var(--semi-avatar-bottom-slot-small-font-size, 5px);
|
|
248
248
|
}
|
|
249
249
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-default {
|
|
250
250
|
width: 16px;
|
|
251
251
|
height: 16px;
|
|
252
|
-
font-size: 12px;
|
|
252
|
+
font-size: var(--semi-avatar-bottom-slot-default-font-size, 12px);
|
|
253
253
|
}
|
|
254
254
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-medium {
|
|
255
255
|
width: 18px;
|
|
256
256
|
height: 18px;
|
|
257
|
-
font-size: 12px;
|
|
257
|
+
font-size: var(--semi-avatar-bottom-slot-medium-font-size, 12px);
|
|
258
258
|
}
|
|
259
259
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-large {
|
|
260
260
|
width: 28px;
|
|
261
261
|
height: 28px;
|
|
262
|
-
font-size: 12px;
|
|
262
|
+
font-size: var(--semi-avatar-bottom-slot-large-font-size, 12px);
|
|
263
263
|
}
|
|
264
264
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-extra-large {
|
|
265
265
|
width: 28px;
|
|
266
266
|
height: 28px;
|
|
267
|
-
font-size: 14px;
|
|
267
|
+
font-size: var(--semi-avatar-bottom-slot-extra-large-font-size, 14px);
|
|
268
268
|
}
|
|
269
269
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square {
|
|
270
270
|
display: flex;
|
|
@@ -273,32 +273,32 @@
|
|
|
273
273
|
background: var(--semi-color-primary);
|
|
274
274
|
border-radius: 4px;
|
|
275
275
|
padding: 1px 4px;
|
|
276
|
-
font-weight: 600;
|
|
276
|
+
font-weight: var(--semi-font-weight-strong, 600);
|
|
277
277
|
border-style: solid;
|
|
278
278
|
border-color: var(--semi-color-bg-0);
|
|
279
279
|
}
|
|
280
280
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-extra_small {
|
|
281
|
-
font-size: 5px;
|
|
281
|
+
font-size: var(--semi-avatar-bottom-slot-extra-small-font-size, 5px);
|
|
282
282
|
border-width: 2px;
|
|
283
283
|
}
|
|
284
284
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-small {
|
|
285
|
-
font-size: 5px;
|
|
285
|
+
font-size: var(--semi-avatar-bottom-slot-small-font-size, 5px);
|
|
286
286
|
border-width: 2px;
|
|
287
287
|
}
|
|
288
288
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-default {
|
|
289
|
-
font-size: 12px;
|
|
289
|
+
font-size: var(--semi-avatar-bottom-slot-default-font-size, 12px);
|
|
290
290
|
border-width: 2px;
|
|
291
291
|
}
|
|
292
292
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-medium {
|
|
293
|
-
font-size: 12px;
|
|
293
|
+
font-size: var(--semi-avatar-bottom-slot-medium-font-size, 12px);
|
|
294
294
|
border-width: 2px;
|
|
295
295
|
}
|
|
296
296
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-large {
|
|
297
|
-
font-size: 12px;
|
|
297
|
+
font-size: var(--semi-avatar-bottom-slot-large-font-size, 12px);
|
|
298
298
|
border-width: 2px;
|
|
299
299
|
}
|
|
300
300
|
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-extra-large {
|
|
301
|
-
font-size: 14px;
|
|
301
|
+
font-size: var(--semi-avatar-bottom-slot-extra-large-font-size, 14px);
|
|
302
302
|
border-width: 2px;
|
|
303
303
|
}
|
|
304
304
|
|
package/dist/badge.css
CHANGED
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
border: 1px var(--semi-color-bg-1) solid;
|
|
25
25
|
z-index: 1;
|
|
26
26
|
text-align: center;
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
line-height: 16px;
|
|
29
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
30
|
-
font-weight: 400;
|
|
27
|
+
font-size: var(--semi-font-size-small, 12px);
|
|
28
|
+
line-height: var(--semi-line-height-small, 16px);
|
|
29
|
+
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);
|
|
30
|
+
font-weight: var(--semi-font-weight-regular, 400);
|
|
31
31
|
color: var(--semi-color-bg-2);
|
|
32
32
|
}
|
|
33
33
|
.semi-badge-rightTop {
|
package/dist/base.css
CHANGED
|
@@ -452,7 +452,7 @@ body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
body, body[theme-mode=dark] .semi-always-light, :host, :host .semi-always-light {
|
|
455
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
455
|
+
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);
|
|
456
456
|
-webkit-font-smoothing: antialiased;
|
|
457
457
|
--semi-color-white: rgba(var(--semi-white), 1);
|
|
458
458
|
--semi-color-black: rgba(var(--semi-black), 1);
|
|
@@ -576,7 +576,7 @@ body, body[theme-mode=dark] .semi-always-light, :host, :host .semi-always-light
|
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .semi-always-dark {
|
|
579
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
579
|
+
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);
|
|
580
580
|
-webkit-font-smoothing: antialiased;
|
|
581
581
|
--semi-color-white: rgba(228, 231, 245, 1);
|
|
582
582
|
--semi-color-black: rgba(var(--semi-black), 1);
|
|
@@ -699,6 +699,33 @@ body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .
|
|
|
699
699
|
--semi-color-ai-background-top-hover: linear-gradient(201.15deg, rgba(83, 56, 255, 0.72) 6.58%, rgba(176, 48, 240, 0.432) 32.88%, rgba(154, 0, 174, 0.216) 59.17%, rgba(0, 0, 0, 0) 94.23%);
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
+
body, :host {
|
|
703
|
+
--semi-font-family-regular: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
704
|
+
--semi-font-weight-regular: 400;
|
|
705
|
+
--semi-font-weight-strong: 600;
|
|
706
|
+
--semi-line-height-paragraph-extended: 24px;
|
|
707
|
+
--semi-font-size-small: 12px;
|
|
708
|
+
--semi-line-height-small: 16px;
|
|
709
|
+
--semi-font-size-regular: 14px;
|
|
710
|
+
--semi-line-height-regular: 20px;
|
|
711
|
+
--semi-font-size-header-6: 16px;
|
|
712
|
+
--semi-line-height-header-6: 22px;
|
|
713
|
+
--semi-font-size-header-5: 18px;
|
|
714
|
+
--semi-line-height-header-5: 24px;
|
|
715
|
+
--semi-font-size-header-4: 20px;
|
|
716
|
+
--semi-line-height-header-4: 28px;
|
|
717
|
+
--semi-font-size-header-3: 24px;
|
|
718
|
+
--semi-line-height-header-3: 32px;
|
|
719
|
+
--semi-font-size-header-2: 28px;
|
|
720
|
+
--semi-line-height-header-2: 40px;
|
|
721
|
+
--semi-font-size-header-1: 32px;
|
|
722
|
+
--semi-line-height-header-1: 44px;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
[data-semi-theme] {
|
|
726
|
+
font-family: var(--semi-font-family-regular);
|
|
727
|
+
}
|
|
728
|
+
|
|
702
729
|
body, :host {
|
|
703
730
|
--semi-transition_duration-slowest:0ms;
|
|
704
731
|
--semi-transition_duration-slower:0ms;
|
package/dist/breadcrumb.css
CHANGED
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
}
|
|
11
11
|
.semi-breadcrumb-wrapper-loose {
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
line-height: 20px;
|
|
14
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
15
|
-
font-size: 14px;
|
|
12
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
13
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
14
|
+
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);
|
|
15
|
+
font-size: var(--semi-breadcrumb-loose-font-size, var(--semi-font-size-regular, 14px));
|
|
16
16
|
}
|
|
17
17
|
.semi-breadcrumb-wrapper-compact {
|
|
18
|
-
font-size: 12px;
|
|
19
|
-
line-height: 16px;
|
|
20
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
21
|
-
font-size: 12px;
|
|
18
|
+
font-size: var(--semi-font-size-small, 12px);
|
|
19
|
+
line-height: var(--semi-line-height-small, 16px);
|
|
20
|
+
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);
|
|
21
|
+
font-size: var(--semi-breadcrumb-compact-font-size, var(--semi-font-size-small, 12px));
|
|
22
22
|
}
|
|
23
23
|
.semi-breadcrumb-item-wrap {
|
|
24
24
|
display: inline-flex;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
column-gap: 4px;
|
|
33
33
|
margin-right: 4px;
|
|
34
34
|
color: var(--semi-color-text-2);
|
|
35
|
-
font-weight: 400;
|
|
35
|
+
font-weight: var(--semi-breadcrumb-default-font-weight, var(--semi-font-weight-regular, 400));
|
|
36
36
|
}
|
|
37
37
|
.semi-breadcrumb-item .semi-typography {
|
|
38
38
|
color: inherit;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
.semi-breadcrumb-item-active {
|
|
44
44
|
color: var(--semi-color-text-0);
|
|
45
|
-
font-weight: 600;
|
|
45
|
+
font-weight: var(--semi-breadcrumb-active-font-weight, var(--semi-font-weight-strong, 600));
|
|
46
46
|
}
|
|
47
47
|
.semi-breadcrumb-item-active:hover, .semi-breadcrumb-item-active:active {
|
|
48
48
|
border: none;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
cursor: default;
|
|
52
52
|
}
|
|
53
53
|
.semi-breadcrumb-item-active .semi-typography {
|
|
54
|
-
font-weight: 600;
|
|
54
|
+
font-weight: var(--semi-breadcrumb-active-font-weight, var(--semi-font-weight-strong, 600));
|
|
55
55
|
}
|
|
56
56
|
.semi-breadcrumb-item-icon {
|
|
57
57
|
margin-bottom: -1px;
|
package/dist/button.css
CHANGED
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
padding-top: 6px;
|
|
47
47
|
padding-bottom: 6px;
|
|
48
48
|
font-family: inherit;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
line-height: 20px;
|
|
51
|
-
font-weight: 600;
|
|
49
|
+
font-size: var(--semi-button-font-size, var(--semi-font-size-regular, 14px));
|
|
50
|
+
line-height: var(--semi-button-line-height, var(--semi-line-height-regular, 20px));
|
|
51
|
+
font-weight: var(--semi-button-font-weight, var(--semi-font-weight-strong, 600));
|
|
52
52
|
outline: none;
|
|
53
53
|
vertical-align: middle;
|
|
54
54
|
white-space: nowrap;
|
|
@@ -305,9 +305,9 @@
|
|
|
305
305
|
padding-bottom: 2px;
|
|
306
306
|
padding-left: 12px;
|
|
307
307
|
padding-right: 12px;
|
|
308
|
-
font-size: 14px;
|
|
309
|
-
line-height: 20px;
|
|
310
|
-
font-weight: 600;
|
|
308
|
+
font-size: var(--semi-button-small-font-size, var(--semi-button-font-size, var(--semi-font-size-regular, 14px)));
|
|
309
|
+
line-height: var(--semi-button-small-line-height, var(--semi-button-line-height, var(--semi-line-height-regular, 20px)));
|
|
310
|
+
font-weight: var(--semi-button-small-font-weight, var(--semi-button-font-weight, var(--semi-font-weight-strong, 600)));
|
|
311
311
|
}
|
|
312
312
|
.semi-button-size-large {
|
|
313
313
|
height: 40px;
|
|
@@ -315,9 +315,9 @@
|
|
|
315
315
|
padding-bottom: 10px;
|
|
316
316
|
padding-left: 16px;
|
|
317
317
|
padding-right: 16px;
|
|
318
|
-
font-size: 14px;
|
|
319
|
-
line-height: 20px;
|
|
320
|
-
font-weight: 600;
|
|
318
|
+
font-size: var(--semi-button-large-font-size, var(--semi-button-font-size, var(--semi-font-size-regular, 14px)));
|
|
319
|
+
line-height: var(--semi-button-large-line-height, var(--semi-button-line-height, var(--semi-line-height-regular, 20px)));
|
|
320
|
+
font-weight: var(--semi-button-large-font-weight, var(--semi-button-font-weight, var(--semi-font-weight-strong, 600)));
|
|
321
321
|
}
|
|
322
322
|
.semi-button-block {
|
|
323
323
|
width: 100%;
|
package/dist/calendar.css
CHANGED
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
.semi-calendar-day .semi-calendar-tag,
|
|
72
72
|
.semi-calendar-week .semi-calendar-tag {
|
|
73
|
-
font-size: 14px;
|
|
74
|
-
line-height: 20px;
|
|
75
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
73
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
74
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
75
|
+
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);
|
|
76
76
|
min-width: 70px;
|
|
77
77
|
color: var(--semi-color-text-2);
|
|
78
78
|
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
}
|
|
157
157
|
.semi-calendar-day .semi-calendar-all-day .semi-calendar-tag span,
|
|
158
158
|
.semi-calendar-week .semi-calendar-all-day .semi-calendar-tag span {
|
|
159
|
-
line-height: 26px;
|
|
159
|
+
line-height: var(--semi-calendar-all-day-tag-line-height, 26px);
|
|
160
160
|
}
|
|
161
161
|
.semi-calendar-day .semi-calendar-all-day-content,
|
|
162
162
|
.semi-calendar-week .semi-calendar-all-day-content {
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
}
|
|
187
187
|
.semi-calendar-day .semi-calendar-time-item span,
|
|
188
188
|
.semi-calendar-week .semi-calendar-time-item span {
|
|
189
|
-
font-size: 14px;
|
|
190
|
-
line-height: 20px;
|
|
191
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
189
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
190
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
191
|
+
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);
|
|
192
192
|
display: block;
|
|
193
193
|
position: relative;
|
|
194
194
|
top: -10px;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
.semi-calendar-month .semi-calendar-today .semi-calendar-today-date {
|
|
208
208
|
width: 24px;
|
|
209
209
|
height: 24px;
|
|
210
|
-
line-height: 24px;
|
|
210
|
+
line-height: var(--semi-calendar-today-date-line-height, 24px);
|
|
211
211
|
text-align: center;
|
|
212
212
|
border-radius: var(--semi-border-radius-circle);
|
|
213
213
|
background-color: var(--semi-color-primary);
|
|
@@ -237,9 +237,9 @@
|
|
|
237
237
|
.semi-calendar-week-header, .semi-calendar-week-grid-row {
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: flex-start;
|
|
240
|
-
font-size: 14px;
|
|
241
|
-
line-height: 20px;
|
|
242
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
240
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
241
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
242
|
+
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);
|
|
243
243
|
color: var(--semi-color-text-2);
|
|
244
244
|
}
|
|
245
245
|
.semi-calendar-week-header {
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
display: flex;
|
|
268
268
|
align-items: center;
|
|
269
269
|
justify-content: center;
|
|
270
|
-
line-height: 26px;
|
|
270
|
+
line-height: var(--semi-calendar-day-all-day-line-height, 26px);
|
|
271
271
|
}
|
|
272
272
|
.semi-calendar-week-grid-row li > span:last-child {
|
|
273
273
|
padding: 0 4px;
|
|
274
274
|
}
|
|
275
275
|
.semi-calendar-week .semi-calendar-all-day {
|
|
276
|
-
font-size: 26px;
|
|
276
|
+
font-size: var(--semi-calendar-day-all-day-font-size, 26px);
|
|
277
277
|
}
|
|
278
278
|
.semi-calendar-week .semi-calendar-all-day-content {
|
|
279
279
|
padding-left: 0;
|
|
@@ -299,13 +299,13 @@
|
|
|
299
299
|
position: absolute;
|
|
300
300
|
}
|
|
301
301
|
.semi-calendar-week .semi-calendar-all-day .semi-calendar-event-items .semi-calendar-event-allday > * {
|
|
302
|
-
font-size: 14px;
|
|
303
|
-
line-height: 20px;
|
|
304
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
302
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
303
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
304
|
+
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);
|
|
305
305
|
}
|
|
306
306
|
.semi-calendar-week .semi-calendar-week-tag {
|
|
307
307
|
text-align: right;
|
|
308
|
-
line-height: 26px;
|
|
308
|
+
line-height: var(--semi-calendar-day-all-day-line-height, 26px);
|
|
309
309
|
}
|
|
310
310
|
.semi-calendar-week .semi-calendar-week-tag:first-child {
|
|
311
311
|
padding-right: 8px;
|
|
@@ -316,9 +316,9 @@
|
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
height: 100%;
|
|
318
318
|
overflow: hidden;
|
|
319
|
-
font-size: 14px;
|
|
320
|
-
line-height: 20px;
|
|
321
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
319
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
320
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
321
|
+
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);
|
|
322
322
|
}
|
|
323
323
|
.semi-calendar-month-grid-wrapper {
|
|
324
324
|
height: calc(100% - 27px);
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
box-sizing: border-box;
|
|
338
338
|
}
|
|
339
339
|
.semi-calendar-month-grid li {
|
|
340
|
-
line-height: 26px;
|
|
340
|
+
line-height: var(--semi-calendar-day-all-day-line-height, 26px);
|
|
341
341
|
}
|
|
342
342
|
.semi-calendar-month-grid-row, .semi-calendar-month-skeleton {
|
|
343
343
|
display: flex;
|
|
@@ -370,9 +370,9 @@
|
|
|
370
370
|
padding-top: 4px;
|
|
371
371
|
}
|
|
372
372
|
.semi-calendar-month-skeleton li span {
|
|
373
|
-
font-size: 14px;
|
|
374
|
-
line-height: 20px;
|
|
375
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
373
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
374
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
375
|
+
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);
|
|
376
376
|
}
|
|
377
377
|
.semi-calendar-month-skeleton li:last-child {
|
|
378
378
|
border-right: none;
|
|
@@ -381,9 +381,9 @@
|
|
|
381
381
|
color: var(--semi-color-text-0);
|
|
382
382
|
}
|
|
383
383
|
.semi-calendar-month-skeleton .semi-calendar-month-event-card-wrapper {
|
|
384
|
-
font-size: 14px;
|
|
385
|
-
line-height: 20px;
|
|
386
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
384
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
385
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
386
|
+
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);
|
|
387
387
|
display: block;
|
|
388
388
|
position: absolute;
|
|
389
389
|
right: 8px;
|
|
@@ -413,14 +413,14 @@
|
|
|
413
413
|
}
|
|
414
414
|
.semi-calendar-month-weekrow .semi-calendar-event-items .semi-calendar-event-month {
|
|
415
415
|
position: absolute;
|
|
416
|
-
font-size: 24px;
|
|
416
|
+
font-size: var(--semi-calendar-month-day-font-size, 24px);
|
|
417
417
|
height: 1em;
|
|
418
418
|
overflow: hidden;
|
|
419
419
|
}
|
|
420
420
|
.semi-calendar-month-weekrow .semi-calendar-event-items .semi-calendar-event-month > * {
|
|
421
|
-
font-size: 14px;
|
|
422
|
-
line-height: 20px;
|
|
423
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
421
|
+
font-size: var(--semi-font-size-regular, 14px);
|
|
422
|
+
line-height: var(--semi-line-height-regular, 20px);
|
|
423
|
+
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);
|
|
424
424
|
}
|
|
425
425
|
.semi-calendar-month-date {
|
|
426
426
|
position: absolute;
|
|
@@ -458,9 +458,9 @@
|
|
|
458
458
|
color: var(--semi-color-text-2);
|
|
459
459
|
}
|
|
460
460
|
.semi-calendar-month-event-card-header-info-date {
|
|
461
|
-
font-size: 20px;
|
|
462
|
-
line-height: 28px;
|
|
463
|
-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
461
|
+
font-size: var(--semi-font-size-header-4, 20px);
|
|
462
|
+
line-height: var(--semi-line-height-header-4, 28px);
|
|
463
|
+
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);
|
|
464
464
|
margin-top: 4px;
|
|
465
465
|
}
|
|
466
466
|
.semi-calendar-month-event-card-body {
|
package/dist/card.css
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
border-radius: var(--semi-border-radius-medium);
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
background-color: var(--semi-color-bg-0);
|
|
11
|
-
font-size: 14px;
|
|
11
|
+
font-size: var(--semi-card-default-font-size, var(--semi-font-size-regular, 14px));
|
|
12
12
|
font-style: normal;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
line-height: 20px;
|
|
13
|
+
font-weight: var(--semi-card-default-font-weight, var(--semi-font-weight-regular, 400));
|
|
14
|
+
line-height: var(--semi-card-default-line-height, 20px);
|
|
15
15
|
letter-spacing: 0em;
|
|
16
16
|
}
|
|
17
17
|
.semi-card-shadows {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
}
|
|
50
50
|
.semi-card-header-wrapper-extra {
|
|
51
51
|
flex-shrink: 0;
|
|
52
|
-
font-size: 16px;
|
|
52
|
+
font-size: var(--semi-card-extra-font-size, var(--semi-font-size-header-6, 16px));
|
|
53
53
|
font-style: normal;
|
|
54
|
-
font-weight: 700;
|
|
54
|
+
font-weight: var(--semi-card-extra-font-weight, 700);
|
|
55
55
|
letter-spacing: 0em;
|
|
56
56
|
color: var(--semi-color-text-0);
|
|
57
57
|
}
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
}
|
|
62
62
|
.semi-card-body {
|
|
63
63
|
padding: 20px;
|
|
64
|
-
font-size: 14px;
|
|
64
|
+
font-size: var(--semi-card-default-font-size, var(--semi-font-size-regular, 14px));
|
|
65
65
|
font-style: normal;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
line-height: 20px;
|
|
66
|
+
font-weight: var(--semi-card-default-font-weight, var(--semi-font-weight-regular, 400));
|
|
67
|
+
line-height: var(--semi-card-default-line-height, 20px);
|
|
68
68
|
letter-spacing: 0em;
|
|
69
69
|
color: var(--semi-color-text-1);
|
|
70
70
|
}
|
|
@@ -88,18 +88,18 @@
|
|
|
88
88
|
margin-right: 12px;
|
|
89
89
|
}
|
|
90
90
|
.semi-card-meta-wrapper-title {
|
|
91
|
-
font-size: 16px;
|
|
91
|
+
font-size: var(--semi-card-title-font-size, var(--semi-font-size-header-6, 16px));
|
|
92
92
|
font-style: normal;
|
|
93
|
-
font-weight: 700;
|
|
94
|
-
line-height: 22px;
|
|
93
|
+
font-weight: var(--semi-card-title-font-weight, 700);
|
|
94
|
+
line-height: var(--semi-card-title-line-height, 22px);
|
|
95
95
|
letter-spacing: 0em;
|
|
96
96
|
color: var(--semi-color-text-0);
|
|
97
97
|
}
|
|
98
98
|
.semi-card-meta-wrapper-description {
|
|
99
|
-
font-size: 14px;
|
|
99
|
+
font-size: var(--semi-card-default-font-size, var(--semi-font-size-regular, 14px));
|
|
100
100
|
font-style: normal;
|
|
101
|
-
font-weight: 400;
|
|
102
|
-
line-height: 20px;
|
|
101
|
+
font-weight: var(--semi-card-default-font-weight, var(--semi-font-weight-regular, 400));
|
|
102
|
+
line-height: var(--semi-card-default-line-height, 20px);
|
|
103
103
|
letter-spacing: 0em;
|
|
104
104
|
color: var(--semi-color-text-2);
|
|
105
105
|
}
|