@unocss/preset-mini 0.32.12 → 0.33.1
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/chunks/default2.cjs +10 -1
- package/dist/chunks/default2.mjs +10 -1
- package/package.json +2 -2
package/dist/chunks/default2.cjs
CHANGED
|
@@ -271,6 +271,11 @@ const fonts = [
|
|
|
271
271
|
([, s], { theme }) => ({ "line-height": theme.lineHeight?.[s] || utilities.handler.bracket.cssvar.global.rem(s) }),
|
|
272
272
|
{ autocomplete: "(leading|lh)-$lineHeight" }
|
|
273
273
|
],
|
|
274
|
+
[
|
|
275
|
+
/^font-synthesis-(.+)$/,
|
|
276
|
+
([, s]) => ({ "font-synthesis": s }),
|
|
277
|
+
{ autocomplete: "font-synthesis-(none|weight|style|small-caps)" }
|
|
278
|
+
],
|
|
274
279
|
[
|
|
275
280
|
/^(?:font-)?tracking-(.+)$/,
|
|
276
281
|
([, s], { theme }) => ({ "letter-spacing": theme.letterSpacing?.[s] || utilities.handler.bracket.cssvar.global.rem(s) }),
|
|
@@ -567,7 +572,11 @@ const fontStyles = [
|
|
|
567
572
|
["italic", { "font-style": "italic" }],
|
|
568
573
|
["not-italic", { "font-style": "normal" }],
|
|
569
574
|
["font-italic", { "font-style": "italic" }],
|
|
570
|
-
["font-not-italic", { "font-style": "normal" }]
|
|
575
|
+
["font-not-italic", { "font-style": "normal" }],
|
|
576
|
+
["oblique", { "font-style": "oblique" }],
|
|
577
|
+
["not-oblique", { "font-style": "normal" }],
|
|
578
|
+
["font-oblique", { "font-style": "oblique" }],
|
|
579
|
+
["font-not-oblique", { "font-style": "normal" }]
|
|
571
580
|
];
|
|
572
581
|
const fontSmoothings = [
|
|
573
582
|
["antialiased", {
|
package/dist/chunks/default2.mjs
CHANGED
|
@@ -269,6 +269,11 @@ const fonts = [
|
|
|
269
269
|
([, s], { theme }) => ({ "line-height": theme.lineHeight?.[s] || handler.bracket.cssvar.global.rem(s) }),
|
|
270
270
|
{ autocomplete: "(leading|lh)-$lineHeight" }
|
|
271
271
|
],
|
|
272
|
+
[
|
|
273
|
+
/^font-synthesis-(.+)$/,
|
|
274
|
+
([, s]) => ({ "font-synthesis": s }),
|
|
275
|
+
{ autocomplete: "font-synthesis-(none|weight|style|small-caps)" }
|
|
276
|
+
],
|
|
272
277
|
[
|
|
273
278
|
/^(?:font-)?tracking-(.+)$/,
|
|
274
279
|
([, s], { theme }) => ({ "letter-spacing": theme.letterSpacing?.[s] || handler.bracket.cssvar.global.rem(s) }),
|
|
@@ -565,7 +570,11 @@ const fontStyles = [
|
|
|
565
570
|
["italic", { "font-style": "italic" }],
|
|
566
571
|
["not-italic", { "font-style": "normal" }],
|
|
567
572
|
["font-italic", { "font-style": "italic" }],
|
|
568
|
-
["font-not-italic", { "font-style": "normal" }]
|
|
573
|
+
["font-not-italic", { "font-style": "normal" }],
|
|
574
|
+
["oblique", { "font-style": "oblique" }],
|
|
575
|
+
["not-oblique", { "font-style": "normal" }],
|
|
576
|
+
["font-oblique", { "font-style": "oblique" }],
|
|
577
|
+
["font-not-oblique", { "font-style": "normal" }]
|
|
569
578
|
];
|
|
570
579
|
const fontSmoothings = [
|
|
571
580
|
["antialiased", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.
|
|
64
|
+
"@unocss/core": "0.33.1"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|