@unocss/preset-mini 0.58.9 → 0.59.0
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.mjs +1 -1
- package/dist/shared/{preset-mini.DeOzy57x.mjs → preset-mini.B-FeHxXU.mjs} +1 -1
- package/dist/theme.mjs +1 -1
- package/package.json +18 -23
- package/dist/colors.cjs +0 -363
- package/dist/colors.d.cts +0 -354
- package/dist/index.cjs +0 -91
- package/dist/index.d.cts +0 -75
- package/dist/rules.cjs +0 -75
- package/dist/rules.d.cts +0 -129
- package/dist/shared/preset-mini.BP7cviYW.d.cts +0 -75
- package/dist/shared/preset-mini.D_Gfuejm.cjs +0 -1033
- package/dist/shared/preset-mini.DahJgnb1.cjs +0 -593
- package/dist/shared/preset-mini.P5Rzuhf5.d.cts +0 -77
- package/dist/shared/preset-mini.St8sZgQd.cjs +0 -322
- package/dist/shared/preset-mini.YtS7XCIs.cjs +0 -796
- package/dist/shared/preset-mini.bn9iWcrm.d.cts +0 -728
- package/dist/shared/preset-mini.mjThnwTD.cjs +0 -352
- package/dist/theme.cjs +0 -42
- package/dist/theme.d.cts +0 -270
- package/dist/utils.cjs +0 -42
- package/dist/utils.d.cts +0 -58
- package/dist/variants.cjs +0 -34
- package/dist/variants.d.cts +0 -47
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const utilities = require('./preset-mini.DahJgnb1.cjs');
|
|
4
|
-
|
|
5
|
-
const cursorValues = ["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out"];
|
|
6
|
-
const containValues = ["none", "strict", "content", "size", "inline-size", "layout", "style", "paint"];
|
|
7
|
-
const varEmpty = " ";
|
|
8
|
-
const displays = [
|
|
9
|
-
["inline", { display: "inline" }],
|
|
10
|
-
["block", { display: "block" }],
|
|
11
|
-
["inline-block", { display: "inline-block" }],
|
|
12
|
-
["contents", { display: "contents" }],
|
|
13
|
-
["flow-root", { display: "flow-root" }],
|
|
14
|
-
["list-item", { display: "list-item" }],
|
|
15
|
-
["hidden", { display: "none" }],
|
|
16
|
-
[/^display-(.+)$/, ([, c]) => ({ display: utilities.h.bracket.cssvar.global(c) })]
|
|
17
|
-
];
|
|
18
|
-
const appearances = [
|
|
19
|
-
["visible", { visibility: "visible" }],
|
|
20
|
-
["invisible", { visibility: "hidden" }],
|
|
21
|
-
["backface-visible", { "backface-visibility": "visible" }],
|
|
22
|
-
["backface-hidden", { "backface-visibility": "hidden" }],
|
|
23
|
-
...utilities.makeGlobalStaticRules("backface", "backface-visibility")
|
|
24
|
-
];
|
|
25
|
-
const cursors = [
|
|
26
|
-
[/^cursor-(.+)$/, ([, c]) => ({ cursor: utilities.h.bracket.cssvar.global(c) })],
|
|
27
|
-
...cursorValues.map((v) => [`cursor-${v}`, { cursor: v }])
|
|
28
|
-
];
|
|
29
|
-
const contains = [
|
|
30
|
-
[/^contain-(.*)$/, ([, d]) => {
|
|
31
|
-
if (utilities.h.bracket(d) != null) {
|
|
32
|
-
return {
|
|
33
|
-
contain: utilities.h.bracket(d).split(" ").map((e) => utilities.h.cssvar.fraction(e) ?? e).join(" ")
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
return containValues.includes(d) ? { contain: d } : void 0;
|
|
37
|
-
}]
|
|
38
|
-
];
|
|
39
|
-
const pointerEvents = [
|
|
40
|
-
["pointer-events-auto", { "pointer-events": "auto" }],
|
|
41
|
-
["pointer-events-none", { "pointer-events": "none" }],
|
|
42
|
-
...utilities.makeGlobalStaticRules("pointer-events")
|
|
43
|
-
];
|
|
44
|
-
const resizes = [
|
|
45
|
-
["resize-x", { resize: "horizontal" }],
|
|
46
|
-
["resize-y", { resize: "vertical" }],
|
|
47
|
-
["resize", { resize: "both" }],
|
|
48
|
-
["resize-none", { resize: "none" }],
|
|
49
|
-
...utilities.makeGlobalStaticRules("resize")
|
|
50
|
-
];
|
|
51
|
-
const userSelects = [
|
|
52
|
-
["select-auto", { "-webkit-user-select": "auto", "user-select": "auto" }],
|
|
53
|
-
["select-all", { "-webkit-user-select": "all", "user-select": "all" }],
|
|
54
|
-
["select-text", { "-webkit-user-select": "text", "user-select": "text" }],
|
|
55
|
-
["select-none", { "-webkit-user-select": "none", "user-select": "none" }],
|
|
56
|
-
...utilities.makeGlobalStaticRules("select", "user-select")
|
|
57
|
-
];
|
|
58
|
-
const whitespaces = [
|
|
59
|
-
[
|
|
60
|
-
/^(?:whitespace-|ws-)([-\w]+)$/,
|
|
61
|
-
([, v]) => ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces", ...utilities.globalKeywords].includes(v) ? { "white-space": v } : void 0,
|
|
62
|
-
{ autocomplete: "(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)" }
|
|
63
|
-
]
|
|
64
|
-
];
|
|
65
|
-
const contentVisibility = [
|
|
66
|
-
[/^intrinsic-size-(.+)$/, ([, d]) => ({ "contain-intrinsic-size": utilities.h.bracket.cssvar.global.fraction.rem(d) }), { autocomplete: "intrinsic-size-<num>" }],
|
|
67
|
-
["content-visibility-visible", { "content-visibility": "visible" }],
|
|
68
|
-
["content-visibility-hidden", { "content-visibility": "hidden" }],
|
|
69
|
-
["content-visibility-auto", { "content-visibility": "auto" }],
|
|
70
|
-
...utilities.makeGlobalStaticRules("content-visibility")
|
|
71
|
-
];
|
|
72
|
-
const contents = [
|
|
73
|
-
[/^content-(.+)$/, ([, v]) => ({ content: utilities.h.bracket.cssvar(v) })],
|
|
74
|
-
["content-empty", { content: '""' }],
|
|
75
|
-
["content-none", { content: "none" }]
|
|
76
|
-
];
|
|
77
|
-
const breaks = [
|
|
78
|
-
["break-normal", { "overflow-wrap": "normal", "word-break": "normal" }],
|
|
79
|
-
["break-words", { "overflow-wrap": "break-word" }],
|
|
80
|
-
["break-all", { "word-break": "break-all" }],
|
|
81
|
-
["break-keep", { "word-break": "keep-all" }],
|
|
82
|
-
["break-anywhere", { "overflow-wrap": "anywhere" }]
|
|
83
|
-
];
|
|
84
|
-
const textWraps = [
|
|
85
|
-
["text-wrap", { "text-wrap": "wrap" }],
|
|
86
|
-
["text-nowrap", { "text-wrap": "nowrap" }],
|
|
87
|
-
["text-balance", { "text-wrap": "balance" }],
|
|
88
|
-
["text-pretty", { "text-wrap": "pretty" }]
|
|
89
|
-
];
|
|
90
|
-
const textOverflows = [
|
|
91
|
-
["truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
92
|
-
["text-truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
93
|
-
["text-ellipsis", { "text-overflow": "ellipsis" }],
|
|
94
|
-
["text-clip", { "text-overflow": "clip" }]
|
|
95
|
-
];
|
|
96
|
-
const textTransforms = [
|
|
97
|
-
["case-upper", { "text-transform": "uppercase" }],
|
|
98
|
-
["case-lower", { "text-transform": "lowercase" }],
|
|
99
|
-
["case-capital", { "text-transform": "capitalize" }],
|
|
100
|
-
["case-normal", { "text-transform": "none" }],
|
|
101
|
-
...utilities.makeGlobalStaticRules("case", "text-transform")
|
|
102
|
-
];
|
|
103
|
-
const fontStyles = [
|
|
104
|
-
["italic", { "font-style": "italic" }],
|
|
105
|
-
["not-italic", { "font-style": "normal" }],
|
|
106
|
-
["font-italic", { "font-style": "italic" }],
|
|
107
|
-
["font-not-italic", { "font-style": "normal" }],
|
|
108
|
-
["oblique", { "font-style": "oblique" }],
|
|
109
|
-
["not-oblique", { "font-style": "normal" }],
|
|
110
|
-
["font-oblique", { "font-style": "oblique" }],
|
|
111
|
-
["font-not-oblique", { "font-style": "normal" }]
|
|
112
|
-
];
|
|
113
|
-
const fontSmoothings = [
|
|
114
|
-
["antialiased", {
|
|
115
|
-
"-webkit-font-smoothing": "antialiased",
|
|
116
|
-
"-moz-osx-font-smoothing": "grayscale"
|
|
117
|
-
}],
|
|
118
|
-
["subpixel-antialiased", {
|
|
119
|
-
"-webkit-font-smoothing": "auto",
|
|
120
|
-
"-moz-osx-font-smoothing": "auto"
|
|
121
|
-
}]
|
|
122
|
-
];
|
|
123
|
-
|
|
124
|
-
const ringBase = {
|
|
125
|
-
"--un-ring-inset": varEmpty,
|
|
126
|
-
"--un-ring-offset-width": "0px",
|
|
127
|
-
"--un-ring-offset-color": "#fff",
|
|
128
|
-
"--un-ring-width": "0px",
|
|
129
|
-
"--un-ring-color": "rgb(147 197 253 / 0.5)",
|
|
130
|
-
"--un-shadow": "0 0 rgb(0 0 0 / 0)"
|
|
131
|
-
};
|
|
132
|
-
const rings = [
|
|
133
|
-
// ring
|
|
134
|
-
[/^ring(?:-(.+))?$/, ([, d], { theme }) => {
|
|
135
|
-
const value = theme.ringWidth?.[d || "DEFAULT"] ?? utilities.h.px(d || "1");
|
|
136
|
-
if (value) {
|
|
137
|
-
return {
|
|
138
|
-
"--un-ring-width": value,
|
|
139
|
-
"--un-ring-offset-shadow": "var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)",
|
|
140
|
-
"--un-ring-shadow": "var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)",
|
|
141
|
-
"box-shadow": "var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
}, { autocomplete: "ring-$ringWidth" }],
|
|
145
|
-
// size
|
|
146
|
-
[/^ring-(?:width-|size-)(.+)$/, handleWidth, { autocomplete: "ring-(width|size)-$lineWidth" }],
|
|
147
|
-
// offset size
|
|
148
|
-
["ring-offset", { "--un-ring-offset-width": "1px" }],
|
|
149
|
-
[/^ring-offset-(?:width-|size-)?(.+)$/, ([, d], { theme }) => ({ "--un-ring-offset-width": theme.lineWidth?.[d] ?? utilities.h.bracket.cssvar.px(d) }), { autocomplete: "ring-offset-(width|size)-$lineWidth" }],
|
|
150
|
-
// colors
|
|
151
|
-
[/^ring-(.+)$/, handleColorOrWidth, { autocomplete: "ring-$colors" }],
|
|
152
|
-
[/^ring-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-ring-opacity": utilities.h.bracket.percent.cssvar(opacity) }), { autocomplete: "ring-(op|opacity)-<percent>" }],
|
|
153
|
-
// offset color
|
|
154
|
-
[/^ring-offset-(.+)$/, utilities.colorResolver("--un-ring-offset-color", "ring-offset", "borderColor"), { autocomplete: "ring-offset-$colors" }],
|
|
155
|
-
[/^ring-offset-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-ring-offset-opacity": utilities.h.bracket.percent.cssvar(opacity) }), { autocomplete: "ring-offset-(op|opacity)-<percent>" }],
|
|
156
|
-
// style
|
|
157
|
-
["ring-inset", { "--un-ring-inset": "inset" }]
|
|
158
|
-
];
|
|
159
|
-
function handleWidth([, b], { theme }) {
|
|
160
|
-
return { "--un-ring-width": theme.ringWidth?.[b] ?? utilities.h.bracket.cssvar.px(b) };
|
|
161
|
-
}
|
|
162
|
-
function handleColorOrWidth(match, ctx) {
|
|
163
|
-
if (utilities.isCSSMathFn(utilities.h.bracket(match[1])))
|
|
164
|
-
return handleWidth(match, ctx);
|
|
165
|
-
return utilities.colorResolver("--un-ring-color", "ring", "borderColor")(match, ctx);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
const boxShadowsBase = {
|
|
169
|
-
"--un-ring-offset-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
170
|
-
"--un-ring-shadow": "0 0 rgb(0 0 0 / 0)",
|
|
171
|
-
"--un-shadow-inset": varEmpty,
|
|
172
|
-
"--un-shadow": "0 0 rgb(0 0 0 / 0)"
|
|
173
|
-
};
|
|
174
|
-
const boxShadows = [
|
|
175
|
-
// color
|
|
176
|
-
[/^shadow(?:-(.+))?$/, (match, context) => {
|
|
177
|
-
const [, d] = match;
|
|
178
|
-
const { theme } = context;
|
|
179
|
-
const v = theme.boxShadow?.[d || "DEFAULT"];
|
|
180
|
-
const c = d ? utilities.h.bracket.cssvar(d) : void 0;
|
|
181
|
-
if ((v != null || c != null) && !utilities.hasParseableColor(c, theme, "shadowColor")) {
|
|
182
|
-
return {
|
|
183
|
-
"--un-shadow": utilities.colorableShadows(v || c, "--un-shadow-color").join(","),
|
|
184
|
-
"box-shadow": "var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
return utilities.colorResolver("--un-shadow-color", "shadow", "shadowColor")(match, context);
|
|
188
|
-
}, { autocomplete: ["shadow-$colors", "shadow-$boxShadow"] }],
|
|
189
|
-
[/^shadow-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-shadow-opacity": utilities.h.bracket.percent.cssvar(opacity) }), { autocomplete: "shadow-(op|opacity)-<percent>" }],
|
|
190
|
-
// inset
|
|
191
|
-
["shadow-inset", { "--un-shadow-inset": "inset" }]
|
|
192
|
-
];
|
|
193
|
-
|
|
194
|
-
const transformValues = [
|
|
195
|
-
"translate",
|
|
196
|
-
"rotate",
|
|
197
|
-
"scale"
|
|
198
|
-
];
|
|
199
|
-
const transformCpu = [
|
|
200
|
-
"translateX(var(--un-translate-x))",
|
|
201
|
-
"translateY(var(--un-translate-y))",
|
|
202
|
-
"translateZ(var(--un-translate-z))",
|
|
203
|
-
"rotate(var(--un-rotate))",
|
|
204
|
-
"rotateX(var(--un-rotate-x))",
|
|
205
|
-
"rotateY(var(--un-rotate-y))",
|
|
206
|
-
"rotateZ(var(--un-rotate-z))",
|
|
207
|
-
"skewX(var(--un-skew-x))",
|
|
208
|
-
"skewY(var(--un-skew-y))",
|
|
209
|
-
"scaleX(var(--un-scale-x))",
|
|
210
|
-
"scaleY(var(--un-scale-y))",
|
|
211
|
-
"scaleZ(var(--un-scale-z))"
|
|
212
|
-
].join(" ");
|
|
213
|
-
const transformGpu = [
|
|
214
|
-
"translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))",
|
|
215
|
-
"rotate(var(--un-rotate))",
|
|
216
|
-
"rotateX(var(--un-rotate-x))",
|
|
217
|
-
"rotateY(var(--un-rotate-y))",
|
|
218
|
-
"rotateZ(var(--un-rotate-z))",
|
|
219
|
-
"skewX(var(--un-skew-x))",
|
|
220
|
-
"skewY(var(--un-skew-y))",
|
|
221
|
-
"scaleX(var(--un-scale-x))",
|
|
222
|
-
"scaleY(var(--un-scale-y))",
|
|
223
|
-
"scaleZ(var(--un-scale-z))"
|
|
224
|
-
].join(" ");
|
|
225
|
-
const transformBase = {
|
|
226
|
-
// transform
|
|
227
|
-
"--un-rotate": 0,
|
|
228
|
-
"--un-rotate-x": 0,
|
|
229
|
-
"--un-rotate-y": 0,
|
|
230
|
-
"--un-rotate-z": 0,
|
|
231
|
-
"--un-scale-x": 1,
|
|
232
|
-
"--un-scale-y": 1,
|
|
233
|
-
"--un-scale-z": 1,
|
|
234
|
-
"--un-skew-x": 0,
|
|
235
|
-
"--un-skew-y": 0,
|
|
236
|
-
"--un-translate-x": 0,
|
|
237
|
-
"--un-translate-y": 0,
|
|
238
|
-
"--un-translate-z": 0
|
|
239
|
-
};
|
|
240
|
-
const transforms = [
|
|
241
|
-
// origins
|
|
242
|
-
[/^(?:transform-)?origin-(.+)$/, ([, s]) => ({ "transform-origin": utilities.positionMap[s] ?? utilities.h.bracket.cssvar(s) }), { autocomplete: [`transform-origin-(${Object.keys(utilities.positionMap).join("|")})`, `origin-(${Object.keys(utilities.positionMap).join("|")})`] }],
|
|
243
|
-
// perspectives
|
|
244
|
-
[/^(?:transform-)?perspect(?:ive)?-(.+)$/, ([, s]) => {
|
|
245
|
-
const v = utilities.h.bracket.cssvar.px.numberWithUnit(s);
|
|
246
|
-
if (v != null) {
|
|
247
|
-
return {
|
|
248
|
-
"-webkit-perspective": v,
|
|
249
|
-
"perspective": v
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
}],
|
|
253
|
-
// skip 1 & 2 letters shortcut
|
|
254
|
-
[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/, ([, s]) => {
|
|
255
|
-
const v = utilities.h.bracket.cssvar(s) ?? (s.length >= 3 ? utilities.positionMap[s] : void 0);
|
|
256
|
-
if (v != null) {
|
|
257
|
-
return {
|
|
258
|
-
"-webkit-perspective-origin": v,
|
|
259
|
-
"perspective-origin": v
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
}],
|
|
263
|
-
// modifiers
|
|
264
|
-
[/^(?:transform-)?translate-()(.+)$/, handleTranslate],
|
|
265
|
-
[/^(?:transform-)?translate-([xyz])-(.+)$/, handleTranslate],
|
|
266
|
-
[/^(?:transform-)?rotate-()(.+)$/, handleRotate],
|
|
267
|
-
[/^(?:transform-)?rotate-([xyz])-(.+)$/, handleRotate],
|
|
268
|
-
[/^(?:transform-)?skew-()(.+)$/, handleSkew],
|
|
269
|
-
[/^(?:transform-)?skew-([xy])-(.+)$/, handleSkew, { autocomplete: ["transform-skew-(x|y)-<percent>", "skew-(x|y)-<percent>"] }],
|
|
270
|
-
[/^(?:transform-)?scale-()(.+)$/, handleScale],
|
|
271
|
-
[/^(?:transform-)?scale-([xyz])-(.+)$/, handleScale, { autocomplete: [`transform-(${transformValues.join("|")})-<percent>`, `transform-(${transformValues.join("|")})-(x|y|z)-<percent>`, `(${transformValues.join("|")})-<percent>`, `(${transformValues.join("|")})-(x|y|z)-<percent>`] }],
|
|
272
|
-
// style
|
|
273
|
-
[/^(?:transform-)?preserve-3d$/, () => ({ "transform-style": "preserve-3d" })],
|
|
274
|
-
[/^(?:transform-)?preserve-flat$/, () => ({ "transform-style": "flat" })],
|
|
275
|
-
// base
|
|
276
|
-
["transform", { transform: transformCpu }],
|
|
277
|
-
["transform-cpu", { transform: transformCpu }],
|
|
278
|
-
["transform-gpu", { transform: transformGpu }],
|
|
279
|
-
["transform-none", { transform: "none" }],
|
|
280
|
-
...utilities.makeGlobalStaticRules("transform")
|
|
281
|
-
];
|
|
282
|
-
function handleTranslate([, d, b], { theme }) {
|
|
283
|
-
const v = theme.spacing?.[b] ?? utilities.h.bracket.cssvar.fraction.rem(b);
|
|
284
|
-
if (v != null) {
|
|
285
|
-
return [
|
|
286
|
-
...utilities.transformXYZ(d, v, "translate"),
|
|
287
|
-
["transform", transformCpu]
|
|
288
|
-
];
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
function handleScale([, d, b]) {
|
|
292
|
-
const v = utilities.h.bracket.cssvar.fraction.percent(b);
|
|
293
|
-
if (v != null) {
|
|
294
|
-
return [
|
|
295
|
-
...utilities.transformXYZ(d, v, "scale"),
|
|
296
|
-
["transform", transformCpu]
|
|
297
|
-
];
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
function handleRotate([, d = "", b]) {
|
|
301
|
-
const v = utilities.h.bracket.cssvar.degree(b);
|
|
302
|
-
if (v != null) {
|
|
303
|
-
if (d) {
|
|
304
|
-
return {
|
|
305
|
-
"--un-rotate": 0,
|
|
306
|
-
[`--un-rotate-${d}`]: v,
|
|
307
|
-
"transform": transformCpu
|
|
308
|
-
};
|
|
309
|
-
} else {
|
|
310
|
-
return {
|
|
311
|
-
"--un-rotate-x": 0,
|
|
312
|
-
"--un-rotate-y": 0,
|
|
313
|
-
"--un-rotate-z": 0,
|
|
314
|
-
"--un-rotate": v,
|
|
315
|
-
"transform": transformCpu
|
|
316
|
-
};
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
function handleSkew([, d, b]) {
|
|
321
|
-
const v = utilities.h.bracket.cssvar.degree(b);
|
|
322
|
-
if (v != null) {
|
|
323
|
-
return [
|
|
324
|
-
...utilities.transformXYZ(d, v, "skew"),
|
|
325
|
-
["transform", transformCpu]
|
|
326
|
-
];
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
exports.appearances = appearances;
|
|
331
|
-
exports.boxShadows = boxShadows;
|
|
332
|
-
exports.boxShadowsBase = boxShadowsBase;
|
|
333
|
-
exports.breaks = breaks;
|
|
334
|
-
exports.contains = contains;
|
|
335
|
-
exports.contentVisibility = contentVisibility;
|
|
336
|
-
exports.contents = contents;
|
|
337
|
-
exports.cursors = cursors;
|
|
338
|
-
exports.displays = displays;
|
|
339
|
-
exports.fontSmoothings = fontSmoothings;
|
|
340
|
-
exports.fontStyles = fontStyles;
|
|
341
|
-
exports.pointerEvents = pointerEvents;
|
|
342
|
-
exports.resizes = resizes;
|
|
343
|
-
exports.ringBase = ringBase;
|
|
344
|
-
exports.rings = rings;
|
|
345
|
-
exports.textOverflows = textOverflows;
|
|
346
|
-
exports.textTransforms = textTransforms;
|
|
347
|
-
exports.textWraps = textWraps;
|
|
348
|
-
exports.transformBase = transformBase;
|
|
349
|
-
exports.transforms = transforms;
|
|
350
|
-
exports.userSelects = userSelects;
|
|
351
|
-
exports.varEmpty = varEmpty;
|
|
352
|
-
exports.whitespaces = whitespaces;
|
package/dist/theme.cjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const colors = require('./colors.cjs');
|
|
4
|
-
const _default = require('./shared/preset-mini.St8sZgQd.cjs');
|
|
5
|
-
require('./shared/preset-mini.mjThnwTD.cjs');
|
|
6
|
-
require('./shared/preset-mini.DahJgnb1.cjs');
|
|
7
|
-
require('@unocss/core');
|
|
8
|
-
require('@unocss/rule-utils');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.colors = colors.colors;
|
|
13
|
-
exports.baseSize = _default.baseSize;
|
|
14
|
-
exports.blur = _default.blur;
|
|
15
|
-
exports.borderRadius = _default.borderRadius;
|
|
16
|
-
exports.boxShadow = _default.boxShadow;
|
|
17
|
-
exports.breakpoints = _default.breakpoints;
|
|
18
|
-
exports.containers = _default.containers;
|
|
19
|
-
exports.dropShadow = _default.dropShadow;
|
|
20
|
-
exports.duration = _default.duration;
|
|
21
|
-
exports.easing = _default.easing;
|
|
22
|
-
exports.fontFamily = _default.fontFamily;
|
|
23
|
-
exports.fontSize = _default.fontSize;
|
|
24
|
-
exports.fontWeight = _default.fontWeight;
|
|
25
|
-
exports.height = _default.height;
|
|
26
|
-
exports.letterSpacing = _default.letterSpacing;
|
|
27
|
-
exports.lineHeight = _default.lineHeight;
|
|
28
|
-
exports.lineWidth = _default.lineWidth;
|
|
29
|
-
exports.maxHeight = _default.maxHeight;
|
|
30
|
-
exports.maxWidth = _default.maxWidth;
|
|
31
|
-
exports.media = _default.media;
|
|
32
|
-
exports.preflightBase = _default.preflightBase;
|
|
33
|
-
exports.ringWidth = _default.ringWidth;
|
|
34
|
-
exports.spacing = _default.spacing;
|
|
35
|
-
exports.textIndent = _default.textIndent;
|
|
36
|
-
exports.textShadow = _default.textShadow;
|
|
37
|
-
exports.textStrokeWidth = _default.textStrokeWidth;
|
|
38
|
-
exports.theme = _default.theme;
|
|
39
|
-
exports.verticalBreakpoints = _default.verticalBreakpoints;
|
|
40
|
-
exports.width = _default.width;
|
|
41
|
-
exports.wordSpacing = _default.wordSpacing;
|
|
42
|
-
exports.zIndex = _default.zIndex;
|
package/dist/theme.d.cts
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
export { colors } from './colors.cjs';
|
|
2
|
-
export { t as theme } from './shared/preset-mini.bn9iWcrm.cjs';
|
|
3
|
-
import { T as Theme } from './shared/preset-mini.P5Rzuhf5.cjs';
|
|
4
|
-
export { C as Colors, a as ThemeAnimation } from './shared/preset-mini.P5Rzuhf5.cjs';
|
|
5
|
-
import '@unocss/core';
|
|
6
|
-
|
|
7
|
-
declare const blur: {
|
|
8
|
-
DEFAULT: string;
|
|
9
|
-
'0': string;
|
|
10
|
-
sm: string;
|
|
11
|
-
md: string;
|
|
12
|
-
lg: string;
|
|
13
|
-
xl: string;
|
|
14
|
-
'2xl': string;
|
|
15
|
-
'3xl': string;
|
|
16
|
-
};
|
|
17
|
-
declare const dropShadow: {
|
|
18
|
-
DEFAULT: string[];
|
|
19
|
-
sm: string;
|
|
20
|
-
md: string[];
|
|
21
|
-
lg: string[];
|
|
22
|
-
xl: string[];
|
|
23
|
-
'2xl': string;
|
|
24
|
-
none: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
declare const fontFamily: {
|
|
28
|
-
sans: string;
|
|
29
|
-
serif: string;
|
|
30
|
-
mono: string;
|
|
31
|
-
};
|
|
32
|
-
declare const fontSize: Theme['fontSize'];
|
|
33
|
-
declare const textIndent: Theme['textIndent'];
|
|
34
|
-
declare const textStrokeWidth: Theme['textStrokeWidth'];
|
|
35
|
-
declare const textShadow: {
|
|
36
|
-
DEFAULT: string[];
|
|
37
|
-
none: string;
|
|
38
|
-
sm: string;
|
|
39
|
-
md: string[];
|
|
40
|
-
lg: string[];
|
|
41
|
-
xl: string[];
|
|
42
|
-
};
|
|
43
|
-
declare const lineHeight: {
|
|
44
|
-
none: string;
|
|
45
|
-
tight: string;
|
|
46
|
-
snug: string;
|
|
47
|
-
normal: string;
|
|
48
|
-
relaxed: string;
|
|
49
|
-
loose: string;
|
|
50
|
-
};
|
|
51
|
-
declare const letterSpacing: {
|
|
52
|
-
tighter: string;
|
|
53
|
-
tight: string;
|
|
54
|
-
normal: string;
|
|
55
|
-
wide: string;
|
|
56
|
-
wider: string;
|
|
57
|
-
widest: string;
|
|
58
|
-
};
|
|
59
|
-
declare const fontWeight: {
|
|
60
|
-
thin: string;
|
|
61
|
-
extralight: string;
|
|
62
|
-
light: string;
|
|
63
|
-
normal: string;
|
|
64
|
-
medium: string;
|
|
65
|
-
semibold: string;
|
|
66
|
-
bold: string;
|
|
67
|
-
extrabold: string;
|
|
68
|
-
black: string;
|
|
69
|
-
};
|
|
70
|
-
declare const wordSpacing: {
|
|
71
|
-
tighter: string;
|
|
72
|
-
tight: string;
|
|
73
|
-
normal: string;
|
|
74
|
-
wide: string;
|
|
75
|
-
wider: string;
|
|
76
|
-
widest: string;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
declare const breakpoints: {
|
|
80
|
-
sm: string;
|
|
81
|
-
md: string;
|
|
82
|
-
lg: string;
|
|
83
|
-
xl: string;
|
|
84
|
-
'2xl': string;
|
|
85
|
-
};
|
|
86
|
-
declare const verticalBreakpoints: {
|
|
87
|
-
sm: string;
|
|
88
|
-
md: string;
|
|
89
|
-
lg: string;
|
|
90
|
-
xl: string;
|
|
91
|
-
'2xl': string;
|
|
92
|
-
};
|
|
93
|
-
declare const lineWidth: {
|
|
94
|
-
DEFAULT: string;
|
|
95
|
-
none: string;
|
|
96
|
-
};
|
|
97
|
-
declare const spacing: {
|
|
98
|
-
DEFAULT: string;
|
|
99
|
-
none: string;
|
|
100
|
-
xs: string;
|
|
101
|
-
sm: string;
|
|
102
|
-
lg: string;
|
|
103
|
-
xl: string;
|
|
104
|
-
'2xl': string;
|
|
105
|
-
'3xl': string;
|
|
106
|
-
'4xl': string;
|
|
107
|
-
'5xl': string;
|
|
108
|
-
'6xl': string;
|
|
109
|
-
'7xl': string;
|
|
110
|
-
'8xl': string;
|
|
111
|
-
'9xl': string;
|
|
112
|
-
};
|
|
113
|
-
declare const duration: {
|
|
114
|
-
DEFAULT: string;
|
|
115
|
-
none: string;
|
|
116
|
-
75: string;
|
|
117
|
-
100: string;
|
|
118
|
-
150: string;
|
|
119
|
-
200: string;
|
|
120
|
-
300: string;
|
|
121
|
-
500: string;
|
|
122
|
-
700: string;
|
|
123
|
-
1000: string;
|
|
124
|
-
};
|
|
125
|
-
declare const borderRadius: {
|
|
126
|
-
DEFAULT: string;
|
|
127
|
-
none: string;
|
|
128
|
-
sm: string;
|
|
129
|
-
md: string;
|
|
130
|
-
lg: string;
|
|
131
|
-
xl: string;
|
|
132
|
-
'2xl': string;
|
|
133
|
-
'3xl': string;
|
|
134
|
-
full: string;
|
|
135
|
-
};
|
|
136
|
-
declare const boxShadow: {
|
|
137
|
-
DEFAULT: string[];
|
|
138
|
-
none: string;
|
|
139
|
-
sm: string;
|
|
140
|
-
md: string[];
|
|
141
|
-
lg: string[];
|
|
142
|
-
xl: string[];
|
|
143
|
-
'2xl': string;
|
|
144
|
-
inner: string;
|
|
145
|
-
};
|
|
146
|
-
declare const easing: {
|
|
147
|
-
DEFAULT: string;
|
|
148
|
-
linear: string;
|
|
149
|
-
in: string;
|
|
150
|
-
out: string;
|
|
151
|
-
'in-out': string;
|
|
152
|
-
};
|
|
153
|
-
declare const ringWidth: {
|
|
154
|
-
DEFAULT: string;
|
|
155
|
-
none: string;
|
|
156
|
-
};
|
|
157
|
-
declare const zIndex: {
|
|
158
|
-
auto: string;
|
|
159
|
-
};
|
|
160
|
-
declare const media: {
|
|
161
|
-
mouse: string;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
declare const preflightBase: {
|
|
165
|
-
'--un-ring-inset': string;
|
|
166
|
-
'--un-ring-offset-width': string;
|
|
167
|
-
'--un-ring-offset-color': string;
|
|
168
|
-
'--un-ring-width': string;
|
|
169
|
-
'--un-ring-color': string;
|
|
170
|
-
'--un-shadow': string;
|
|
171
|
-
'--un-ring-offset-shadow': string;
|
|
172
|
-
'--un-ring-shadow': string;
|
|
173
|
-
'--un-shadow-inset': string;
|
|
174
|
-
'--un-rotate': number;
|
|
175
|
-
'--un-rotate-x': number;
|
|
176
|
-
'--un-rotate-y': number;
|
|
177
|
-
'--un-rotate-z': number;
|
|
178
|
-
'--un-scale-x': number;
|
|
179
|
-
'--un-scale-y': number;
|
|
180
|
-
'--un-scale-z': number;
|
|
181
|
-
'--un-skew-x': number;
|
|
182
|
-
'--un-skew-y': number;
|
|
183
|
-
'--un-translate-x': number;
|
|
184
|
-
'--un-translate-y': number;
|
|
185
|
-
'--un-translate-z': number;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
declare const baseSize: {
|
|
189
|
-
xs: string;
|
|
190
|
-
sm: string;
|
|
191
|
-
md: string;
|
|
192
|
-
lg: string;
|
|
193
|
-
xl: string;
|
|
194
|
-
'2xl': string;
|
|
195
|
-
'3xl': string;
|
|
196
|
-
'4xl': string;
|
|
197
|
-
'5xl': string;
|
|
198
|
-
'6xl': string;
|
|
199
|
-
'7xl': string;
|
|
200
|
-
prose: string;
|
|
201
|
-
};
|
|
202
|
-
declare const width: {
|
|
203
|
-
screen: string;
|
|
204
|
-
xs: string;
|
|
205
|
-
sm: string;
|
|
206
|
-
md: string;
|
|
207
|
-
lg: string;
|
|
208
|
-
xl: string;
|
|
209
|
-
'2xl': string;
|
|
210
|
-
'3xl': string;
|
|
211
|
-
'4xl': string;
|
|
212
|
-
'5xl': string;
|
|
213
|
-
'6xl': string;
|
|
214
|
-
'7xl': string;
|
|
215
|
-
prose: string;
|
|
216
|
-
auto: string;
|
|
217
|
-
};
|
|
218
|
-
declare const maxWidth: {
|
|
219
|
-
screen: string;
|
|
220
|
-
xs: string;
|
|
221
|
-
sm: string;
|
|
222
|
-
md: string;
|
|
223
|
-
lg: string;
|
|
224
|
-
xl: string;
|
|
225
|
-
'2xl': string;
|
|
226
|
-
'3xl': string;
|
|
227
|
-
'4xl': string;
|
|
228
|
-
'5xl': string;
|
|
229
|
-
'6xl': string;
|
|
230
|
-
'7xl': string;
|
|
231
|
-
prose: string;
|
|
232
|
-
none: string;
|
|
233
|
-
};
|
|
234
|
-
declare const height: {
|
|
235
|
-
screen: string;
|
|
236
|
-
xs: string;
|
|
237
|
-
sm: string;
|
|
238
|
-
md: string;
|
|
239
|
-
lg: string;
|
|
240
|
-
xl: string;
|
|
241
|
-
'2xl': string;
|
|
242
|
-
'3xl': string;
|
|
243
|
-
'4xl': string;
|
|
244
|
-
'5xl': string;
|
|
245
|
-
'6xl': string;
|
|
246
|
-
'7xl': string;
|
|
247
|
-
prose: string;
|
|
248
|
-
auto: string;
|
|
249
|
-
};
|
|
250
|
-
declare const maxHeight: {
|
|
251
|
-
screen: string;
|
|
252
|
-
xs: string;
|
|
253
|
-
sm: string;
|
|
254
|
-
md: string;
|
|
255
|
-
lg: string;
|
|
256
|
-
xl: string;
|
|
257
|
-
'2xl': string;
|
|
258
|
-
'3xl': string;
|
|
259
|
-
'4xl': string;
|
|
260
|
-
'5xl': string;
|
|
261
|
-
'6xl': string;
|
|
262
|
-
'7xl': string;
|
|
263
|
-
prose: string;
|
|
264
|
-
none: string;
|
|
265
|
-
};
|
|
266
|
-
declare const containers: {
|
|
267
|
-
[k: string]: string;
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
export { Theme, baseSize, blur, borderRadius, boxShadow, breakpoints, containers, dropShadow, duration, easing, fontFamily, fontSize, fontWeight, height, letterSpacing, lineHeight, lineWidth, maxHeight, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, verticalBreakpoints, width, wordSpacing, zIndex };
|