@unocss/preset-web-fonts 0.58.5 → 0.58.7
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.d.cts +5 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -59,6 +59,11 @@ declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider:
|
|
|
59
59
|
|
|
60
60
|
declare function createGoogleCompatibleProvider(name: WebFontsProviders, host: string): Provider;
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Preset for using web fonts by provide just the names.
|
|
64
|
+
*
|
|
65
|
+
* @see https://unocss.dev/presets/web-fonts
|
|
66
|
+
*/
|
|
62
67
|
declare const presetWebFonts: _unocss_core.PresetFactory<any, WebFontsOptions>;
|
|
63
68
|
|
|
64
69
|
export { type Provider, type ResolvedWebFontMeta, type WebFontMeta, type WebFontsOptions, type WebFontsProviders, createGoogleCompatibleProvider as createGoogleProvider, presetWebFonts as default, normalizedFontMeta };
|
package/dist/index.d.mts
CHANGED
|
@@ -59,6 +59,11 @@ declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider:
|
|
|
59
59
|
|
|
60
60
|
declare function createGoogleCompatibleProvider(name: WebFontsProviders, host: string): Provider;
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Preset for using web fonts by provide just the names.
|
|
64
|
+
*
|
|
65
|
+
* @see https://unocss.dev/presets/web-fonts
|
|
66
|
+
*/
|
|
62
67
|
declare const presetWebFonts: _unocss_core.PresetFactory<any, WebFontsOptions>;
|
|
63
68
|
|
|
64
69
|
export { type Provider, type ResolvedWebFontMeta, type WebFontMeta, type WebFontsOptions, type WebFontsProviders, createGoogleCompatibleProvider as createGoogleProvider, presetWebFonts as default, normalizedFontMeta };
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,11 @@ declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider:
|
|
|
59
59
|
|
|
60
60
|
declare function createGoogleCompatibleProvider(name: WebFontsProviders, host: string): Provider;
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Preset for using web fonts by provide just the names.
|
|
64
|
+
*
|
|
65
|
+
* @see https://unocss.dev/presets/web-fonts
|
|
66
|
+
*/
|
|
62
67
|
declare const presetWebFonts: _unocss_core.PresetFactory<any, WebFontsOptions>;
|
|
63
68
|
|
|
64
69
|
export { type Provider, type ResolvedWebFontMeta, type WebFontMeta, type WebFontsOptions, type WebFontsProviders, createGoogleCompatibleProvider as createGoogleProvider, presetWebFonts as default, normalizedFontMeta };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-web-fonts",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.7",
|
|
4
4
|
"description": "Web Fonts support for Uno CSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"ofetch": "^1.3.
|
|
41
|
-
"@unocss/core": "0.58.
|
|
40
|
+
"ofetch": "^1.3.4",
|
|
41
|
+
"@unocss/core": "0.58.7"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "unbuild",
|