myshell-react-lib 0.1.4 → 0.1.6
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/dist/index.cjs +52 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/common/assets/audio-playing.json +0 -3657
- package/src/common/constants/constants.ts +0 -24
- package/src/common/constants/types/common.ts +0 -10
- package/src/common/hooks/useAudioPlayer.tsx +0 -198
- package/src/common/hooks/useDevice.ts +0 -26
- package/src/common/hooks/useNativeBridge.ts +0 -42
- package/src/common/hooks/useNotification.tsx +0 -179
- package/src/common/hooks/useWindowWidth.ts +0 -19
- package/src/common/utils/common-helper.ts +0 -81
- package/src/components/ItemDemo.tsx +0 -15
- package/src/components/accordion.tsx +0 -126
- package/src/components/alert-dialog.tsx +0 -148
- package/src/components/alert.tsx +0 -65
- package/src/components/aspect-ratio.tsx +0 -7
- package/src/components/audio-player.tsx +0 -60
- package/src/components/audio-playing.tsx +0 -33
- package/src/components/avatar.tsx +0 -133
- package/src/components/badge.tsx +0 -67
- package/src/components/button/button.styles.ts +0 -258
- package/src/components/button/button.tsx +0 -215
- package/src/components/button/icon-button.styles.ts +0 -101
- package/src/components/button/icon-button.tsx +0 -100
- package/src/components/button/index.tsx +0 -3
- package/src/components/button/link-button.tsx +0 -184
- package/src/components/cascader.tsx +0 -175
- package/src/components/checkbox.tsx +0 -135
- package/src/components/command.tsx +0 -155
- package/src/components/context-menu.tsx +0 -198
- package/src/components/count-down.tsx +0 -83
- package/src/components/custom-notification.tsx +0 -95
- package/src/components/dialog.tsx +0 -158
- package/src/components/drawer.tsx +0 -116
- package/src/components/dropdown-menu.tsx +0 -196
- package/src/components/energy-progress.tsx +0 -55
- package/src/components/form.tsx +0 -201
- package/src/components/group.tsx +0 -9
- package/src/components/guide.tsx +0 -243
- package/src/components/icon.tsx +0 -96
- package/src/components/icons/index.tsx +0 -13
- package/src/components/icons/outline/ArrowLeftIcon.tsx +0 -28
- package/src/components/icons/outline/ArrowUpTrayIcon.tsx +0 -28
- package/src/components/icons/outline/CheckCircleIcon.tsx +0 -27
- package/src/components/icons/outline/ConfigIcon.tsx +0 -42
- package/src/components/icons/outline/DownIcon.tsx +0 -18
- package/src/components/icons/outline/FilterIcon.tsx +0 -20
- package/src/components/icons/outline/PencilSquareIcon.tsx +0 -28
- package/src/components/icons/outline/WindowIcon.tsx +0 -26
- package/src/components/icons/solid/CaretDownIcon.tsx +0 -22
- package/src/components/icons/solid/CodeIcon.tsx +0 -25
- package/src/components/icons/solid/DragIcon.tsx +0 -24
- package/src/components/icons/solid/PhoneIcon.tsx +0 -29
- package/src/components/icons/solid/RectangleGroupIcon.tsx +0 -26
- package/src/components/image.tsx +0 -151
- package/src/components/input.tsx +0 -118
- package/src/components/label.tsx +0 -26
- package/src/components/link.tsx +0 -123
- package/src/components/marquee/index.css +0 -15
- package/src/components/marquee/marquee.tsx +0 -220
- package/src/components/masonry.tsx +0 -138
- package/src/components/menubar.tsx +0 -234
- package/src/components/mobile/m-tooltip.tsx +0 -34
- package/src/components/modal.tsx +0 -561
- package/src/components/navigation-bar.tsx +0 -100
- package/src/components/number-input.tsx +0 -143
- package/src/components/page-content.tsx +0 -16
- package/src/components/popover.tsx +0 -191
- package/src/components/progress.tsx +0 -80
- package/src/components/radio-group.tsx +0 -44
- package/src/components/scroll-area.tsx +0 -49
- package/src/components/search-bar.tsx +0 -140
- package/src/components/secondary-navigation-bar.tsx +0 -328
- package/src/components/select.tsx +0 -273
- package/src/components/separator.tsx +0 -31
- package/src/components/sheet.tsx +0 -143
- package/src/components/skeleton.tsx +0 -20
- package/src/components/slider.tsx +0 -160
- package/src/components/spinner.tsx +0 -50
- package/src/components/swiper/index.module.scss +0 -88
- package/src/components/swiper/index.tsx +0 -319
- package/src/components/switch.tsx +0 -67
- package/src/components/tabs.tsx +0 -325
- package/src/components/textarea.tsx +0 -71
- package/src/components/toast/toast.tsx +0 -182
- package/src/components/toast/toaster.tsx +0 -160
- package/src/components/toast/use-toast.tsx +0 -248
- package/src/components/toggle-group.tsx +0 -64
- package/src/components/toggle.tsx +0 -46
- package/src/components/tooltip.tsx +0 -283
- package/src/components/typography.tsx +0 -437
- package/src/index.ts +0 -70
- package/src/lib/utils.ts +0 -62
- package/src/stories/Accordion.stories.tsx +0 -64
- package/src/stories/AccordionItem.stories.tsx +0 -48
- package/src/stories/Avatar.stories.ts +0 -58
- package/src/stories/Badge.stories.tsx +0 -40
- package/src/stories/BannerSwiper.stories.tsx +0 -102
- package/src/stories/Button.stories.tsx +0 -543
- package/src/stories/Checkbox.stories.tsx +0 -161
- package/src/stories/Configure.mdx +0 -341
- package/src/stories/CssProperties.mdx +0 -30
- package/src/stories/Description.stories.ts +0 -70
- package/src/stories/Display.stories.ts +0 -64
- package/src/stories/FeaturedSwiper.stories.tsx +0 -6978
- package/src/stories/GridSwiper.stories.tsx +0 -1407
- package/src/stories/Guide.stories.tsx +0 -247
- package/src/stories/Heading.stories.ts +0 -89
- package/src/stories/Icon.stories.ts +0 -77
- package/src/stories/IconButton.stories.tsx +0 -301
- package/src/stories/IconTextButton.stories.ts +0 -59
- package/src/stories/Image.stories.ts +0 -55
- package/src/stories/Input.stories.tsx +0 -203
- package/src/stories/Modal.stories.tsx +0 -144
- package/src/stories/NavigationBar.stories.tsx +0 -81
- package/src/stories/Notification.stories.tsx +0 -276
- package/src/stories/Popover.stories.tsx +0 -100
- package/src/stories/SearchBar.stories.ts +0 -43
- package/src/stories/SecondaryNavigationBar.stories.tsx +0 -199
- package/src/stories/Select.stories.tsx +0 -107
- package/src/stories/Separator.stories.tsx +0 -49
- package/src/stories/Spinner.stories.tsx +0 -48
- package/src/stories/SubHeading.stories.ts +0 -64
- package/src/stories/Swich.stories.tsx +0 -69
- package/src/stories/Tabs.stories.tsx +0 -90
- package/src/stories/Text.stories.ts +0 -78
- package/src/stories/Textarea.stories.tsx +0 -155
- package/src/stories/Toast.stories.tsx +0 -424
- package/src/stories/Tooltip.stories.tsx +0 -244
- package/src/stories/ViewAutoSwiper.stories.tsx +0 -1408
- package/src/styles/components-dark.scss +0 -212
- package/src/styles/components-light.scss +0 -210
- package/src/styles/design-dark.scss +0 -330
- package/src/styles/design-light.scss +0 -345
- package/src/styles/design2-dark.scss +0 -319
- package/src/styles/design2-light.scss +0 -364
- package/src/styles/font.css +0 -19
- package/src/styles/global.scss +0 -251
- package/src/styles/md-viewer.scss +0 -155
- package/src/styles/new-tokens.scss +0 -255
- package/src/styles/tokens.scss +0 -401
- package/src/types/scss.d.ts +0 -24
package/src/styles/font.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
package/src/styles/global.scss
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@import './tokens.scss';
|
|
6
|
-
@import './design-light.scss';
|
|
7
|
-
@import './design-dark.scss';
|
|
8
|
-
|
|
9
|
-
@import './new-tokens.scss';
|
|
10
|
-
@import './design2-light.scss';
|
|
11
|
-
@import './design2-dark.scss';
|
|
12
|
-
@import './components-light.scss';
|
|
13
|
-
@import './components-dark.scss';
|
|
14
|
-
|
|
15
|
-
@layer components {
|
|
16
|
-
.button-hover-underline::after {
|
|
17
|
-
@apply absolute inset-x-0 bottom-0 border-b border-current pointer-events-none;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
body {
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
background-color: var(--surface-container-default, #f5f7fa);
|
|
23
|
-
color: var(--text);
|
|
24
|
-
font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
|
|
25
|
-
}
|
|
26
|
-
.driver-popover * {
|
|
27
|
-
font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
|
|
28
|
-
}
|
|
29
|
-
body.driver-active .driver-none {
|
|
30
|
-
pointer-events: none;
|
|
31
|
-
user-select: none;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
body.driver-active .driver-none * {
|
|
36
|
-
pointer-events: none;
|
|
37
|
-
user-select: none;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
}
|
|
40
|
-
@media (min-width: 768px) {
|
|
41
|
-
/* 在宽度大于 768px 且小于等于 1024px 的屏幕上应用以下样式 */
|
|
42
|
-
* {
|
|
43
|
-
// overflow-y: overlay;
|
|
44
|
-
&::-webkit-scrollbar {
|
|
45
|
-
width: 5px;
|
|
46
|
-
height: 5px;
|
|
47
|
-
}
|
|
48
|
-
&::-webkit-scrollbar-track {
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
border-radius: 6px;
|
|
51
|
-
}
|
|
52
|
-
&::-webkit-scrollbar-thumb {
|
|
53
|
-
background-color: var(--border-hovered);
|
|
54
|
-
border-radius: 6px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// .cropper-container {
|
|
60
|
-
// visibility: hidden !important;
|
|
61
|
-
// }
|
|
62
|
-
.bot-avatar-upload,
|
|
63
|
-
.user-avatar-upload {
|
|
64
|
-
.cropper-container {
|
|
65
|
-
visibility: hidden !important;
|
|
66
|
-
}
|
|
67
|
-
.cropper-hidden {
|
|
68
|
-
display: block !important;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
.chakra-checkbox__control {
|
|
72
|
-
border-radius: 50%;
|
|
73
|
-
}
|
|
74
|
-
.square-checkbox .chakra-checkbox__control {
|
|
75
|
-
border-radius: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.chakra-checkbox__control[data-checked] {
|
|
79
|
-
background: #3e5cfa;
|
|
80
|
-
border-color: #3e5cfa;
|
|
81
|
-
}
|
|
82
|
-
.chakra-checkbox__control[data-focus-visible] {
|
|
83
|
-
box-shadow: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.chakra-table tr td {
|
|
87
|
-
height: 56px;
|
|
88
|
-
padding: 0 20px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.chakra-table tr:nth-of-type(odd) td {
|
|
92
|
-
background-color: #fafbfb;
|
|
93
|
-
}
|
|
94
|
-
.py-safe {
|
|
95
|
-
background-color: #fafbfb;
|
|
96
|
-
padding-top: env(safe-area-inset-top);
|
|
97
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.no-scrollbar::-webkit-scrollbar {
|
|
101
|
-
display: none;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* Hide scrollbar for IE, Edge and Firefox */
|
|
105
|
-
.no-scrollbar {
|
|
106
|
-
-ms-overflow-style: none;
|
|
107
|
-
/* IE and Edge */
|
|
108
|
-
scrollbar-width: none;
|
|
109
|
-
/* Firefox */
|
|
110
|
-
}
|
|
111
|
-
.arrow {
|
|
112
|
-
--popper-arrow-default-shadow: 1px 1px 1px 0 var(--shadow-modal-bolder) !important;
|
|
113
|
-
}
|
|
114
|
-
.dark .arrow {
|
|
115
|
-
--popper-arrow-default-shadow: 1px 1px 1px 0 var(--border-opaque) !important;
|
|
116
|
-
}
|
|
117
|
-
.arrow-left {
|
|
118
|
-
--popper-arrow-default-shadow: -1px 1px 1px 0 var(--shadow-modal-bolder) !important;
|
|
119
|
-
}
|
|
120
|
-
.dark .arrow-left {
|
|
121
|
-
--popper-arrow-default-shadow: -1px 1px 1px 0 var(--border-opaque) !important;
|
|
122
|
-
}
|
|
123
|
-
li,
|
|
124
|
-
a,
|
|
125
|
-
button {
|
|
126
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
127
|
-
}
|
|
128
|
-
.tap-higtlight {
|
|
129
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.chat-mask > div {
|
|
133
|
-
-webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
|
|
134
|
-
mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
|
|
135
|
-
}
|
|
136
|
-
.driver-popover {
|
|
137
|
-
background-color: var(--Colors-Utility-Lake-Blue-50) !important;
|
|
138
|
-
color: var(--Colors-Text-Static-White) !important;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.driver-popover .driver-popover-title {
|
|
142
|
-
font-size: 16px;
|
|
143
|
-
font-weight: 500;
|
|
144
|
-
color: var(--Colors-Beta-White-100);
|
|
145
|
-
}
|
|
146
|
-
.driver-popover .driver-popover-description {
|
|
147
|
-
font-size: 14px;
|
|
148
|
-
color: var(--Colors-Beta-White-80);
|
|
149
|
-
}
|
|
150
|
-
.driver-popover .driver-popover-progress-text {
|
|
151
|
-
font-size: 14px;
|
|
152
|
-
color: var(--Colors-Beta-White-60);
|
|
153
|
-
opacity: 0.6;
|
|
154
|
-
font-weight: 500;
|
|
155
|
-
}
|
|
156
|
-
.driver-popover-footer .driver-popover-navigation-btns {
|
|
157
|
-
flex-wrap: wrap;
|
|
158
|
-
gap: 6px;
|
|
159
|
-
}
|
|
160
|
-
.driver-popover-footer .driver-popover-skip-btn,
|
|
161
|
-
.driver-popover-footer .driver-popover-skip-btn:hover,
|
|
162
|
-
.driver-popover-footer .driver-popover-skip-btn:focus {
|
|
163
|
-
border: none;
|
|
164
|
-
background: transparent !important;
|
|
165
|
-
font-size: 14px;
|
|
166
|
-
color: var(--Colors-Beta-White-80);
|
|
167
|
-
opacity: 0.6;
|
|
168
|
-
font-weight: 500;
|
|
169
|
-
border-radius: 6px;
|
|
170
|
-
padding: 4px 12px;
|
|
171
|
-
text-shadow: none;
|
|
172
|
-
}
|
|
173
|
-
.driver-popover-footer .driver-popover-prev-btn,
|
|
174
|
-
.driver-popover-footer .driver-popover-prev-btn:hover,
|
|
175
|
-
.driver-popover-footer .driver-popover-prev-btn:focus,
|
|
176
|
-
.driver-popover-footer .driver-popover-next-btn,
|
|
177
|
-
.driver-popover-footer .driver-popover-next-btn:hover,
|
|
178
|
-
.driver-popover-footer .driver-popover-next-btn:focus {
|
|
179
|
-
background: var(--Colors-Foreground-Static-White) !important;
|
|
180
|
-
color: var(--Colors-Text-Static-Black) !important;
|
|
181
|
-
font-size: 14px;
|
|
182
|
-
padding: 4px 16px;
|
|
183
|
-
border-radius: 6px;
|
|
184
|
-
height: 28px;
|
|
185
|
-
text-shadow: none;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.driver-popover .driver-popover-arrow-side-left {
|
|
189
|
-
border-left-color: var(--Colors-Utility-Lake-Blue-50);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.driver-popover .driver-popover-arrow-side-right {
|
|
193
|
-
border-right-color: var(--Colors-Utility-Lake-Blue-50);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.driver-popover .driver-popover-arrow-side-top {
|
|
197
|
-
border-top-color: var(--Colors-Utility-Lake-Blue-50);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.driver-popover .driver-popover-arrow-side-bottom {
|
|
201
|
-
border-bottom-color: var(--Colors-Utility-Lake-Blue-50);
|
|
202
|
-
}
|
|
203
|
-
.workshop-topbar-guide .driver-popover-arrow-side-bottom.driver-popover-arrow-align-end {
|
|
204
|
-
left: 15px;
|
|
205
|
-
right: auto;
|
|
206
|
-
}
|
|
207
|
-
.explore-bot-item .chakra-popover__arrow-positioner {
|
|
208
|
-
display: none;
|
|
209
|
-
}
|
|
210
|
-
.chakra-switch__thumb {
|
|
211
|
-
background-color: var(--surface-container-default) !important;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.chakra-switch__track {
|
|
215
|
-
background-color: var(--border) !important;
|
|
216
|
-
}
|
|
217
|
-
.chakra-switch__track[data-checked] {
|
|
218
|
-
background-color: var(--surface-primary-default) !important;
|
|
219
|
-
}
|
|
220
|
-
input[type='number']::-webkit-inner-spin-button,
|
|
221
|
-
input[type='number']::-webkit-outer-spin-button {
|
|
222
|
-
-webkit-appearance: none;
|
|
223
|
-
margin: 0;
|
|
224
|
-
}
|
|
225
|
-
.md-viewer code {
|
|
226
|
-
background-color: white !important;
|
|
227
|
-
font-size: 14px !important;
|
|
228
|
-
color: var(--neutral-30);
|
|
229
|
-
}
|
|
230
|
-
.page-view .md-viewer pre {
|
|
231
|
-
padding: 12px;
|
|
232
|
-
background-color: #f6f8fa !important;
|
|
233
|
-
color: var(--text);
|
|
234
|
-
code {
|
|
235
|
-
background-color: #f6f8fa !important;
|
|
236
|
-
color: var(--text);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
.sbdocs-wrapper {
|
|
240
|
-
overflow-y: auto;
|
|
241
|
-
height: 100vh;
|
|
242
|
-
}
|
|
243
|
-
.sbdocs-content {
|
|
244
|
-
max-width: 70vw !important;
|
|
245
|
-
}
|
|
246
|
-
.disable-touch-action img {
|
|
247
|
-
-webkit-touch-callout: none;
|
|
248
|
-
-webkit-user-select: none;
|
|
249
|
-
user-select: none;
|
|
250
|
-
// touch-action: none;
|
|
251
|
-
}
|
|
@@ -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(--text-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,255 +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: #b2aeaa;
|
|
35
|
-
--Neutral-80: #c7c3bf;
|
|
36
|
-
--Neutral-90: #e3e0dc;
|
|
37
|
-
--Neutral-95: #ebe8e6;
|
|
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: #313131;
|
|
47
|
-
--Neutral-Variant-30: #484848;
|
|
48
|
-
--Neutral-Variant-40: #606060;
|
|
49
|
-
--Neutral-Variant-50: #797979;
|
|
50
|
-
--Neutral-Variant-60: #939393;
|
|
51
|
-
--Neutral-Variant-70: #a8a8a8;
|
|
52
|
-
--Neutral-Variant-80: #bfbfbf;
|
|
53
|
-
--Neutral-Variant-90: #dedede;
|
|
54
|
-
--Neutral-Variant-95: #e6e6e6;
|
|
55
|
-
--Neutral-Variant-98: #f2f2f2;
|
|
56
|
-
--Neutral-Variant-99: #fafafa;
|
|
57
|
-
--Neutral-Variant-100: #ffffff;
|
|
58
|
-
|
|
59
|
-
// Terracotta
|
|
60
|
-
--Terracotta-0: #000000;
|
|
61
|
-
--Terracotta-5: #2b0100;
|
|
62
|
-
--Terracotta-10: #3f0300;
|
|
63
|
-
--Terracotta-20: #530904;
|
|
64
|
-
--Terracotta-30: #881f0f;
|
|
65
|
-
--Terracotta-40: #a93724;
|
|
66
|
-
--Terracotta-50: #ca4f3a;
|
|
67
|
-
--Terracotta-60: #ec6750;
|
|
68
|
-
--Terracotta-70: #ff8a75;
|
|
69
|
-
--Terracotta-80: #ffb4a6;
|
|
70
|
-
--Terracotta-90: #ffdad4;
|
|
71
|
-
--Terracotta-95: #ffede9;
|
|
72
|
-
--Terracotta-98: #fff8f6;
|
|
73
|
-
--Terracotta-99: #fffcfb;
|
|
74
|
-
--Terracotta-100: #ffffff;
|
|
75
|
-
|
|
76
|
-
// Ember
|
|
77
|
-
--Ember-0: #000000;
|
|
78
|
-
--Ember-5: #230900;
|
|
79
|
-
--Ember-10: #341100;
|
|
80
|
-
--Ember-20: #552000;
|
|
81
|
-
--Ember-30: #793100;
|
|
82
|
-
--Ember-40: #9f4200;
|
|
83
|
-
--Ember-50: #c55505;
|
|
84
|
-
--Ember-60: #e76d24;
|
|
85
|
-
--Ember-70: #ff8d4e;
|
|
86
|
-
--Ember-80: #ffb692;
|
|
87
|
-
--Ember-90: #ffdbcb;
|
|
88
|
-
--Ember-95: #ffede6;
|
|
89
|
-
--Ember-98: #fff4f0;
|
|
90
|
-
--Ember-99: #fffcfb;
|
|
91
|
-
--Ember-100: #ffffff;
|
|
92
|
-
|
|
93
|
-
// Khaki
|
|
94
|
-
--Khaki-0: #000000;
|
|
95
|
-
--Khaki-5: #171000;
|
|
96
|
-
--Khaki-10: #241a00;
|
|
97
|
-
--Khaki-20: #3d2e00;
|
|
98
|
-
--Khaki-30: #584400;
|
|
99
|
-
--Khaki-40: #755b00;
|
|
100
|
-
--Khaki-50: #917312;
|
|
101
|
-
--Khaki-60: #ad8d2d;
|
|
102
|
-
--Khaki-70: #caa745;
|
|
103
|
-
--Khaki-80: #e8cd84;
|
|
104
|
-
--Khaki-90: #fae3aa;
|
|
105
|
-
--Khaki-95: #fff2d9;
|
|
106
|
-
--Khaki-98: #fff8eb;
|
|
107
|
-
--Khaki-99: #fffefb;
|
|
108
|
-
--Khaki-100: #ffffff;
|
|
109
|
-
|
|
110
|
-
// Olive
|
|
111
|
-
--Olive-0: #000000;
|
|
112
|
-
--Olive-5: #0b1400;
|
|
113
|
-
--Olive-10: #131f00;
|
|
114
|
-
--Olive-20: #243600;
|
|
115
|
-
--Olive-30: #374e0b;
|
|
116
|
-
--Olive-40: #4e6622;
|
|
117
|
-
--Olive-50: #667f39;
|
|
118
|
-
--Olive-60: #7f9a50;
|
|
119
|
-
--Olive-70: #99b567;
|
|
120
|
-
--Olive-80: #b4d180;
|
|
121
|
-
--Olive-90: #d0ed99;
|
|
122
|
-
--Olive-95: #def2b8;
|
|
123
|
-
--Olive-98: #f1ffd2;
|
|
124
|
-
--Olive-99: #f9ffe6;
|
|
125
|
-
--Olive-100: #ffffff;
|
|
126
|
-
|
|
127
|
-
// Teal
|
|
128
|
-
--Teal-0: #000000;
|
|
129
|
-
--Teal-5: #00150f;
|
|
130
|
-
--Teal-10: #002018;
|
|
131
|
-
--Teal-20: #00382c;
|
|
132
|
-
--Teal-30: #005140;
|
|
133
|
-
--Teal-40: #006b56;
|
|
134
|
-
--Teal-50: #00876d;
|
|
135
|
-
--Teal-60: #30a286;
|
|
136
|
-
--Teal-70: #51bda0;
|
|
137
|
-
--Teal-80: #6fd9bb;
|
|
138
|
-
--Teal-90: #98f4d7;
|
|
139
|
-
--Teal-95: #b9ffe7;
|
|
140
|
-
--Teal-98: #e6fff4;
|
|
141
|
-
--Teal-99: #f3fff9;
|
|
142
|
-
--Teal-100: #ffffff;
|
|
143
|
-
|
|
144
|
-
// Cobalt
|
|
145
|
-
--Cobalt-0: #000000;
|
|
146
|
-
--Cobalt-5: #000449;
|
|
147
|
-
--Cobalt-10: #000767;
|
|
148
|
-
--Cobalt-20: #182282;
|
|
149
|
-
--Cobalt-30: #323c99;
|
|
150
|
-
--Cobalt-40: #323c99;
|
|
151
|
-
--Cobalt-50: #646ece;
|
|
152
|
-
--Cobalt-60: #7e88ea;
|
|
153
|
-
--Cobalt-70: #9ba4ff;
|
|
154
|
-
--Cobalt-80: #bdc2ff;
|
|
155
|
-
--Cobalt-90: #dfe0ff;
|
|
156
|
-
--Cobalt-95: #f1efff;
|
|
157
|
-
--Cobalt-98: #fbf8ff;
|
|
158
|
-
--Cobalt-99: #fffbff;
|
|
159
|
-
--Cobalt-100: #ffffff;
|
|
160
|
-
|
|
161
|
-
// Berry_Pink
|
|
162
|
-
--Berry-Pink-0: #000000;
|
|
163
|
-
--Berry-Pink-5: #2b0010;
|
|
164
|
-
--Berry-Pink-10: #3f001a;
|
|
165
|
-
--Berry-Pink-20: #610c2e;
|
|
166
|
-
--Berry-Pink-30: #7e2544;
|
|
167
|
-
--Berry-Pink-40: #9d3d5c;
|
|
168
|
-
--Berry-Pink-50: #bb5574;
|
|
169
|
-
--Berry-Pink-60: #db6e8e;
|
|
170
|
-
--Berry-Pink-70: #fa88a8;
|
|
171
|
-
--Berry-Pink-80: #ffb1c4;
|
|
172
|
-
--Berry-Pink-90: #ffd9e0;
|
|
173
|
-
--Berry-Pink-95: #ffecef;
|
|
174
|
-
--Berry-Pink-98: #fff8f8;
|
|
175
|
-
--Berry-Pink-99: #fffbff;
|
|
176
|
-
--Berry-Pink-100: #ffffff;
|
|
177
|
-
|
|
178
|
-
// Lake_Blue
|
|
179
|
-
--Lake-Blue-0: #000000;
|
|
180
|
-
--Lake-Blue-5: #001224;
|
|
181
|
-
--Lake-Blue-10: #001d35;
|
|
182
|
-
--Lake-Blue-20: #003256;
|
|
183
|
-
--Lake-Blue-30: #00497a;
|
|
184
|
-
--Lake-Blue-40: #266296;
|
|
185
|
-
--Lake-Blue-50: #447bb0;
|
|
186
|
-
--Lake-Blue-60: #5f95cc;
|
|
187
|
-
--Lake-Blue-70: #7aafe8;
|
|
188
|
-
--Lake-Blue-80: #9ccaff;
|
|
189
|
-
--Lake-Blue-90: #d0e4ff;
|
|
190
|
-
--Lake-Blue-95: #e9f1ff;
|
|
191
|
-
--Lake-Blue-98: #f8f9ff;
|
|
192
|
-
--Lake-Blue-99: #fdfcff;
|
|
193
|
-
--Lake-Blue-100: #ffffff;
|
|
194
|
-
|
|
195
|
-
// Plum_Purple
|
|
196
|
-
--Plum-Purple-0: #000000;
|
|
197
|
-
--Plum-Purple-5: #2b001c;
|
|
198
|
-
--Plum-Purple-10: #3f0029;
|
|
199
|
-
--Plum-Purple-20: #610c43;
|
|
200
|
-
--Plum-Purple-30: #7e255f;
|
|
201
|
-
--Plum-Purple-40: #9d3d7b;
|
|
202
|
-
--Plum-Purple-50: #bb5597;
|
|
203
|
-
--Plum-Purple-60: #db6eb5;
|
|
204
|
-
--Plum-Purple-70: #fa88d2;
|
|
205
|
-
--Plum-Purple-80: #ffb1e4;
|
|
206
|
-
--Plum-Purple-90: #ffd9f2;
|
|
207
|
-
--Plum-Purple-95: #ffecf8;
|
|
208
|
-
--Plum-Purple-98: #fff8fd;
|
|
209
|
-
--Plum-Purple-99: #fffbfe;
|
|
210
|
-
--Plum-Purple-100: #ffffff;
|
|
211
|
-
|
|
212
|
-
// Opacity
|
|
213
|
-
// On Surface
|
|
214
|
-
--Opacity-On-Surface-10: #dbd9d729;
|
|
215
|
-
--Opacity-On-Surface-20: #bdbcbb33;
|
|
216
|
-
--Opacity-On-Surface-30: #a8a7a533;
|
|
217
|
-
--Opacity-On-Surface-40: #94928f33;
|
|
218
|
-
|
|
219
|
-
// White
|
|
220
|
-
--Opacity-White-1: #ffffff03;
|
|
221
|
-
--Opacity-White-3: #ffffff08;
|
|
222
|
-
--Opacity-White-5: #ffffff0d;
|
|
223
|
-
--Opacity-White-8: #ffffff14;
|
|
224
|
-
--Opacity-White-12: #ffffff1f;
|
|
225
|
-
--Opacity-White-16: #ffffff29;
|
|
226
|
-
--Opacity-White-20: #ffffff33;
|
|
227
|
-
--Opacity-White-30: #ffffff4d;
|
|
228
|
-
--Opacity-White-40: #ffffff66;
|
|
229
|
-
--Opacity-White-50: #ffffff80;
|
|
230
|
-
--Opacity-White-60: #ffffff99;
|
|
231
|
-
--Opacity-White-70: #ffffffb2;
|
|
232
|
-
--Opacity-White-80: #ffffffcc;
|
|
233
|
-
--Opacity-White-90: #ffffffe5;
|
|
234
|
-
--Opacity-White-95: #fffffff2;
|
|
235
|
-
--Opacity-White-100: #ffffff;
|
|
236
|
-
|
|
237
|
-
// Black
|
|
238
|
-
--Opacity-Black-1: #00000003;
|
|
239
|
-
--Opacity-Black-3: #00000008;
|
|
240
|
-
--Opacity-Black-5: #0000000d;
|
|
241
|
-
--Opacity-Black-8: #00000014;
|
|
242
|
-
--Opacity-Black-12: #0000001f;
|
|
243
|
-
--Opacity-Black-16: #00000029;
|
|
244
|
-
--Opacity-Black-20: #00000033;
|
|
245
|
-
--Opacity-Black-30: #0000004d;
|
|
246
|
-
--Opacity-Black-40: #00000066;
|
|
247
|
-
--Opacity-Black-50: #00000080;
|
|
248
|
-
--Opacity-Black-60: #00000099;
|
|
249
|
-
--Opacity-Black-70: #000000b2;
|
|
250
|
-
--Opacity-Black-80: #000000cc;
|
|
251
|
-
--Opacity-Black-90: #000000e5;
|
|
252
|
-
--Opacity-Black-95: #000000f2;
|
|
253
|
-
--Opacity-Black-100: #000000;
|
|
254
|
-
}
|
|
255
|
-
}
|