myshell-react-lib 0.1.15 → 0.1.17

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.
@@ -0,0 +1,364 @@
1
+ @import './new-tokens.scss';
2
+
3
+ @layer base {
4
+ :root {
5
+ // Colors Background Normal
6
+ --Colors-Background-Normal-Primary-Default: var(--Neutral-99);
7
+ --Colors-Background-Normal-Primary-Hover: var(--Neutral-98);
8
+ --Colors-Background-Normal-Primary-Active: var(--Neutral-90);
9
+
10
+ // Colors Background Normal Secondary
11
+ --Colors-Background-Normal-Secondary-Default: var(--Neutral-98);
12
+ --Colors-Background-Normal-Secondary-Alt: var(--Neutral-100);
13
+ --Colors-Background-Normal-Secondary-Hover: var(--Neutral-95);
14
+ --Colors-Background-Normal-Secondary-Active: var(--Neutral-90);
15
+
16
+ // Colors Background Normal Tertiary
17
+ --Colors-Background-Normal-Tertiary-Default: var(--Neutral-100);
18
+ --Colors-Background-Normal-Tertiary-Hover: var(--Neutral-98);
19
+ --Colors-Background-Normal-Tertiary-Active: var(--Neutral-95);
20
+
21
+ // Colors Background Neutral Primary
22
+ --Colors-Background-Neutral-Primary-Default: var(--Neutral-98);
23
+ --Colors-Background-Neutral-Primary-Hover: var(--Neutral-95);
24
+ --Colors-Background-Neutral-Primary-Active: var(--Neutral-90);
25
+
26
+ // Colors Background Neutral Secondary
27
+ --Colors-Background-Neutral-Secondary-Default: var(--Neutral-99);
28
+ --Colors-Background-Neutral-Secondary-Hover: var(--Neutral-98);
29
+ --Colors-Background-Neutral-Secondary-Active: var(--Neutral-95);
30
+
31
+ // Colors Background Neutral Tertiary
32
+ --Colors-Background-Neutral-Tertiary-Default: var(--Neutral-98);
33
+ --Colors-Background-Neutral-Tertiary-Hover: var(--Neutral-95);
34
+ --Colors-Background-Neutral-Tertiary-Active: var(--Neutral-90);
35
+
36
+ // Colors Background Neutral On Surface
37
+ --Colors-Background-Neutral-On-Surface-Default: var(--Opacity-On-Surface-10);
38
+ --Colors-Background-Neutral-On-Surface-Hover: var(--Opacity-On-Surface-20);
39
+ --Colors-Background-Neutral-On-Surface-Active: var(--Opacity-On-Surface-30);
40
+ --Colors-Background-Neutral-On-Surface-Disabled: var(--Opacity-On-Surface-10);
41
+ --Colors-Background-Neutral-On-Surface-Alt: var(--Opacity-On-Surface-40);
42
+
43
+ // Colors Background Utilities
44
+ --Colors-Background-Utilities-Bolder: var(--Neutral-5);
45
+ --Colors-Background-Utilities-None: var(--Basic-None);
46
+ --Colors-Background-Utilities-Overlay: var(--Opacity-Black-70);
47
+ --Colors-Background-Utilities-Static-White: var(--Neutral-99);
48
+ --Colors-Background-Utilities-Static-Black: var(--Neutral-5);
49
+
50
+ // Colors Background Brand
51
+ --Colors-Background-Brand-Default: var(--Pure-Mauve-95);
52
+ --Colors-Background-Brand-Alt: var(--Pure-Mauve-95);
53
+ --Colors-Background-Brand-Subtle: var(--Pure-Mauve-98);
54
+ --Colors-Background-Brand-Hover: var(--Pure-Mauve-90);
55
+ --Colors-Background-Brand-Active: var(--Pure-Mauve-80);
56
+ --Colors-Background-Brand-Bolder: var(--Pure-Mauve-30);
57
+
58
+ // Colors Background Critical
59
+ --Colors-Background-Critical-Default: var(--Terracotta-95);
60
+ --Colors-Background-Critical-Alt: var(--Terracotta-95);
61
+ --Colors-Background-Critical-Subtle: var(--Terracotta-98);
62
+ --Colors-Background-Critical-Hover: var(--Terracotta-90);
63
+ --Colors-Background-Critical-Active: var(--Terracotta-80);
64
+ --Colors-Background-Critical-Bolder: var(--Terracotta-30);
65
+
66
+ // Colors Background Warning
67
+ --Colors-Background-Warning-Default: var(--Khaki-95);
68
+ --Colors-Background-Warning-Alt: var(--Khaki-95);
69
+ --Colors-Background-Warning-Subtle: var(--Khaki-98);
70
+ --Colors-Background-Warning-Hover: var(--Khaki-90);
71
+ --Colors-Background-Warning-Active: var(--Khaki-80);
72
+ --Colors-Background-Warning-Bolder: var(--Khaki-30);
73
+
74
+ // Colors Background Success
75
+ --Colors-Background-Success-Default: var(--Teal-98);
76
+ --Colors-Background-Success-Alt: var(--Teal-98);
77
+ --Colors-Background-Success-Subtle: var(--Teal-99);
78
+ --Colors-Background-Success-Hover: var(--Teal-90);
79
+ --Colors-Background-Success-Active: var(--Teal-80);
80
+ --Colors-Background-Success-Bolder: var(--Teal-30);
81
+
82
+ // Colors Background Info
83
+ --Colors-Background-Info-Default: var(--Lake-Blue-95);
84
+ --Colors-Background-Info-Alt: var(--Lake-Blue-95);
85
+ --Colors-Background-Info-Subtle: var(--Lake-Blue-98);
86
+ --Colors-Background-Info-Hover: var(--Lake-Blue-90);
87
+ --Colors-Background-Info-Active: var(--Lake-Blue-80);
88
+ --Colors-Background-Info-Bolder: var(--Lake-Blue-30);
89
+
90
+ // Colors Text
91
+ --Colors-Text-Default: var(--Neutral-5);
92
+ --Colors-Text-Subtle: var(--Neutral-30);
93
+ --Colors-Text-Subtler: var(--Neutral-40);
94
+ --Colors-Text-Subtlest: var(--Neutral-50);
95
+ --Colors-Text-Disabled: var(--Neutral-80);
96
+ --Colors-Text-Bolder: var(--Neutral-100); //对应旧版inverse
97
+
98
+ // Colors Text Static
99
+ --Colors-Text-Static-White: var(--Neutral-100);
100
+ --Colors-Text-Static-Black: var(--Neutral-5);
101
+
102
+ // Colors Text Brand
103
+ --Colors-Text-Brand-Subtle: var(--Pure-Mauve-70);
104
+ --Colors-Text-Brand-Default: var(--Pure-Mauve-50);
105
+ --Colors-Text-Brand-Bolder: var(--Pure-Mauve-30);
106
+
107
+ // Colors Text Critical
108
+ --Colors-Text-Critical-Subtle: var(--Terracotta-70);
109
+ --Colors-Text-Critical-Default: var(--Terracotta-50);
110
+ --Colors-Text-Critical-Bolder: var(--Terracotta-30);
111
+
112
+ // Colors Text Warning
113
+ --Colors-Text-Warning-Subtle: var(--Khaki-80);
114
+ --Colors-Text-Warning-Default: var(--Khaki-60);
115
+ --Colors-Text-Warning-Bolder: var(--Khaki-30);
116
+
117
+ // Colors Text Success
118
+ --Colors-Text-Success-Subtle: var(--Teal-70);
119
+ --Colors-Text-Success-Default: var(--Teal-50);
120
+ --Colors-Text-Success-Bolder: var(--Teal-30);
121
+
122
+
123
+ // Colort Foreground
124
+ --Colors-Foreground-Default: var(--Neutral-5);
125
+ --Colors-Foreground-Subtle: var(--Neutral-30);
126
+ --Colors-Foreground-Subtler: var(--Neutral-40);
127
+ --Colors-Foreground-Subtlest: var(--Neutral-50);
128
+ --Colors-Foreground-Disabled: var(--Neutral-80);
129
+ --Colors-Foreground-Bolder: var(--Neutral-100);
130
+
131
+ // Colors Foreground Static
132
+ --Colors-Foreground-Static-White: var(--Neutral-100);
133
+ --Colors-Foreground-Static-Black: var(--Neutral-5);
134
+
135
+ // Colors Foreground Brand
136
+ --Colors-Foreground-Brand-Subtle: var(--Pure-Mauve-70);
137
+ --Colors-Foreground-Brand-Default: var(--Pure-Mauve-50);
138
+ --Colors-Foreground-Brand-Bolder: var(--Pure-Mauve-30);
139
+
140
+ // Colors Foreground Critical
141
+ --Colors-Foreground-Critical-Subtle: var(--Terracotta-70);
142
+ --Colors-Foreground-Critical-Default: var(--Terracotta-50);
143
+ --Colors-Foreground-Critical-Bolder: var(--Terracotta-30);
144
+
145
+ // Colors Foreground Warning
146
+ --Colors-Foreground-Warning-Subtle: var(--Khaki-80);
147
+ --Colors-Foreground-Warning-Default: var(--Khaki-60);
148
+ --Colors-Foreground-Warning-Bolder: var(--Khaki-30);
149
+
150
+ // Colors Foreground Success
151
+ --Colors-Foreground-Success-Subtle: var(--Teal-70);
152
+ --Colors-Foreground-Success-Default: var(--Teal-50);
153
+ --Colors-Foreground-Success-Bolder: var(--Teal-30);
154
+
155
+
156
+ // Colors Border
157
+ --Colors-Border-Default: var(--Neutral-95);
158
+ --Colors-Border-Alt: var(--Neutral-95);
159
+ --Colors-Border-Hover: var(--Neutral-90);
160
+ --Colors-Border-Active: var(--Neutral-80);
161
+ --Colors-Border-Bolder: var(--Neutral-5);
162
+ --Colors-Border-Brand: var(--Pure-Mauve-50);
163
+ --Colors-Border-Brand_alt: var(--Pure-Mauve-80);
164
+ --Colors-Border-Critical: var(--Terracotta-50);
165
+ --Colors-Border-Success: var(--Teal-50);
166
+ --Colors-Border-Warning: var(--Khaki-50);
167
+ --Colors-Border-Opaque: var(--Opacity-White-1);
168
+ --Colors-Border-Static: var(--Neutral-95);
169
+
170
+ // Colors Alpha
171
+ --Colors-Alpha-White-1: var(--Opacity-White-1);
172
+ --Colors-Alpha-White-3: var(--Opacity-White-3);
173
+ --Colors-Alpha-White-5: var(--Opacity-White-5);
174
+ --Colors-Alpha-White-8: var(--Opacity-White-8);
175
+ --Colors-Alpha-White-12: var(--Opacity-White-12);
176
+ --Colors-Alpha-White-16: var(--Opacity-White-16);
177
+ --Colors-Alpha-White-20: var(--Opacity-White-20);
178
+ --Colors-Alpha-White-30: var(--Opacity-White-30);
179
+ --Colors-Alpha-White-40: var(--Opacity-White-40);
180
+ --Colors-Alpha-White-50: var(--Opacity-White-50);
181
+ --Colors-Alpha-White-60: var(--Opacity-White-60);
182
+ --Colors-Alpha-White-70: var(--Opacity-White-70);
183
+ --Colors-Alpha-White-80: var(--Opacity-White-80);
184
+ --Colors-Alpha-White-90: var(--Opacity-White-90);
185
+ --Colors-Alpha-White-95: var(--Opacity-White-95);
186
+ --Colors-Alpha-White-100: var(--Opacity-White-100);
187
+ --Colors-Alpha-Black-1: var(--Opacity-Black-1);
188
+ --Colors-Alpha-Black-3: var(--Opacity-Black-3);
189
+ --Colors-Alpha-Black-5: var(--Opacity-Black-5);
190
+ --Colors-Alpha-Black-8: var(--Opacity-Black-8);
191
+ --Colors-Alpha-Black-12: var(--Opacity-Black-12);
192
+ --Colors-Alpha-Black-16: var(--Opacity-Black-16);
193
+ --Colors-Alpha-Black-20: var(--Opacity-Black-20);
194
+ --Colors-Alpha-Black-30: var(--Opacity-Black-30);
195
+ --Colors-Alpha-Black-40: var(--Opacity-Black-40);
196
+ --Colors-Alpha-Black-50: var(--Opacity-Black-50);
197
+ --Colors-Alpha-Black-60: var(--Opacity-Black-60);
198
+ --Colors-Alpha-Black-70: var(--Opacity-Black-70);
199
+ --Colors-Alpha-Black-80: var(--Opacity-Black-80);
200
+ --Colors-Alpha-Black-90: var(--Opacity-Black-90);
201
+ --Colors-Alpha-Black-95: var(--Opacity-Black-95);
202
+ --Colors-Alpha-Black-100: var(--Opacity-Black-100);
203
+
204
+ // Colors beta
205
+ --Colors-Beta-White-1: var(--Opacity-White-1);
206
+ --Colors-Beta-White-3: var(--Opacity-White-3);
207
+ --Colors-Beta-White-5: var(--Opacity-White-5);
208
+ --Colors-Beta-White-8: var(--Opacity-White-8);
209
+ --Colors-Beta-White-12: var(--Opacity-White-12);
210
+ --Colors-Beta-White-16: var(--Opacity-White-16);
211
+ --Colors-Beta-White-20: var(--Opacity-White-20);
212
+ --Colors-Beta-White-30: var(--Opacity-White-30);
213
+ --Colors-Beta-White-40: var(--Opacity-White-40);
214
+ --Colors-Beta-White-50: var(--Opacity-White-50);
215
+ --Colors-Beta-White-60: var(--Opacity-White-60);
216
+ --Colors-Beta-White-70: var(--Opacity-White-70);
217
+ --Colors-Beta-White-80: var(--Opacity-White-80);
218
+ --Colors-Beta-White-90: var(--Opacity-White-90);
219
+ --Colors-Beta-White-95: var(--Opacity-White-95);
220
+ --Colors-Beta-White-100: var(--Opacity-White-100);
221
+ --Colors-Beta-Black-1: var(--Opacity-Black-1);
222
+ --Colors-Beta-Black-3: var(--Opacity-Black-3);
223
+ --Colors-Beta-Black-5: var(--Opacity-Black-5);
224
+ --Colors-Beta-Black-8: var(--Opacity-Black-8);
225
+ --Colors-Beta-Black-12: var(--Opacity-Black-12);
226
+ --Colors-Beta-Black-16: var(--Opacity-Black-16);
227
+ --Colors-Beta-Black-20: var(--Opacity-Black-20);
228
+ --Colors-Beta-Black-30: var(--Opacity-Black-30);
229
+ --Colors-Beta-Black-40: var(--Opacity-Black-40);
230
+ --Colors-Beta-Black-50: var(--Opacity-Black-50);
231
+ --Colors-Beta-Black-60: var(--Opacity-Black-60);
232
+ --Colors-Beta-Black-70: var(--Opacity-Black-70);
233
+ --Colors-Beta-Black-80: var(--Opacity-Black-80);
234
+ --Colors-Beta-Black-90: var(--Opacity-Black-90);
235
+ --Colors-Beta-Black-95: var(--Opacity-Black-95);
236
+ --Colors-Beta-Black-100: var(--Opacity-Black-100);
237
+
238
+ // Colors Utility Gray
239
+ --Colors-Utility-Gray-5: var(--Neutral-Variant-98);
240
+ --Colors-Utility-Gray-10: var(--Neutral-Variant-95);
241
+ --Colors-Utility-Gray-20: var(--Neutral-Variant-90);
242
+ --Colors-Utility-Gray-30: var(--Neutral-Variant-80);
243
+ --Colors-Utility-Gray-40: var(--Neutral-Variant-70);
244
+ --Colors-Utility-Gray-50: var(--Neutral-Variant-60);
245
+ --Colors-Utility-Gray-60: var(--Neutral-Variant-50);
246
+ --Colors-Utility-Gray-70: var(--Neutral-Variant-40);
247
+ --Colors-Utility-Gray-80: var(--Neutral-Variant-30);
248
+
249
+ // Colors Utility Olive
250
+ --Colors-Utility-Olive-5: var(--Olive-98);
251
+ --Colors-Utility-Olive-10: var(--Olive-95);
252
+ --Colors-Utility-Olive-20: var(--Olive-90);
253
+ --Colors-Utility-Olive-30: var(--Olive-80);
254
+ --Colors-Utility-Olive-40: var(--Olive-70);
255
+ --Colors-Utility-Olive-50: var(--Olive-60);
256
+ --Colors-Utility-Olive-60: var(--Olive-50);
257
+ --Colors-Utility-Olive-70: var(--Olive-40);
258
+ --Colors-Utility-Olive-80: var(--Olive-30);
259
+
260
+ // Colors Utility Teal
261
+ --Colors-Utility-Teal-5: var(--Teal-98);
262
+ --Colors-Utility-Teal-10: var(--Teal-95);
263
+ --Colors-Utility-Teal-20: var(--Teal-90);
264
+ --Colors-Utility-Teal-30: var(--Teal-80);
265
+ --Colors-Utility-Teal-40: var(--Teal-70);
266
+ --Colors-Utility-Teal-50: var(--Teal-60);
267
+ --Colors-Utility-Teal-60: var(--Teal-50);
268
+ --Colors-Utility-Teal-70: var(--Teal-40);
269
+ --Colors-Utility-Teal-80: var(--Teal-30);
270
+
271
+ // Colors Utility Terracotta
272
+ --Colors-Utility-Lake-Blue-5: var(--Lake-Blue-98);
273
+ --Colors-Utility-Lake-Blue-10: var(--Lake-Blue-95);
274
+ --Colors-Utility-Lake-Blue-20: var(--Lake-Blue-90);
275
+ --Colors-Utility-Lake-Blue-30: var(--Lake-Blue-80);
276
+ --Colors-Utility-Lake-Blue-40: var(--Lake-Blue-70);
277
+ --Colors-Utility-Lake-Blue-50: var(--Lake-Blue-60);
278
+ --Colors-Utility-Lake-Blue-60: var(--Lake-Blue-50);
279
+ --Colors-Utility-Lake-Blue-70: var(--Lake-Blue-40);
280
+ --Colors-Utility-Lake-Blue-80: var(--Lake-Blue-30);
281
+
282
+ // Colors Utility Cobalt
283
+ --Colors-Utility-Cobalt-5: var(--Cobalt-98);
284
+ --Colors-Utility-Cobalt-10: var(--Cobalt-95);
285
+ --Colors-Utility-Cobalt-20: var(--Cobalt-90);
286
+ --Colors-Utility-Cobalt-30: var(--Cobalt-80);
287
+ --Colors-Utility-Cobalt-40: var(--Cobalt-70);
288
+ --Colors-Utility-Cobalt-50: var(--Cobalt-60);
289
+ --Colors-Utility-Cobalt-60: var(--Cobalt-50);
290
+ --Colors-Utility-Cobalt-70: var(--Cobalt-40);
291
+ --Colors-Utility-Cobalt-80: var(--Cobalt-30);
292
+
293
+ // Colors Utility Berry Pink
294
+ --Colors-Utility-Berry-Pink-5: var(--Berry-Pink-98);
295
+ --Colors-Utility-Berry-Pink-10: var(--Berry-Pink-95);
296
+ --Colors-Utility-Berry-Pink-20: var(--Berry-Pink-90);
297
+ --Colors-Utility-Berry-Pink-30: var(--Berry-Pink-80);
298
+ --Colors-Utility-Berry-Pink-40: var(--Berry-Pink-70);
299
+ --Colors-Utility-Berry-Pink-50: var(--Berry-Pink-60);
300
+ --Colors-Utility-Berry-Pink-60: var(--Berry-Pink-50);
301
+ --Colors-Utility-Berry-Pink-70: var(--Berry-Pink-40);
302
+ --Colors-Utility-Berry-Pink-80: var(--Berry-Pink-30);
303
+
304
+ // Colors Utility Terracotta
305
+ --Colors-Utility-Terracotta-5: var(--Terracotta-98);
306
+ --Colors-Utility-Terracotta-10: var(--Terracotta-95);
307
+ --Colors-Utility-Terracotta-20: var(--Terracotta-90);
308
+ --Colors-Utility-Terracotta-30: var(--Terracotta-80);
309
+ --Colors-Utility-Terracotta-40: var(--Terracotta-70);
310
+ --Colors-Utility-Terracotta-50: var(--Terracotta-60);
311
+ --Colors-Utility-Terracotta-60: var(--Terracotta-50);
312
+ --Colors-Utility-Terracotta-70: var(--Terracotta-40);
313
+ --Colors-Utility-Terracotta-80: var(--Terracotta-30);
314
+
315
+ // Colors Utility Ember
316
+ --Colors-Utility-Ember-5: var(--Ember-98);
317
+ --Colors-Utility-Ember-10: var(--Ember-95);
318
+ --Colors-Utility-Ember-20: var(--Ember-90);
319
+ --Colors-Utility-Ember-30: var(--Ember-80);
320
+ --Colors-Utility-Ember-40: var(--Ember-70);
321
+ --Colors-Utility-Ember-50: var(--Ember-60);
322
+ --Colors-Utility-Ember-60: var(--Ember-50);
323
+ --Colors-Utility-Ember-70: var(--Ember-40);
324
+ --Colors-Utility-Ember-80: var(--Ember-30);
325
+
326
+ // Colors Utility Khaki
327
+ --Colors-Utility-Khaki-5: var(--Khaki-98);
328
+ --Colors-Utility-Khaki-10: var(--Khaki-95);
329
+ --Colors-Utility-Khaki-20: var(--Khaki-90);
330
+ --Colors-Utility-Khaki-30: var(--Khaki-80);
331
+ --Colors-Utility-Khaki-40: var(--Khaki-70);
332
+ --Colors-Utility-Khaki-50: var(--Khaki-60);
333
+ --Colors-Utility-Khaki-60: var(--Khaki-50);
334
+ --Colors-Utility-Khaki-70: var(--Khaki-40);
335
+ --Colors-Utility-Khaki-80: var(--Khaki-30);
336
+
337
+ // Colors Utility Purple
338
+ --Colors-Utility-Purple-5: var(--Pure-Mauve-99);
339
+ --Colors-Utility-Purple-10: var(--Pure-Mauve-98);
340
+ --Colors-Utility-Purple-20: var(--Pure-Mauve-95);
341
+ --Colors-Utility-Purple-30: var(--Pure-Mauve-90);
342
+ --Colors-Utility-Purple-40: var(--Pure-Mauve-80);
343
+ --Colors-Utility-Purple-50: var(--Pure-Mauve-70);
344
+ --Colors-Utility-Purple-60: var(--Pure-Mauve-60);
345
+ --Colors-Utility-Purple-70: var(--Pure-Mauve-50);
346
+ --Colors-Utility-Purple-80: var(--Pure-Mauve-40);
347
+
348
+ // Colors Utility Plum Purple
349
+ --Colors-Utility-Plum-Purple-5: var(--Plum-Purple-98);
350
+ --Colors-Utility-Plum-Purple-10: var(--Plum-Purple-95);
351
+ --Colors-Utility-Plum-Purple-20: var(--Plum-Purple-90);
352
+ --Colors-Utility-Plum-Purple-30: var(--Plum-Purple-80);
353
+ --Colors-Utility-Plum-Purple-40: var(--Plum-Purple-70);
354
+ --Colors-Utility-Plum-Purple-50: var(--Plum-Purple-60);
355
+ --Colors-Utility-Plum-Purple-60: var(--Plum-Purple-50);
356
+ --Colors-Utility-Plum-Purple-70: var(--Plum-Purple-40);
357
+ --Colors-Utility-Plum-Purple-80: var(--Plum-Purple-30);
358
+
359
+ --Colors-FaceTime-White: var(--Opacity-White-20);
360
+ --Colors-FaceTime-Black: var(--Opacity-Black-20);
361
+
362
+ }
363
+ }
364
+
@@ -0,0 +1,19 @@
1
+ * {
2
+ /* @apply font-mona-sans; */
3
+ /* 指定字体的字重为 400, 这会同时作用于 Mona Sans 及可能的 fallback 字体 */
4
+ font-weight: 400;
5
+ }
6
+
7
+ /* h1,
8
+ h2,
9
+ h3,
10
+ h4,
11
+ h5,
12
+ h6 {
13
+ @apply font-ppt;
14
+ } */
15
+
16
+ .monaco-editor * {
17
+ @apply font-roboto-mono;
18
+ font-weight: 500;
19
+ }
@@ -0,0 +1,247 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @import './new-tokens.scss';
6
+ @import './design2-light.scss';
7
+ @import './design2-dark.scss';
8
+ @import './components-light.scss';
9
+ @import './components-dark.scss';
10
+
11
+ @layer components {
12
+ .button-hover-underline::after {
13
+ @apply absolute inset-x-0 bottom-0 border-b border-current pointer-events-none;
14
+ }
15
+ }
16
+ body {
17
+ overflow: hidden;
18
+ background-color: var(--Colors-Background-Normal-Primary-Default, #f5f7fa);
19
+ color: var(--Colors-Text-Default);
20
+ font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
21
+ }
22
+ .driver-popover * {
23
+ font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
24
+ }
25
+ body.driver-active .driver-none {
26
+ pointer-events: none;
27
+ user-select: none;
28
+ overflow: hidden;
29
+ }
30
+
31
+ body.driver-active .driver-none * {
32
+ pointer-events: none;
33
+ user-select: none;
34
+ overflow: hidden;
35
+ }
36
+ @media (min-width: 768px) {
37
+ /* 在宽度大于 768px 且小于等于 1024px 的屏幕上应用以下样式 */
38
+ * {
39
+ // overflow-y: overlay;
40
+ &::-webkit-scrollbar {
41
+ width: 5px;
42
+ height: 5px;
43
+ }
44
+ &::-webkit-scrollbar-track {
45
+ background-color: transparent;
46
+ border-radius: 6px;
47
+ }
48
+ &::-webkit-scrollbar-thumb {
49
+ background-color: var(--Colors-Border-Hover);
50
+ border-radius: 6px;
51
+ }
52
+ }
53
+ }
54
+
55
+ // .cropper-container {
56
+ // visibility: hidden !important;
57
+ // }
58
+ .bot-avatar-upload,
59
+ .user-avatar-upload {
60
+ .cropper-container {
61
+ visibility: hidden !important;
62
+ }
63
+ .cropper-hidden {
64
+ display: block !important;
65
+ }
66
+ }
67
+ .chakra-checkbox__control {
68
+ border-radius: 50%;
69
+ }
70
+ .square-checkbox .chakra-checkbox__control {
71
+ border-radius: 2px;
72
+ }
73
+
74
+ .chakra-checkbox__control[data-checked] {
75
+ background: #3e5cfa;
76
+ border-color: #3e5cfa;
77
+ }
78
+ .chakra-checkbox__control[data-focus-visible] {
79
+ box-shadow: none;
80
+ }
81
+
82
+ .chakra-table tr td {
83
+ height: 56px;
84
+ padding: 0 20px;
85
+ }
86
+
87
+ .chakra-table tr:nth-of-type(odd) td {
88
+ background-color: #fafbfb;
89
+ }
90
+ .py-safe {
91
+ background-color: #fafbfb;
92
+ padding-top: env(safe-area-inset-top);
93
+ padding-bottom: env(safe-area-inset-bottom);
94
+ }
95
+
96
+ .no-scrollbar::-webkit-scrollbar {
97
+ display: none;
98
+ }
99
+
100
+ /* Hide scrollbar for IE, Edge and Firefox */
101
+ .no-scrollbar {
102
+ -ms-overflow-style: none;
103
+ /* IE and Edge */
104
+ scrollbar-width: none;
105
+ /* Firefox */
106
+ }
107
+ .arrow {
108
+ --popper-arrow-default-shadow: 1px 1px 1px 0 var(--Component-Colors-Shadows-Modal-Bolder) !important;
109
+ }
110
+ .dark .arrow {
111
+ --popper-arrow-default-shadow: 1px 1px 1px 0 var(--Colors-Border-Opaque) !important;
112
+ }
113
+ .arrow-left {
114
+ --popper-arrow-default-shadow: -1px 1px 1px 0 var(--Component-Colors-Shadows-Modal-Bolder) !important;
115
+ }
116
+ .dark .arrow-left {
117
+ --popper-arrow-default-shadow: -1px 1px 1px 0 var(--Colors-Border-Opaque) !important;
118
+ }
119
+ li,
120
+ a,
121
+ button {
122
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
123
+ }
124
+ .tap-higtlight {
125
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
126
+ }
127
+
128
+ .chat-mask > div {
129
+ -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
130
+ mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
131
+ }
132
+ .driver-popover {
133
+ background-color: var(--Colors-Utility-Lake-Blue-50) !important;
134
+ color: var(--Colors-Text-Static-White) !important;
135
+ }
136
+
137
+ .driver-popover .driver-popover-title {
138
+ font-size: 16px;
139
+ font-weight: 500;
140
+ color: var(--Colors-Beta-White-100);
141
+ }
142
+ .driver-popover .driver-popover-description {
143
+ font-size: 14px;
144
+ color: var(--Colors-Beta-White-80);
145
+ }
146
+ .driver-popover .driver-popover-progress-text {
147
+ font-size: 14px;
148
+ color: var(--Colors-Beta-White-60);
149
+ opacity: 0.6;
150
+ font-weight: 500;
151
+ }
152
+ .driver-popover-footer .driver-popover-navigation-btns {
153
+ flex-wrap: wrap;
154
+ gap: 6px;
155
+ }
156
+ .driver-popover-footer .driver-popover-skip-btn,
157
+ .driver-popover-footer .driver-popover-skip-btn:hover,
158
+ .driver-popover-footer .driver-popover-skip-btn:focus {
159
+ border: none;
160
+ background: transparent !important;
161
+ font-size: 14px;
162
+ color: var(--Colors-Beta-White-80);
163
+ opacity: 0.6;
164
+ font-weight: 500;
165
+ border-radius: 6px;
166
+ padding: 4px 12px;
167
+ text-shadow: none;
168
+ }
169
+ .driver-popover-footer .driver-popover-prev-btn,
170
+ .driver-popover-footer .driver-popover-prev-btn:hover,
171
+ .driver-popover-footer .driver-popover-prev-btn:focus,
172
+ .driver-popover-footer .driver-popover-next-btn,
173
+ .driver-popover-footer .driver-popover-next-btn:hover,
174
+ .driver-popover-footer .driver-popover-next-btn:focus {
175
+ background: var(--Colors-Foreground-Static-White) !important;
176
+ color: var(--Colors-Text-Static-Black) !important;
177
+ font-size: 14px;
178
+ padding: 4px 16px;
179
+ border-radius: 6px;
180
+ height: 28px;
181
+ text-shadow: none;
182
+ }
183
+
184
+ .driver-popover .driver-popover-arrow-side-left {
185
+ border-left-color: var(--Colors-Utility-Lake-Blue-50);
186
+ }
187
+
188
+ .driver-popover .driver-popover-arrow-side-right {
189
+ border-right-color: var(--Colors-Utility-Lake-Blue-50);
190
+ }
191
+
192
+ .driver-popover .driver-popover-arrow-side-top {
193
+ border-top-color: var(--Colors-Utility-Lake-Blue-50);
194
+ }
195
+
196
+ .driver-popover .driver-popover-arrow-side-bottom {
197
+ border-bottom-color: var(--Colors-Utility-Lake-Blue-50);
198
+ }
199
+ .workshop-topbar-guide .driver-popover-arrow-side-bottom.driver-popover-arrow-align-end {
200
+ left: 15px;
201
+ right: auto;
202
+ }
203
+ .explore-bot-item .chakra-popover__arrow-positioner {
204
+ display: none;
205
+ }
206
+ .chakra-switch__thumb {
207
+ background-color: var(--Colors-Background-Normal-Primary-Default) !important;
208
+ }
209
+
210
+ .chakra-switch__track {
211
+ background-color: var(--Colors-Border-Default) !important;
212
+ }
213
+ .chakra-switch__track[data-checked] {
214
+ background-color: var(--Colors-Background-Brand-Default) !important;
215
+ }
216
+ input[type='number']::-webkit-inner-spin-button,
217
+ input[type='number']::-webkit-outer-spin-button {
218
+ -webkit-appearance: none;
219
+ margin: 0;
220
+ }
221
+ .md-viewer code {
222
+ background-color: white !important;
223
+ font-size: 14px !important;
224
+ color: var(--Neutral-30);
225
+ }
226
+ .page-view .md-viewer pre {
227
+ padding: 12px;
228
+ background-color: #f6f8fa !important;
229
+ color: var(--Colors-Text-Default);
230
+ code {
231
+ background-color: #f6f8fa !important;
232
+ color: var(--Colors-Text-Default);
233
+ }
234
+ }
235
+ .sbdocs-wrapper {
236
+ overflow-y: auto;
237
+ height: 100vh;
238
+ }
239
+ .sbdocs-content {
240
+ max-width: 70vw !important;
241
+ }
242
+ .disable-touch-action img {
243
+ -webkit-touch-callout: none;
244
+ -webkit-user-select: none;
245
+ user-select: none;
246
+ // touch-action: none;
247
+ }