dozy 1.0.43 → 1.0.45

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.
@@ -8,10 +8,13 @@
8
8
  1. 字体定义 (Font Face)
9
9
  ======================= */
10
10
  @font-face {
11
- font-family: 'xaifont';
12
- src:
13
- url('./fonts/xaifont.woff2') format('woff2'),
14
- url('https://xaidozy.github.io/fonts/xaifont.woff2') format('woff2');
11
+ font-family: 'forthefont';
12
+ src: url('./fonts/forthefont.woff2') format('woff2');
13
+ font-display: swap;
14
+ }
15
+ @font-face {
16
+ font-family: 'forthecode';
17
+ src: url('./fonts/forthecode.woff2') format('woff2');
15
18
  font-display: swap;
16
19
  }
17
20
 
@@ -58,12 +61,12 @@
58
61
  -webkit-font-smoothing: antialiased; /* WebKit字体抗锯齿 */
59
62
  -moz-osx-font-smoothing: grayscale; /* Firefox字体抗锯齿 */
60
63
 
61
- --for-font:
62
- Inter, system-ui, Avenir, Helvetica, Arial, ui-sans-serif, 'Microsoft YaHei',
63
- 'Microsoft YaHei UI', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
64
- 'Noto Color Emoji', sans-serif;
65
- --for-code-font:
66
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Microsoft YaHei',
64
+ --for-the-font:
65
+ forthefont, Verdana, Inter, system-ui, Avenir, Helvetica, Arial, ui-sans-serif,
66
+ 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple Color Emoji', 'Segoe UI Emoji',
67
+ 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
68
+ --for-the-code:
69
+ forthecode, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Microsoft YaHei',
67
70
  'Microsoft YaHei UI', 'Liberation Mono', 'Courier New', monospace;
68
71
  }
69
72
 
@@ -88,7 +91,7 @@ html {
88
91
  tab-size: 4; /* 3 */
89
92
 
90
93
  /* 字体栈 */
91
- font-family: xaifont, var(--for-font);
94
+ font-family: var(--for-the-font);
92
95
 
93
96
  font-feature-settings: normal;
94
97
  font-variation-settings: normal;
@@ -264,7 +267,7 @@ code,
264
267
  kbd,
265
268
  samp,
266
269
  pre {
267
- font-family: var(--for-code-font);
270
+ font-family: var(--for-the-code);
268
271
  font-feature-settings: normal;
269
272
  font-variation-settings: normal;
270
273
  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.43";
308
+ export declare const DOZY = "1.0.45";
309
309
  export * from "browser-image-compression";
310
310
  export * from "axios";
311
311
  export * from "zod";