myshell-react-lib 0.2.18 → 0.2.20

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.
@@ -1,155 +0,0 @@
1
- .md-viewer {
2
- padding: 0;
3
-
4
- h1,
5
- h2,
6
- h3,
7
- h4,
8
- h5,
9
- h6 {
10
- font-weight: bold;
11
- }
12
-
13
- ul,
14
- ol {
15
- margin-block-start: 1em;
16
- margin-block-end: 1em;
17
- margin-inline-start: 0;
18
- padding-inline-start: 2em;
19
- }
20
-
21
- ul {
22
- list-style-type: disc;
23
- }
24
-
25
- ol {
26
- list-style-type: decimal;
27
- }
28
-
29
- a:-webkit-any-link {
30
- color: -webkit-link;
31
- cursor: pointer;
32
- text-decoration: underline;
33
- }
34
-
35
- blockquote {
36
- display: block;
37
- margin-block-start: 8px;
38
- margin-block-end: 8px;
39
- font-style: normal;
40
- border-inline-start-width: 2px;
41
- padding-inline-start: 8px;
42
- font-size: 14px;
43
- line-height: 20px;
44
- color: var(--Colors-Text-Subtle);
45
-
46
- > p {
47
- margin-top: 8px !important;
48
- margin-bottom: 8px !important;
49
- &::before {
50
- content: '';
51
- }
52
-
53
- &::after {
54
- content: '';
55
- }
56
- }
57
- }
58
-
59
- .marked-code-header {
60
- display: flex;
61
- justify-content: space-between;
62
- padding: 6px 12px;
63
- // border-radius: 12px 12px 0 0;
64
- }
65
-
66
- img {
67
- /* 设置默认图片的样式 */
68
- min-height: 30px;
69
- margin-top: 12px;
70
- margin-bottom: 12px;
71
- border-radius: 12px;
72
- cursor: pointer;
73
- }
74
-
75
- code {
76
- border-radius: 0 0 4px 4px;
77
- }
78
-
79
- .marked-table-container {
80
- width: 100%;
81
- overflow-x: auto;
82
- }
83
-
84
- pre {
85
- background-color: white !important;
86
- }
87
-
88
- .katex-display {
89
- overflow-x: scroll;
90
- overflow-y: hidden;
91
- -ms-overflow-style: none;
92
- /* IE and Edge */
93
- scrollbar-width: none;
94
- /* Firefox */
95
- }
96
-
97
- .mermaid {
98
- p {
99
- margin: 0 !important;
100
- }
101
- }
102
-
103
- //// 临时设置为 500,因 400 的字体包中似乎不包含斜体字体
104
- //em {
105
- // font-weight: 500;
106
- //}
107
- // .katex-html {
108
- // display: block;
109
- // text-align: center;
110
- // margin-top: 16px;
111
- // }
112
- }
113
-
114
- .dark {
115
- .md-viewer {
116
- pre {
117
- background-color: #282c34 !important;
118
- }
119
- }
120
- }
121
-
122
- .prose :where(blockquote):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
123
- font-weight: normal;
124
- }
125
-
126
- .prose :where(p):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
127
- margin-top: 0.5em !important;
128
- margin-bottom: 0.5em !important;
129
- }
130
-
131
- .prose :where(.prose > :last-child):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
132
- margin-bottom: 0 !important;
133
- }
134
-
135
- .prose :where(.prose > :first-child):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
136
- margin-top: 0 !important;
137
- }
138
-
139
- .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{
140
- content: none;
141
- }
142
-
143
- .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{
144
- content: none;
145
- }
146
-
147
- .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
148
- margin-top: 0.5em !important;
149
- margin-bottom: 0.5em !important;
150
- }
151
-
152
- .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
153
- margin-top: 0.5em !important;
154
- margin-bottom: 0.5em !important;
155
- }
@@ -1,264 +0,0 @@
1
- @layer base {
2
- :root {
3
- // Basic
4
- --Basic-White: #ffffff;
5
- --Basic-Black: #000000;
6
- --Basic-None: #ffffff00;
7
-
8
- // Pure_Mauve
9
- --Pure-Mauve-0: #000000;
10
- --Pure-Mauve-5: #100f22;
11
- --Pure-Mauve-10: #1b192d;
12
- --Pure-Mauve-20: #352b4a;
13
- --Pure-Mauve-30: #53436f;
14
- --Pure-Mauve-40: #655186;
15
- --Pure-Mauve-50: #7860a1;
16
- --Pure-Mauve-60: #826aaf;
17
- --Pure-Mauve-70: #9d8dc5;
18
- --Pure-Mauve-80: #b8aed7;
19
- --Pure-Mauve-90: #cbc6e6;
20
- --Pure-Mauve-95: #dad6f1;
21
- --Pure-Mauve-98: #e8e6f7;
22
- --Pure-Mauve-99: #f9f7fc;
23
- --Pure-Mauve-100: #ffffff;
24
-
25
- // Neutral
26
- --Neutral-0: #000000;
27
- --Neutral-5: #121110;
28
- --Neutral-10: #242220;
29
- --Neutral-20: #302e2b;
30
- --Neutral-30: #47443f;
31
- --Neutral-40: #5c5854;
32
- --Neutral-50: #7a7671;
33
- --Neutral-60: #948f8b;
34
- --Neutral-70: #B2AFAB;
35
- --Neutral-80: #C7C4C1;
36
- --Neutral-90: #E3E1DE;
37
- --Neutral-95: #EBE9E8;
38
- --Neutral-98: #f5f4f2;
39
- --Neutral-99: #fcfbfa;
40
- --Neutral-100: #fffefd;
41
-
42
- // Neutral Variant
43
- --Neutral-Variant-0: #000000;
44
- --Neutral-Variant-5: #111111;
45
- --Neutral-Variant-10: #1c1c1c;
46
- --Neutral-Variant-20: #212121;
47
- --Neutral-Variant-25: #292929;
48
- --Neutral-Variant-30: #303030;
49
- --Neutral-Variant-40: #474747;
50
- --Neutral-Variant-50: #5C5C5C;
51
- --Neutral-Variant-60: #939393;
52
- --Neutral-Variant-70: #a8a8a8;
53
- --Neutral-Variant-80: #bfbfbf;
54
- --Neutral-Variant-90: #dedede;
55
- --Neutral-Variant-95: #e6e6e6;
56
- --Neutral-Variant-98: #f2f2f2;
57
- --Neutral-Variant-99: #fafafa;
58
- --Neutral-Variant-100: #ffffff;
59
-
60
- // Terracotta
61
- --Terracotta-0: #000000;
62
- --Terracotta-5: #2b0100;
63
- --Terracotta-10: #3f0300;
64
- --Terracotta-20: #530904;
65
- --Terracotta-30: #881f0f;
66
- --Terracotta-40: #a93724;
67
- --Terracotta-50: #ca4f3a;
68
- --Terracotta-60: #EC5F47;
69
- --Terracotta-70: #ff8a75;
70
- --Terracotta-80: #ffb4a6;
71
- --Terracotta-90: #ffdad4;
72
- --Terracotta-95: #ffede9;
73
- --Terracotta-98: #fff8f6;
74
- --Terracotta-99: #fffcfb;
75
- --Terracotta-100: #ffffff;
76
-
77
- //新增Terracotta / Variant
78
-
79
- --Terracotta-Variant-10:#260D0C;
80
- --Terracotta-Variant-20:#461A18;
81
- --Terracotta-Variant-30:#652A22;
82
- --Terracotta-Variant-40:#81362A;
83
-
84
-
85
- // Ember
86
- --Ember-0: #000000;
87
- --Ember-5: #230900;
88
- --Ember-10: #341100;
89
- --Ember-20: #552000;
90
- --Ember-30: #793100;
91
- --Ember-40: #9f4200;
92
- --Ember-50: #c55505;
93
- --Ember-60: #e76d24;
94
- --Ember-70: #ff8d4e;
95
- --Ember-80: #ffb692;
96
- --Ember-90: #ffdbcb;
97
- --Ember-95: #ffede6;
98
- --Ember-98: #fff4f0;
99
- --Ember-99: #fffcfb;
100
- --Ember-100: #ffffff;
101
-
102
- // Khaki
103
- --Khaki-0: #000000;
104
- --Khaki-5: #171000;
105
- --Khaki-10: #241a00;
106
- --Khaki-20: #3d2e00;
107
- --Khaki-30: #584400;
108
- --Khaki-40: #755b00;
109
- --Khaki-50: #917312;
110
- --Khaki-60: #ad8d2d;
111
- --Khaki-70: #E0BA4D;
112
- --Khaki-80: #F0CF78;
113
- --Khaki-90: #fae3aa;
114
- --Khaki-95: #fff2d9;
115
- --Khaki-98: #fff8eb;
116
- --Khaki-99: #fffefb;
117
- --Khaki-100: #ffffff;
118
-
119
- // Olive
120
- --Olive-0: #000000;
121
- --Olive-5: #0b1400;
122
- --Olive-10: #131f00;
123
- --Olive-20: #243600;
124
- --Olive-30: #374e0b;
125
- --Olive-40: #4e6622;
126
- --Olive-50: #667f39;
127
- --Olive-60: #7f9a50;
128
- --Olive-70: #99b567;
129
- --Olive-80: #b4d180;
130
- --Olive-90: #d0ed99;
131
- --Olive-95: #def2b8;
132
- --Olive-98: #f1ffd2;
133
- --Olive-99: #f9ffe6;
134
- --Olive-100: #ffffff;
135
-
136
- // Teal
137
- --Teal-0: #000000;
138
- --Teal-5: #00150f;
139
- --Teal-10: #002018;
140
- --Teal-20: #00382c;
141
- --Teal-30: #005140;
142
- --Teal-40: #006b56;
143
- --Teal-50: #00876d;
144
- --Teal-60: #21B38F;
145
- --Teal-70: #51bda0;
146
- --Teal-80: #6fd9bb;
147
- --Teal-90: #98f4d7;
148
- --Teal-95: #C4F5E4;
149
- --Teal-98: #E4FCF2;
150
- --Teal-99: #f3fff9;
151
- --Teal-100: #ffffff;
152
-
153
- // Cobalt
154
- --Cobalt-0: #000000;
155
- --Cobalt-5: #000449;
156
- --Cobalt-10: #000767;
157
- --Cobalt-20: #182282;
158
- --Cobalt-30: #323c99;
159
- --Cobalt-40: #323c99;
160
- --Cobalt-50: #646ece;
161
- --Cobalt-60: #7e88ea;
162
- --Cobalt-70: #9ba4ff;
163
- --Cobalt-80: #bdc2ff;
164
- --Cobalt-90: #dfe0ff;
165
- --Cobalt-95: #f1efff;
166
- --Cobalt-98: #fbf8ff;
167
- --Cobalt-99: #fffbff;
168
- --Cobalt-100: #ffffff;
169
-
170
- // Berry_Pink
171
- --Berry-Pink-0: #000000;
172
- --Berry-Pink-5: #2b0010;
173
- --Berry-Pink-10: #3f001a;
174
- --Berry-Pink-20: #610c2e;
175
- --Berry-Pink-30: #7e2544;
176
- --Berry-Pink-40: #9d3d5c;
177
- --Berry-Pink-50: #bb5574;
178
- --Berry-Pink-60: #db6e8e;
179
- --Berry-Pink-70: #fa88a8;
180
- --Berry-Pink-80: #ffb1c4;
181
- --Berry-Pink-90: #ffd9e0;
182
- --Berry-Pink-95: #ffecef;
183
- --Berry-Pink-98: #fff8f8;
184
- --Berry-Pink-99: #fffbff;
185
- --Berry-Pink-100: #ffffff;
186
-
187
- // Lake_Blue
188
- --Lake-Blue-0: #000000;
189
- --Lake-Blue-5: #001224;
190
- --Lake-Blue-10: #001d35;
191
- --Lake-Blue-20: #003256;
192
- --Lake-Blue-30: #00497a;
193
- --Lake-Blue-40: #266296;
194
- --Lake-Blue-50: #447bb0;
195
- --Lake-Blue-60: #5f95cc;
196
- --Lake-Blue-70: #7aafe8;
197
- --Lake-Blue-80: #9ccaff;
198
- --Lake-Blue-90: #d0e4ff;
199
- --Lake-Blue-95: #e9f1ff;
200
- --Lake-Blue-98: #f8f9ff;
201
- --Lake-Blue-99: #fdfcff;
202
- --Lake-Blue-100: #ffffff;
203
-
204
- // Plum_Purple
205
- --Plum-Purple-0: #000000;
206
- --Plum-Purple-5: #2b001c;
207
- --Plum-Purple-10: #3f0029;
208
- --Plum-Purple-20: #610c43;
209
- --Plum-Purple-30: #7e255f;
210
- --Plum-Purple-40: #9d3d7b;
211
- --Plum-Purple-50: #bb5597;
212
- --Plum-Purple-60: #db6eb5;
213
- --Plum-Purple-70: #fa88d2;
214
- --Plum-Purple-80: #ffb1e4;
215
- --Plum-Purple-90: #ffd9f2;
216
- --Plum-Purple-95: #ffecf8;
217
- --Plum-Purple-98: #fff8fd;
218
- --Plum-Purple-99: #fffbfe;
219
- --Plum-Purple-100: #ffffff;
220
-
221
- // Opacity
222
- // On Surface
223
- --Opacity-On-Surface-10: #F0EFED;
224
- --Opacity-On-Surface-20: #E8E6E3;
225
- --Opacity-On-Surface-30: #DFDCD8;
226
- --Opacity-On-Surface-40: #D6D2CD;
227
-
228
- // White
229
- --Opacity-White-1: #ffffff03;
230
- --Opacity-White-3: #ffffff08;
231
- --Opacity-White-5: #ffffff0d;
232
- --Opacity-White-8: #ffffff14;
233
- --Opacity-White-12: #ffffff1f;
234
- --Opacity-White-16: #ffffff29;
235
- --Opacity-White-20: #ffffff33;
236
- --Opacity-White-30: #ffffff4d;
237
- --Opacity-White-40: #ffffff66;
238
- --Opacity-White-50: #ffffff80;
239
- --Opacity-White-60: #ffffff99;
240
- --Opacity-White-70: #ffffffb2;
241
- --Opacity-White-80: #ffffffcc;
242
- --Opacity-White-90: #ffffffe5;
243
- --Opacity-White-95: #fffffff2;
244
- --Opacity-White-100: #ffffff;
245
-
246
- // Black
247
- --Opacity-Black-1: #00000003;
248
- --Opacity-Black-3: #00000008;
249
- --Opacity-Black-5: #0000000d;
250
- --Opacity-Black-8: #00000014;
251
- --Opacity-Black-12: #0000001f;
252
- --Opacity-Black-16: #00000029;
253
- --Opacity-Black-20: #00000033;
254
- --Opacity-Black-30: #0000004d;
255
- --Opacity-Black-40: #00000066;
256
- --Opacity-Black-50: #00000080;
257
- --Opacity-Black-60: #00000099;
258
- --Opacity-Black-70: #000000b2;
259
- --Opacity-Black-80: #000000cc;
260
- --Opacity-Black-90: #000000e5;
261
- --Opacity-Black-95: #000000f2;
262
- --Opacity-Black-100: #000000;
263
- }
264
- }