dozy 1.0.44 → 1.0.46
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.
|
Binary file
|
|
Binary file
|
package/dist/assets/reset.css
CHANGED
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
src: url('./fonts/forthecode.woff2') format('woff2');
|
|
18
18
|
font-display: swap;
|
|
19
19
|
}
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'forthebadge';
|
|
22
|
+
src: url('./fonts/forthebadge.woff2') format('woff2');
|
|
23
|
+
font-display: swap;
|
|
24
|
+
}
|
|
20
25
|
|
|
21
26
|
/* @font-face {
|
|
22
27
|
font-family: 'defaultFont';
|
|
@@ -61,13 +66,14 @@
|
|
|
61
66
|
-webkit-font-smoothing: antialiased; /* WebKit字体抗锯齿 */
|
|
62
67
|
-moz-osx-font-smoothing: grayscale; /* Firefox字体抗锯齿 */
|
|
63
68
|
|
|
64
|
-
--for-font:
|
|
65
|
-
Verdana, Inter, system-ui, Avenir, Helvetica, Arial, ui-sans-serif,
|
|
66
|
-
'Microsoft YaHei
|
|
67
|
-
'Noto Color Emoji', sans-serif;
|
|
68
|
-
--for-code
|
|
69
|
-
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Microsoft YaHei',
|
|
69
|
+
--for-the-font:
|
|
70
|
+
forthefont, Verdana, Inter, system-ui, Avenir, Helvetica, Arial, ui-sans-serif,
|
|
71
|
+
'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
72
|
+
'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
|
|
73
|
+
--for-the-code:
|
|
74
|
+
forthecode, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Microsoft YaHei',
|
|
70
75
|
'Microsoft YaHei UI', 'Liberation Mono', 'Courier New', monospace;
|
|
76
|
+
--for-the-badge: forthebadge;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
/* HTML 基础设置
|
|
@@ -91,7 +97,7 @@ html {
|
|
|
91
97
|
tab-size: 4; /* 3 */
|
|
92
98
|
|
|
93
99
|
/* 字体栈 */
|
|
94
|
-
font-family:
|
|
100
|
+
font-family: var(--for-the-font);
|
|
95
101
|
|
|
96
102
|
font-feature-settings: normal;
|
|
97
103
|
font-variation-settings: normal;
|
|
@@ -192,6 +198,35 @@ body {
|
|
|
192
198
|
.scrollbar::-webkit-scrollbar-thumb:hover {
|
|
193
199
|
background-color: #fff; /* 悬停颜色 */
|
|
194
200
|
}
|
|
201
|
+
|
|
202
|
+
.truncate {
|
|
203
|
+
overflow: hidden;
|
|
204
|
+
text-overflow: ellipsis;
|
|
205
|
+
white-space: nowrap;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.line-clamp-1 {
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
display: -webkit-box;
|
|
211
|
+
-webkit-box-orient: vertical;
|
|
212
|
+
-webkit-line-clamp: 1;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.line-clamp-2 {
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
display: -webkit-box;
|
|
218
|
+
-webkit-box-orient: vertical;
|
|
219
|
+
-webkit-line-clamp: 2;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.xai-text-bold {
|
|
223
|
+
text-shadow:
|
|
224
|
+
0.01em 0.01em 0 currentColor,
|
|
225
|
+
0.02em 0.02em 0 currentColor,
|
|
226
|
+
-0.01em 0.01em 0 currentColor,
|
|
227
|
+
0.01em -0.01em 0 currentColor;
|
|
228
|
+
}
|
|
229
|
+
|
|
195
230
|
/* Firefox 浏览器 */
|
|
196
231
|
.scrollbar {
|
|
197
232
|
scrollbar-width: thin; /* 细滚动条 */
|
|
@@ -267,7 +302,7 @@ code,
|
|
|
267
302
|
kbd,
|
|
268
303
|
samp,
|
|
269
304
|
pre {
|
|
270
|
-
font-family: var(--for-code
|
|
305
|
+
font-family: var(--for-the-code);
|
|
271
306
|
font-feature-settings: normal;
|
|
272
307
|
font-variation-settings: normal;
|
|
273
308
|
font-size: 1em;
|
package/dist/index.d.ts
CHANGED
|
@@ -305,7 +305,7 @@ export declare function toRgbString(input: string | Color | any): string | undef
|
|
|
305
305
|
* @returns HSL/HSLA string or undefined.
|
|
306
306
|
*/
|
|
307
307
|
export declare function toHslString(input: string | Color | any): string | undefined;
|
|
308
|
-
export declare const DOZY = "1.0.
|
|
308
|
+
export declare const DOZY = "1.0.46";
|
|
309
309
|
export * from "browser-image-compression";
|
|
310
310
|
export * from "axios";
|
|
311
311
|
export * from "zod";
|