myshell-react-lib 0.2.20 → 0.2.21

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