poon-choi 0.0.3 → 0.0.4

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.
Files changed (49) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/assets/about-D4e6L2RX.js +1 -0
  3. package/.output/public/assets/index-B6P0kA2f.css +1 -0
  4. package/.output/public/assets/index-CdiJXXIG.js +11 -0
  5. package/.output/public/assets/routes-BgrRSMVP.js +7 -0
  6. package/.output/public/assets/styles-DqQrEVt_.css +1 -0
  7. package/.output/server/_chunks/ssr-renderer.mjs +23 -0
  8. package/.output/server/_libs/@tanstack/react-router+[...].mjs +15021 -0
  9. package/.output/server/_libs/clsx.mjs +15 -0
  10. package/.output/server/_libs/h3+rou3+srvx.mjs +1352 -0
  11. package/.output/server/_libs/tailwind-merge.mjs +3459 -0
  12. package/.output/server/_libs/tanstack__history.mjs +363 -0
  13. package/.output/server/_libs/ufo.mjs +63 -0
  14. package/.output/server/_runtime.mjs +34 -0
  15. package/.output/server/_ssr/about-C106R88A.mjs +26 -0
  16. package/.output/server/_ssr/empty-plugin-adapters-BiGySXWX.mjs +4 -0
  17. package/.output/server/_ssr/router-B7lhQtFL.mjs +258 -0
  18. package/.output/server/_ssr/routes-Cutxg__h.mjs +769 -0
  19. package/.output/server/_ssr/ssr.mjs +7304 -0
  20. package/.output/server/_ssr/start-CwhArFJN.mjs +3 -0
  21. package/.output/server/_tanstack-start-manifest_v-Dh5m4VsW.mjs +25 -0
  22. package/.output/server/index.mjs +311 -0
  23. package/LICENSE +21 -0
  24. package/README.md +8 -0
  25. package/README.zh.md +8 -0
  26. package/bin/{index.ts → cli.ts} +6 -2
  27. package/package.json +12 -49
  28. package/README.tanstack-start.md +0 -224
  29. package/src/components/DropStage.tsx +0 -64
  30. package/src/components/FitModeToggle.tsx +0 -34
  31. package/src/components/Footer.tsx +0 -44
  32. package/src/components/GapColorPicker.tsx +0 -53
  33. package/src/components/Header.tsx +0 -78
  34. package/src/components/PresetColorDropdown.tsx +0 -166
  35. package/src/components/ThemeToggle.tsx +0 -81
  36. package/src/components/ThumbnailStrip.tsx +0 -147
  37. package/src/components/VerticalSeparator.tsx +0 -5
  38. package/src/hooks/useToast.tsx +0 -23
  39. package/src/lib/config.ts +0 -48
  40. package/src/lib/draw.ts +0 -78
  41. package/src/lib/file.ts +0 -23
  42. package/src/lib/utils.ts +0 -7
  43. package/src/routeTree.gen.ts +0 -86
  44. package/src/router.tsx +0 -19
  45. package/src/routes/__root.tsx +0 -68
  46. package/src/routes/about.tsx +0 -23
  47. package/src/routes/index.css +0 -300
  48. package/src/routes/index.tsx +0 -511
  49. package/src/styles.css +0 -375
@@ -0,0 +1,3459 @@
1
+ // node_modules/.pnpm/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
2
+ /**
3
+ * Concatenates two arrays faster than the array spread operator.
4
+ */
5
+ var concatArrays = (array1, array2) => {
6
+ const combinedArray = new Array(array1.length + array2.length);
7
+ for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
8
+ for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
9
+ return combinedArray;
10
+ };
11
+ var createClassValidatorObject = (classGroupId, validator) => ({
12
+ classGroupId,
13
+ validator
14
+ });
15
+ var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
16
+ nextPart,
17
+ validators,
18
+ classGroupId
19
+ });
20
+ var CLASS_PART_SEPARATOR = "-";
21
+ var EMPTY_CONFLICTS = [];
22
+ var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
23
+ var createClassGroupUtils = (config) => {
24
+ const classMap = createClassMap(config);
25
+ const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
26
+ const getClassGroupId = (className) => {
27
+ if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
28
+ const classParts = className.split(CLASS_PART_SEPARATOR);
29
+ return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
30
+ };
31
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
32
+ if (hasPostfixModifier) {
33
+ const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
34
+ const baseConflicts = conflictingClassGroups[classGroupId];
35
+ if (modifierConflicts) {
36
+ if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
37
+ return modifierConflicts;
38
+ }
39
+ return baseConflicts || EMPTY_CONFLICTS;
40
+ }
41
+ return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
42
+ };
43
+ return {
44
+ getClassGroupId,
45
+ getConflictingClassGroupIds
46
+ };
47
+ };
48
+ var getGroupRecursive = (classParts, startIndex, classPartObject) => {
49
+ if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
50
+ const currentClassPart = classParts[startIndex];
51
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
52
+ if (nextClassPartObject) {
53
+ const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
54
+ if (result) return result;
55
+ }
56
+ const validators = classPartObject.validators;
57
+ if (validators === null) return;
58
+ const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
59
+ const validatorsLength = validators.length;
60
+ for (let i = 0; i < validatorsLength; i++) {
61
+ const validatorObj = validators[i];
62
+ if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
63
+ }
64
+ };
65
+ /**
66
+ * Get the class group ID for an arbitrary property.
67
+ *
68
+ * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
69
+ */
70
+ var getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
71
+ const content = className.slice(1, -1);
72
+ const colonIndex = content.indexOf(":");
73
+ const property = content.slice(0, colonIndex);
74
+ return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
75
+ })();
76
+ /**
77
+ * Exported for testing only
78
+ */
79
+ var createClassMap = (config) => {
80
+ const { theme, classGroups } = config;
81
+ return processClassGroups(classGroups, theme);
82
+ };
83
+ var processClassGroups = (classGroups, theme) => {
84
+ const classMap = createClassPartObject();
85
+ for (const classGroupId in classGroups) {
86
+ const group = classGroups[classGroupId];
87
+ processClassesRecursively(group, classMap, classGroupId, theme);
88
+ }
89
+ return classMap;
90
+ };
91
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
92
+ const len = classGroup.length;
93
+ for (let i = 0; i < len; i++) {
94
+ const classDefinition = classGroup[i];
95
+ processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
96
+ }
97
+ };
98
+ var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
99
+ if (typeof classDefinition === "string") {
100
+ processStringDefinition(classDefinition, classPartObject, classGroupId);
101
+ return;
102
+ }
103
+ if (typeof classDefinition === "function") {
104
+ processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
105
+ return;
106
+ }
107
+ processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
108
+ };
109
+ var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
110
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
111
+ classPartObjectToEdit.classGroupId = classGroupId;
112
+ };
113
+ var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
114
+ if (isThemeGetter(classDefinition)) {
115
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
116
+ return;
117
+ }
118
+ if (classPartObject.validators === null) classPartObject.validators = [];
119
+ classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
120
+ };
121
+ var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
122
+ const entries = Object.entries(classDefinition);
123
+ const len = entries.length;
124
+ for (let i = 0; i < len; i++) {
125
+ const [key, value] = entries[i];
126
+ processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
127
+ }
128
+ };
129
+ var getPart = (classPartObject, path) => {
130
+ let current = classPartObject;
131
+ const parts = path.split(CLASS_PART_SEPARATOR);
132
+ const len = parts.length;
133
+ for (let i = 0; i < len; i++) {
134
+ const part = parts[i];
135
+ let next = current.nextPart.get(part);
136
+ if (!next) {
137
+ next = createClassPartObject();
138
+ current.nextPart.set(part, next);
139
+ }
140
+ current = next;
141
+ }
142
+ return current;
143
+ };
144
+ var isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
145
+ var createLruCache = (maxCacheSize) => {
146
+ if (maxCacheSize < 1) return {
147
+ get: () => void 0,
148
+ set: () => {}
149
+ };
150
+ let cacheSize = 0;
151
+ let cache = Object.create(null);
152
+ let previousCache = Object.create(null);
153
+ const update = (key, value) => {
154
+ cache[key] = value;
155
+ cacheSize++;
156
+ if (cacheSize > maxCacheSize) {
157
+ cacheSize = 0;
158
+ previousCache = cache;
159
+ cache = Object.create(null);
160
+ }
161
+ };
162
+ return {
163
+ get(key) {
164
+ let value = cache[key];
165
+ if (value !== void 0) return value;
166
+ if ((value = previousCache[key]) !== void 0) {
167
+ update(key, value);
168
+ return value;
169
+ }
170
+ },
171
+ set(key, value) {
172
+ if (key in cache) cache[key] = value;
173
+ else update(key, value);
174
+ }
175
+ };
176
+ };
177
+ var IMPORTANT_MODIFIER = "!";
178
+ var MODIFIER_SEPARATOR = ":";
179
+ var EMPTY_MODIFIERS = [];
180
+ var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
181
+ modifiers,
182
+ hasImportantModifier,
183
+ baseClassName,
184
+ maybePostfixModifierPosition,
185
+ isExternal
186
+ });
187
+ var createParseClassName = (config) => {
188
+ const { prefix, experimentalParseClassName } = config;
189
+ /**
190
+ * Parse class name into parts.
191
+ *
192
+ * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
193
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
194
+ */
195
+ let parseClassName = (className) => {
196
+ const modifiers = [];
197
+ let bracketDepth = 0;
198
+ let parenDepth = 0;
199
+ let modifierStart = 0;
200
+ let postfixModifierPosition;
201
+ const len = className.length;
202
+ for (let index = 0; index < len; index++) {
203
+ const currentCharacter = className[index];
204
+ if (bracketDepth === 0 && parenDepth === 0) {
205
+ if (currentCharacter === MODIFIER_SEPARATOR) {
206
+ modifiers.push(className.slice(modifierStart, index));
207
+ modifierStart = index + 1;
208
+ continue;
209
+ }
210
+ if (currentCharacter === "/") {
211
+ postfixModifierPosition = index;
212
+ continue;
213
+ }
214
+ }
215
+ if (currentCharacter === "[") bracketDepth++;
216
+ else if (currentCharacter === "]") bracketDepth--;
217
+ else if (currentCharacter === "(") parenDepth++;
218
+ else if (currentCharacter === ")") parenDepth--;
219
+ }
220
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
221
+ let baseClassName = baseClassNameWithImportantModifier;
222
+ let hasImportantModifier = false;
223
+ if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
224
+ baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
225
+ hasImportantModifier = true;
226
+ } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
227
+ baseClassName = baseClassNameWithImportantModifier.slice(1);
228
+ hasImportantModifier = true;
229
+ }
230
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
231
+ return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
232
+ };
233
+ if (prefix) {
234
+ const fullPrefix = prefix + MODIFIER_SEPARATOR;
235
+ const parseClassNameOriginal = parseClassName;
236
+ parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
237
+ }
238
+ if (experimentalParseClassName) {
239
+ const parseClassNameOriginal = parseClassName;
240
+ parseClassName = (className) => experimentalParseClassName({
241
+ className,
242
+ parseClassName: parseClassNameOriginal
243
+ });
244
+ }
245
+ return parseClassName;
246
+ };
247
+ /**
248
+ * Sorts modifiers according to following schema:
249
+ * - Predefined modifiers are sorted alphabetically
250
+ * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
251
+ */
252
+ var createSortModifiers = (config) => {
253
+ const modifierWeights = /* @__PURE__ */ new Map();
254
+ config.orderSensitiveModifiers.forEach((mod, index) => {
255
+ modifierWeights.set(mod, 1e6 + index);
256
+ });
257
+ return (modifiers) => {
258
+ const result = [];
259
+ let currentSegment = [];
260
+ for (let i = 0; i < modifiers.length; i++) {
261
+ const modifier = modifiers[i];
262
+ const isArbitrary = modifier[0] === "[";
263
+ const isOrderSensitive = modifierWeights.has(modifier);
264
+ if (isArbitrary || isOrderSensitive) {
265
+ if (currentSegment.length > 0) {
266
+ currentSegment.sort();
267
+ result.push(...currentSegment);
268
+ currentSegment = [];
269
+ }
270
+ result.push(modifier);
271
+ } else currentSegment.push(modifier);
272
+ }
273
+ if (currentSegment.length > 0) {
274
+ currentSegment.sort();
275
+ result.push(...currentSegment);
276
+ }
277
+ return result;
278
+ };
279
+ };
280
+ var createConfigUtils = (config) => ({
281
+ cache: createLruCache(config.cacheSize),
282
+ parseClassName: createParseClassName(config),
283
+ sortModifiers: createSortModifiers(config),
284
+ postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
285
+ ...createClassGroupUtils(config)
286
+ });
287
+ var createPostfixLookupClassGroupIds = (config) => {
288
+ const lookup = Object.create(null);
289
+ const classGroupIds = config.postfixLookupClassGroups;
290
+ if (classGroupIds) for (let i = 0; i < classGroupIds.length; i++) lookup[classGroupIds[i]] = true;
291
+ return lookup;
292
+ };
293
+ var SPLIT_CLASSES_REGEX = /\s+/;
294
+ var mergeClassList = (classList, configUtils) => {
295
+ const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers, postfixLookupClassGroupIds } = configUtils;
296
+ /**
297
+ * Set of classGroupIds in following format:
298
+ * `{importantModifier}{variantModifiers}{classGroupId}`
299
+ * @example 'float'
300
+ * @example 'hover:focus:bg-color'
301
+ * @example 'md:!pr'
302
+ */
303
+ const classGroupsInConflict = [];
304
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
305
+ let result = "";
306
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
307
+ const originalClassName = classNames[index];
308
+ const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
309
+ if (isExternal) {
310
+ result = originalClassName + (result.length > 0 ? " " + result : result);
311
+ continue;
312
+ }
313
+ let hasPostfixModifier = !!maybePostfixModifierPosition;
314
+ let classGroupId;
315
+ if (hasPostfixModifier) {
316
+ classGroupId = getClassGroupId(baseClassName.substring(0, maybePostfixModifierPosition));
317
+ const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
318
+ if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
319
+ classGroupId = classGroupIdWithPostfix;
320
+ hasPostfixModifier = false;
321
+ }
322
+ } else classGroupId = getClassGroupId(baseClassName);
323
+ if (!classGroupId) {
324
+ if (!hasPostfixModifier) {
325
+ result = originalClassName + (result.length > 0 ? " " + result : result);
326
+ continue;
327
+ }
328
+ classGroupId = getClassGroupId(baseClassName);
329
+ if (!classGroupId) {
330
+ result = originalClassName + (result.length > 0 ? " " + result : result);
331
+ continue;
332
+ }
333
+ hasPostfixModifier = false;
334
+ }
335
+ const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
336
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
337
+ const classId = modifierId + classGroupId;
338
+ if (classGroupsInConflict.indexOf(classId) > -1) continue;
339
+ classGroupsInConflict.push(classId);
340
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
341
+ for (let i = 0; i < conflictGroups.length; ++i) {
342
+ const group = conflictGroups[i];
343
+ classGroupsInConflict.push(modifierId + group);
344
+ }
345
+ result = originalClassName + (result.length > 0 ? " " + result : result);
346
+ }
347
+ return result;
348
+ };
349
+ /**
350
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
351
+ *
352
+ * Specifically:
353
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
354
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
355
+ *
356
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
357
+ */
358
+ var twJoin = (...classLists) => {
359
+ let index = 0;
360
+ let argument;
361
+ let resolvedValue;
362
+ let string = "";
363
+ while (index < classLists.length) if (argument = classLists[index++]) {
364
+ if (resolvedValue = toValue(argument)) {
365
+ string && (string += " ");
366
+ string += resolvedValue;
367
+ }
368
+ }
369
+ return string;
370
+ };
371
+ var toValue = (mix) => {
372
+ if (typeof mix === "string") return mix;
373
+ let resolvedValue;
374
+ let string = "";
375
+ for (let k = 0; k < mix.length; k++) if (mix[k]) {
376
+ if (resolvedValue = toValue(mix[k])) {
377
+ string && (string += " ");
378
+ string += resolvedValue;
379
+ }
380
+ }
381
+ return string;
382
+ };
383
+ var createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
384
+ let configUtils;
385
+ let cacheGet;
386
+ let cacheSet;
387
+ let functionToCall;
388
+ const initTailwindMerge = (classList) => {
389
+ configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
390
+ cacheGet = configUtils.cache.get;
391
+ cacheSet = configUtils.cache.set;
392
+ functionToCall = tailwindMerge;
393
+ return tailwindMerge(classList);
394
+ };
395
+ const tailwindMerge = (classList) => {
396
+ const cachedResult = cacheGet(classList);
397
+ if (cachedResult) return cachedResult;
398
+ const result = mergeClassList(classList, configUtils);
399
+ cacheSet(classList, result);
400
+ return result;
401
+ };
402
+ functionToCall = initTailwindMerge;
403
+ return (...args) => functionToCall(twJoin(...args));
404
+ };
405
+ var fallbackThemeArr = [];
406
+ var fromTheme = (key) => {
407
+ const themeGetter = (theme) => theme[key] || fallbackThemeArr;
408
+ themeGetter.isThemeGetter = true;
409
+ themeGetter.themeKey = key;
410
+ return themeGetter;
411
+ };
412
+ var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
413
+ var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
414
+ var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
415
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
416
+ var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
417
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/;
418
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
419
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
420
+ var isFraction = (value) => fractionRegex.test(value);
421
+ var isNumber = (value) => !!value && !Number.isNaN(Number(value));
422
+ var isInteger = (value) => !!value && Number.isInteger(Number(value));
423
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
424
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
425
+ var isAny = () => true;
426
+ var isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
427
+ var isNever = () => false;
428
+ var isShadow = (value) => shadowRegex.test(value);
429
+ var isImage = (value) => imageRegex.test(value);
430
+ var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
431
+ var isNamedContainerQuery = (value) => value.startsWith("@container") && (value[10] === "/" && value[11] !== void 0 || value[11] === "s" && value[16] !== void 0 && value.startsWith("-size/", 10) || value[11] === "n" && value[18] !== void 0 && value.startsWith("-normal/", 10));
432
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
433
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
434
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
435
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
436
+ var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
437
+ var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
438
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
439
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
440
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
441
+ var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
442
+ var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
443
+ var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
444
+ var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
445
+ var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
446
+ var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
447
+ var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
448
+ var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
449
+ var getIsArbitraryValue = (value, testLabel, testValue) => {
450
+ const result = arbitraryValueRegex.exec(value);
451
+ if (result) {
452
+ if (result[1]) return testLabel(result[1]);
453
+ return testValue(result[2]);
454
+ }
455
+ return false;
456
+ };
457
+ var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
458
+ const result = arbitraryVariableRegex.exec(value);
459
+ if (result) {
460
+ if (result[1]) return testLabel(result[1]);
461
+ return shouldMatchNoLabel;
462
+ }
463
+ return false;
464
+ };
465
+ var isLabelPosition = (label) => label === "position" || label === "percentage";
466
+ var isLabelImage = (label) => label === "image" || label === "url";
467
+ var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
468
+ var isLabelLength = (label) => label === "length";
469
+ var isLabelNumber = (label) => label === "number";
470
+ var isLabelFamilyName = (label) => label === "family-name";
471
+ var isLabelWeight = (label) => label === "number" || label === "weight";
472
+ var isLabelShadow = (label) => label === "shadow";
473
+ var getDefaultConfig = () => {
474
+ /**
475
+ * Theme getters for theme variable namespaces
476
+ * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
477
+ */
478
+ const themeColor = fromTheme("color");
479
+ const themeFont = fromTheme("font");
480
+ const themeText = fromTheme("text");
481
+ const themeFontWeight = fromTheme("font-weight");
482
+ const themeTracking = fromTheme("tracking");
483
+ const themeLeading = fromTheme("leading");
484
+ const themeBreakpoint = fromTheme("breakpoint");
485
+ const themeContainer = fromTheme("container");
486
+ const themeSpacing = fromTheme("spacing");
487
+ const themeRadius = fromTheme("radius");
488
+ const themeShadow = fromTheme("shadow");
489
+ const themeInsetShadow = fromTheme("inset-shadow");
490
+ const themeTextShadow = fromTheme("text-shadow");
491
+ const themeDropShadow = fromTheme("drop-shadow");
492
+ const themeBlur = fromTheme("blur");
493
+ const themePerspective = fromTheme("perspective");
494
+ const themeAspect = fromTheme("aspect");
495
+ const themeEase = fromTheme("ease");
496
+ const themeAnimate = fromTheme("animate");
497
+ /**
498
+ * Helpers to avoid repeating the same scales
499
+ *
500
+ * We use functions that create a new array every time they're called instead of static arrays.
501
+ * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
502
+ */
503
+ const scaleBreak = () => [
504
+ "auto",
505
+ "avoid",
506
+ "all",
507
+ "avoid-page",
508
+ "page",
509
+ "left",
510
+ "right",
511
+ "column"
512
+ ];
513
+ const scalePosition = () => [
514
+ "center",
515
+ "top",
516
+ "bottom",
517
+ "left",
518
+ "right",
519
+ "top-left",
520
+ "left-top",
521
+ "top-right",
522
+ "right-top",
523
+ "bottom-right",
524
+ "right-bottom",
525
+ "bottom-left",
526
+ "left-bottom"
527
+ ];
528
+ const scalePositionWithArbitrary = () => [
529
+ ...scalePosition(),
530
+ isArbitraryVariable,
531
+ isArbitraryValue
532
+ ];
533
+ const scaleOverflow = () => [
534
+ "auto",
535
+ "hidden",
536
+ "clip",
537
+ "visible",
538
+ "scroll"
539
+ ];
540
+ const scaleOverscroll = () => [
541
+ "auto",
542
+ "contain",
543
+ "none"
544
+ ];
545
+ const scaleUnambiguousSpacing = () => [
546
+ isArbitraryVariable,
547
+ isArbitraryValue,
548
+ themeSpacing
549
+ ];
550
+ const scaleInset = () => [
551
+ isFraction,
552
+ "full",
553
+ "auto",
554
+ ...scaleUnambiguousSpacing()
555
+ ];
556
+ const scaleGridTemplateColsRows = () => [
557
+ isInteger,
558
+ "none",
559
+ "subgrid",
560
+ isArbitraryVariable,
561
+ isArbitraryValue
562
+ ];
563
+ const scaleGridColRowStartAndEnd = () => [
564
+ "auto",
565
+ { span: [
566
+ "full",
567
+ isInteger,
568
+ isArbitraryVariable,
569
+ isArbitraryValue
570
+ ] },
571
+ isInteger,
572
+ isArbitraryVariable,
573
+ isArbitraryValue
574
+ ];
575
+ const scaleGridColRowStartOrEnd = () => [
576
+ isInteger,
577
+ "auto",
578
+ isArbitraryVariable,
579
+ isArbitraryValue
580
+ ];
581
+ const scaleGridAutoColsRows = () => [
582
+ "auto",
583
+ "min",
584
+ "max",
585
+ "fr",
586
+ isArbitraryVariable,
587
+ isArbitraryValue
588
+ ];
589
+ const scaleAlignPrimaryAxis = () => [
590
+ "start",
591
+ "end",
592
+ "center",
593
+ "between",
594
+ "around",
595
+ "evenly",
596
+ "stretch",
597
+ "baseline",
598
+ "center-safe",
599
+ "end-safe"
600
+ ];
601
+ const scaleAlignSecondaryAxis = () => [
602
+ "start",
603
+ "end",
604
+ "center",
605
+ "stretch",
606
+ "center-safe",
607
+ "end-safe"
608
+ ];
609
+ const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
610
+ const scaleSizing = () => [
611
+ isFraction,
612
+ "auto",
613
+ "full",
614
+ "dvw",
615
+ "dvh",
616
+ "lvw",
617
+ "lvh",
618
+ "svw",
619
+ "svh",
620
+ "min",
621
+ "max",
622
+ "fit",
623
+ ...scaleUnambiguousSpacing()
624
+ ];
625
+ const scaleSizingInline = () => [
626
+ themeContainer,
627
+ isFraction,
628
+ "screen",
629
+ "full",
630
+ "dvw",
631
+ "lvw",
632
+ "svw",
633
+ "min",
634
+ "max",
635
+ "fit",
636
+ ...scaleUnambiguousSpacing()
637
+ ];
638
+ const scaleSizingBlock = () => [
639
+ isFraction,
640
+ "screen",
641
+ "full",
642
+ "lh",
643
+ "dvh",
644
+ "lvh",
645
+ "svh",
646
+ "min",
647
+ "max",
648
+ "fit",
649
+ ...scaleUnambiguousSpacing()
650
+ ];
651
+ const scaleColor = () => [
652
+ themeColor,
653
+ isArbitraryVariable,
654
+ isArbitraryValue
655
+ ];
656
+ const scaleBgPosition = () => [
657
+ ...scalePosition(),
658
+ isArbitraryVariablePosition,
659
+ isArbitraryPosition,
660
+ { position: [isArbitraryVariable, isArbitraryValue] }
661
+ ];
662
+ const scaleBgRepeat = () => ["no-repeat", { repeat: [
663
+ "",
664
+ "x",
665
+ "y",
666
+ "space",
667
+ "round"
668
+ ] }];
669
+ const scaleBgSize = () => [
670
+ "auto",
671
+ "cover",
672
+ "contain",
673
+ isArbitraryVariableSize,
674
+ isArbitrarySize,
675
+ { size: [isArbitraryVariable, isArbitraryValue] }
676
+ ];
677
+ const scaleGradientStopPosition = () => [
678
+ isPercent,
679
+ isArbitraryVariableLength,
680
+ isArbitraryLength
681
+ ];
682
+ const scaleRadius = () => [
683
+ "",
684
+ "none",
685
+ "full",
686
+ themeRadius,
687
+ isArbitraryVariable,
688
+ isArbitraryValue
689
+ ];
690
+ const scaleBorderWidth = () => [
691
+ "",
692
+ isNumber,
693
+ isArbitraryVariableLength,
694
+ isArbitraryLength
695
+ ];
696
+ const scaleLineStyle = () => [
697
+ "solid",
698
+ "dashed",
699
+ "dotted",
700
+ "double"
701
+ ];
702
+ const scaleBlendMode = () => [
703
+ "normal",
704
+ "multiply",
705
+ "screen",
706
+ "overlay",
707
+ "darken",
708
+ "lighten",
709
+ "color-dodge",
710
+ "color-burn",
711
+ "hard-light",
712
+ "soft-light",
713
+ "difference",
714
+ "exclusion",
715
+ "hue",
716
+ "saturation",
717
+ "color",
718
+ "luminosity"
719
+ ];
720
+ const scaleMaskImagePosition = () => [
721
+ isNumber,
722
+ isPercent,
723
+ isArbitraryVariablePosition,
724
+ isArbitraryPosition
725
+ ];
726
+ const scaleBlur = () => [
727
+ "",
728
+ "none",
729
+ themeBlur,
730
+ isArbitraryVariable,
731
+ isArbitraryValue
732
+ ];
733
+ const scaleRotate = () => [
734
+ "none",
735
+ isNumber,
736
+ isArbitraryVariable,
737
+ isArbitraryValue
738
+ ];
739
+ const scaleScale = () => [
740
+ "none",
741
+ isNumber,
742
+ isArbitraryVariable,
743
+ isArbitraryValue
744
+ ];
745
+ const scaleSkew = () => [
746
+ isNumber,
747
+ isArbitraryVariable,
748
+ isArbitraryValue
749
+ ];
750
+ const scaleTranslate = () => [
751
+ isFraction,
752
+ "full",
753
+ ...scaleUnambiguousSpacing()
754
+ ];
755
+ return {
756
+ cacheSize: 500,
757
+ theme: {
758
+ animate: [
759
+ "spin",
760
+ "ping",
761
+ "pulse",
762
+ "bounce"
763
+ ],
764
+ aspect: ["video"],
765
+ blur: [isTshirtSize],
766
+ breakpoint: [isTshirtSize],
767
+ color: [isAny],
768
+ container: [isTshirtSize],
769
+ "drop-shadow": [isTshirtSize],
770
+ ease: [
771
+ "in",
772
+ "out",
773
+ "in-out"
774
+ ],
775
+ font: [isAnyNonArbitrary],
776
+ "font-weight": [
777
+ "thin",
778
+ "extralight",
779
+ "light",
780
+ "normal",
781
+ "medium",
782
+ "semibold",
783
+ "bold",
784
+ "extrabold",
785
+ "black"
786
+ ],
787
+ "inset-shadow": [isTshirtSize],
788
+ leading: [
789
+ "none",
790
+ "tight",
791
+ "snug",
792
+ "normal",
793
+ "relaxed",
794
+ "loose"
795
+ ],
796
+ perspective: [
797
+ "dramatic",
798
+ "near",
799
+ "normal",
800
+ "midrange",
801
+ "distant",
802
+ "none"
803
+ ],
804
+ radius: [isTshirtSize],
805
+ shadow: [isTshirtSize],
806
+ spacing: ["px", isNumber],
807
+ text: [isTshirtSize],
808
+ "text-shadow": [isTshirtSize],
809
+ tracking: [
810
+ "tighter",
811
+ "tight",
812
+ "normal",
813
+ "wide",
814
+ "wider",
815
+ "widest"
816
+ ]
817
+ },
818
+ classGroups: {
819
+ /**
820
+ * Aspect Ratio
821
+ * @see https://tailwindcss.com/docs/aspect-ratio
822
+ */
823
+ aspect: [{ aspect: [
824
+ "auto",
825
+ "square",
826
+ isFraction,
827
+ isArbitraryValue,
828
+ isArbitraryVariable,
829
+ themeAspect
830
+ ] }],
831
+ /**
832
+ * Container
833
+ * @see https://tailwindcss.com/docs/container
834
+ * @deprecated since Tailwind CSS v4.0.0
835
+ */
836
+ container: ["container"],
837
+ /**
838
+ * Container Type
839
+ * @see https://tailwindcss.com/docs/responsive-design#container-queries
840
+ */
841
+ "container-type": [{ "@container": [
842
+ "",
843
+ "normal",
844
+ "size",
845
+ isArbitraryVariable,
846
+ isArbitraryValue
847
+ ] }],
848
+ /**
849
+ * Container Name
850
+ * @see https://tailwindcss.com/docs/responsive-design#named-containers
851
+ */
852
+ "container-named": [isNamedContainerQuery],
853
+ /**
854
+ * Columns
855
+ * @see https://tailwindcss.com/docs/columns
856
+ */
857
+ columns: [{ columns: [
858
+ isNumber,
859
+ "auto",
860
+ isArbitraryValue,
861
+ isArbitraryVariable,
862
+ themeContainer
863
+ ] }],
864
+ /**
865
+ * Break After
866
+ * @see https://tailwindcss.com/docs/break-after
867
+ */
868
+ "break-after": [{ "break-after": scaleBreak() }],
869
+ /**
870
+ * Break Before
871
+ * @see https://tailwindcss.com/docs/break-before
872
+ */
873
+ "break-before": [{ "break-before": scaleBreak() }],
874
+ /**
875
+ * Break Inside
876
+ * @see https://tailwindcss.com/docs/break-inside
877
+ */
878
+ "break-inside": [{ "break-inside": [
879
+ "auto",
880
+ "avoid",
881
+ "avoid-page",
882
+ "avoid-column"
883
+ ] }],
884
+ /**
885
+ * Box Decoration Break
886
+ * @see https://tailwindcss.com/docs/box-decoration-break
887
+ */
888
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
889
+ /**
890
+ * Box Sizing
891
+ * @see https://tailwindcss.com/docs/box-sizing
892
+ */
893
+ box: [{ box: ["border", "content"] }],
894
+ /**
895
+ * Display
896
+ * @see https://tailwindcss.com/docs/display
897
+ */
898
+ display: [
899
+ "block",
900
+ "inline-block",
901
+ "inline",
902
+ "flex",
903
+ "inline-flex",
904
+ "table",
905
+ "inline-table",
906
+ "table-caption",
907
+ "table-cell",
908
+ "table-column",
909
+ "table-column-group",
910
+ "table-footer-group",
911
+ "table-header-group",
912
+ "table-row-group",
913
+ "table-row",
914
+ "flow-root",
915
+ "grid",
916
+ "inline-grid",
917
+ "contents",
918
+ "list-item",
919
+ "hidden"
920
+ ],
921
+ /**
922
+ * Screen Reader Only
923
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
924
+ */
925
+ sr: ["sr-only", "not-sr-only"],
926
+ /**
927
+ * Floats
928
+ * @see https://tailwindcss.com/docs/float
929
+ */
930
+ float: [{ float: [
931
+ "right",
932
+ "left",
933
+ "none",
934
+ "start",
935
+ "end"
936
+ ] }],
937
+ /**
938
+ * Clear
939
+ * @see https://tailwindcss.com/docs/clear
940
+ */
941
+ clear: [{ clear: [
942
+ "left",
943
+ "right",
944
+ "both",
945
+ "none",
946
+ "start",
947
+ "end"
948
+ ] }],
949
+ /**
950
+ * Isolation
951
+ * @see https://tailwindcss.com/docs/isolation
952
+ */
953
+ isolation: ["isolate", "isolation-auto"],
954
+ /**
955
+ * Object Fit
956
+ * @see https://tailwindcss.com/docs/object-fit
957
+ */
958
+ "object-fit": [{ object: [
959
+ "contain",
960
+ "cover",
961
+ "fill",
962
+ "none",
963
+ "scale-down"
964
+ ] }],
965
+ /**
966
+ * Object Position
967
+ * @see https://tailwindcss.com/docs/object-position
968
+ */
969
+ "object-position": [{ object: scalePositionWithArbitrary() }],
970
+ /**
971
+ * Overflow
972
+ * @see https://tailwindcss.com/docs/overflow
973
+ */
974
+ overflow: [{ overflow: scaleOverflow() }],
975
+ /**
976
+ * Overflow X
977
+ * @see https://tailwindcss.com/docs/overflow
978
+ */
979
+ "overflow-x": [{ "overflow-x": scaleOverflow() }],
980
+ /**
981
+ * Overflow Y
982
+ * @see https://tailwindcss.com/docs/overflow
983
+ */
984
+ "overflow-y": [{ "overflow-y": scaleOverflow() }],
985
+ /**
986
+ * Overscroll Behavior
987
+ * @see https://tailwindcss.com/docs/overscroll-behavior
988
+ */
989
+ overscroll: [{ overscroll: scaleOverscroll() }],
990
+ /**
991
+ * Overscroll Behavior X
992
+ * @see https://tailwindcss.com/docs/overscroll-behavior
993
+ */
994
+ "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
995
+ /**
996
+ * Overscroll Behavior Y
997
+ * @see https://tailwindcss.com/docs/overscroll-behavior
998
+ */
999
+ "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
1000
+ /**
1001
+ * Position
1002
+ * @see https://tailwindcss.com/docs/position
1003
+ */
1004
+ position: [
1005
+ "static",
1006
+ "fixed",
1007
+ "absolute",
1008
+ "relative",
1009
+ "sticky"
1010
+ ],
1011
+ /**
1012
+ * Inset
1013
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1014
+ */
1015
+ inset: [{ inset: scaleInset() }],
1016
+ /**
1017
+ * Inset Inline
1018
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1019
+ */
1020
+ "inset-x": [{ "inset-x": scaleInset() }],
1021
+ /**
1022
+ * Inset Block
1023
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1024
+ */
1025
+ "inset-y": [{ "inset-y": scaleInset() }],
1026
+ /**
1027
+ * Inset Inline Start
1028
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1029
+ * @todo class group will be renamed to `inset-s` in next major release
1030
+ */
1031
+ start: [{
1032
+ "inset-s": scaleInset(),
1033
+ /**
1034
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
1035
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1036
+ */
1037
+ start: scaleInset()
1038
+ }],
1039
+ /**
1040
+ * Inset Inline End
1041
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1042
+ * @todo class group will be renamed to `inset-e` in next major release
1043
+ */
1044
+ end: [{
1045
+ "inset-e": scaleInset(),
1046
+ /**
1047
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
1048
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1049
+ */
1050
+ end: scaleInset()
1051
+ }],
1052
+ /**
1053
+ * Inset Block Start
1054
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1055
+ */
1056
+ "inset-bs": [{ "inset-bs": scaleInset() }],
1057
+ /**
1058
+ * Inset Block End
1059
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1060
+ */
1061
+ "inset-be": [{ "inset-be": scaleInset() }],
1062
+ /**
1063
+ * Top
1064
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1065
+ */
1066
+ top: [{ top: scaleInset() }],
1067
+ /**
1068
+ * Right
1069
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1070
+ */
1071
+ right: [{ right: scaleInset() }],
1072
+ /**
1073
+ * Bottom
1074
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1075
+ */
1076
+ bottom: [{ bottom: scaleInset() }],
1077
+ /**
1078
+ * Left
1079
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1080
+ */
1081
+ left: [{ left: scaleInset() }],
1082
+ /**
1083
+ * Visibility
1084
+ * @see https://tailwindcss.com/docs/visibility
1085
+ */
1086
+ visibility: [
1087
+ "visible",
1088
+ "invisible",
1089
+ "collapse"
1090
+ ],
1091
+ /**
1092
+ * Z-Index
1093
+ * @see https://tailwindcss.com/docs/z-index
1094
+ */
1095
+ z: [{ z: [
1096
+ isInteger,
1097
+ "auto",
1098
+ isArbitraryVariable,
1099
+ isArbitraryValue
1100
+ ] }],
1101
+ /**
1102
+ * Flex Basis
1103
+ * @see https://tailwindcss.com/docs/flex-basis
1104
+ */
1105
+ basis: [{ basis: [
1106
+ isFraction,
1107
+ "full",
1108
+ "auto",
1109
+ themeContainer,
1110
+ ...scaleUnambiguousSpacing()
1111
+ ] }],
1112
+ /**
1113
+ * Flex Direction
1114
+ * @see https://tailwindcss.com/docs/flex-direction
1115
+ */
1116
+ "flex-direction": [{ flex: [
1117
+ "row",
1118
+ "row-reverse",
1119
+ "col",
1120
+ "col-reverse"
1121
+ ] }],
1122
+ /**
1123
+ * Flex Wrap
1124
+ * @see https://tailwindcss.com/docs/flex-wrap
1125
+ */
1126
+ "flex-wrap": [{ flex: [
1127
+ "nowrap",
1128
+ "wrap",
1129
+ "wrap-reverse"
1130
+ ] }],
1131
+ /**
1132
+ * Flex
1133
+ * @see https://tailwindcss.com/docs/flex
1134
+ */
1135
+ flex: [{ flex: [
1136
+ isNumber,
1137
+ isFraction,
1138
+ "auto",
1139
+ "initial",
1140
+ "none",
1141
+ isArbitraryValue
1142
+ ] }],
1143
+ /**
1144
+ * Flex Grow
1145
+ * @see https://tailwindcss.com/docs/flex-grow
1146
+ */
1147
+ grow: [{ grow: [
1148
+ "",
1149
+ isNumber,
1150
+ isArbitraryVariable,
1151
+ isArbitraryValue
1152
+ ] }],
1153
+ /**
1154
+ * Flex Shrink
1155
+ * @see https://tailwindcss.com/docs/flex-shrink
1156
+ */
1157
+ shrink: [{ shrink: [
1158
+ "",
1159
+ isNumber,
1160
+ isArbitraryVariable,
1161
+ isArbitraryValue
1162
+ ] }],
1163
+ /**
1164
+ * Order
1165
+ * @see https://tailwindcss.com/docs/order
1166
+ */
1167
+ order: [{ order: [
1168
+ isInteger,
1169
+ "first",
1170
+ "last",
1171
+ "none",
1172
+ isArbitraryVariable,
1173
+ isArbitraryValue
1174
+ ] }],
1175
+ /**
1176
+ * Grid Template Columns
1177
+ * @see https://tailwindcss.com/docs/grid-template-columns
1178
+ */
1179
+ "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
1180
+ /**
1181
+ * Grid Column Start / End
1182
+ * @see https://tailwindcss.com/docs/grid-column
1183
+ */
1184
+ "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
1185
+ /**
1186
+ * Grid Column Start
1187
+ * @see https://tailwindcss.com/docs/grid-column
1188
+ */
1189
+ "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
1190
+ /**
1191
+ * Grid Column End
1192
+ * @see https://tailwindcss.com/docs/grid-column
1193
+ */
1194
+ "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
1195
+ /**
1196
+ * Grid Template Rows
1197
+ * @see https://tailwindcss.com/docs/grid-template-rows
1198
+ */
1199
+ "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
1200
+ /**
1201
+ * Grid Row Start / End
1202
+ * @see https://tailwindcss.com/docs/grid-row
1203
+ */
1204
+ "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
1205
+ /**
1206
+ * Grid Row Start
1207
+ * @see https://tailwindcss.com/docs/grid-row
1208
+ */
1209
+ "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
1210
+ /**
1211
+ * Grid Row End
1212
+ * @see https://tailwindcss.com/docs/grid-row
1213
+ */
1214
+ "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
1215
+ /**
1216
+ * Grid Auto Flow
1217
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1218
+ */
1219
+ "grid-flow": [{ "grid-flow": [
1220
+ "row",
1221
+ "col",
1222
+ "dense",
1223
+ "row-dense",
1224
+ "col-dense"
1225
+ ] }],
1226
+ /**
1227
+ * Grid Auto Columns
1228
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1229
+ */
1230
+ "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
1231
+ /**
1232
+ * Grid Auto Rows
1233
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1234
+ */
1235
+ "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
1236
+ /**
1237
+ * Gap
1238
+ * @see https://tailwindcss.com/docs/gap
1239
+ */
1240
+ gap: [{ gap: scaleUnambiguousSpacing() }],
1241
+ /**
1242
+ * Gap X
1243
+ * @see https://tailwindcss.com/docs/gap
1244
+ */
1245
+ "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
1246
+ /**
1247
+ * Gap Y
1248
+ * @see https://tailwindcss.com/docs/gap
1249
+ */
1250
+ "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
1251
+ /**
1252
+ * Justify Content
1253
+ * @see https://tailwindcss.com/docs/justify-content
1254
+ */
1255
+ "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
1256
+ /**
1257
+ * Justify Items
1258
+ * @see https://tailwindcss.com/docs/justify-items
1259
+ */
1260
+ "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
1261
+ /**
1262
+ * Justify Self
1263
+ * @see https://tailwindcss.com/docs/justify-self
1264
+ */
1265
+ "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1266
+ /**
1267
+ * Align Content
1268
+ * @see https://tailwindcss.com/docs/align-content
1269
+ */
1270
+ "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
1271
+ /**
1272
+ * Align Items
1273
+ * @see https://tailwindcss.com/docs/align-items
1274
+ */
1275
+ "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1276
+ /**
1277
+ * Align Self
1278
+ * @see https://tailwindcss.com/docs/align-self
1279
+ */
1280
+ "align-self": [{ self: [
1281
+ "auto",
1282
+ ...scaleAlignSecondaryAxis(),
1283
+ { baseline: ["", "last"] }
1284
+ ] }],
1285
+ /**
1286
+ * Place Content
1287
+ * @see https://tailwindcss.com/docs/place-content
1288
+ */
1289
+ "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
1290
+ /**
1291
+ * Place Items
1292
+ * @see https://tailwindcss.com/docs/place-items
1293
+ */
1294
+ "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
1295
+ /**
1296
+ * Place Self
1297
+ * @see https://tailwindcss.com/docs/place-self
1298
+ */
1299
+ "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1300
+ /**
1301
+ * Padding
1302
+ * @see https://tailwindcss.com/docs/padding
1303
+ */
1304
+ p: [{ p: scaleUnambiguousSpacing() }],
1305
+ /**
1306
+ * Padding Inline
1307
+ * @see https://tailwindcss.com/docs/padding
1308
+ */
1309
+ px: [{ px: scaleUnambiguousSpacing() }],
1310
+ /**
1311
+ * Padding Block
1312
+ * @see https://tailwindcss.com/docs/padding
1313
+ */
1314
+ py: [{ py: scaleUnambiguousSpacing() }],
1315
+ /**
1316
+ * Padding Inline Start
1317
+ * @see https://tailwindcss.com/docs/padding
1318
+ */
1319
+ ps: [{ ps: scaleUnambiguousSpacing() }],
1320
+ /**
1321
+ * Padding Inline End
1322
+ * @see https://tailwindcss.com/docs/padding
1323
+ */
1324
+ pe: [{ pe: scaleUnambiguousSpacing() }],
1325
+ /**
1326
+ * Padding Block Start
1327
+ * @see https://tailwindcss.com/docs/padding
1328
+ */
1329
+ pbs: [{ pbs: scaleUnambiguousSpacing() }],
1330
+ /**
1331
+ * Padding Block End
1332
+ * @see https://tailwindcss.com/docs/padding
1333
+ */
1334
+ pbe: [{ pbe: scaleUnambiguousSpacing() }],
1335
+ /**
1336
+ * Padding Top
1337
+ * @see https://tailwindcss.com/docs/padding
1338
+ */
1339
+ pt: [{ pt: scaleUnambiguousSpacing() }],
1340
+ /**
1341
+ * Padding Right
1342
+ * @see https://tailwindcss.com/docs/padding
1343
+ */
1344
+ pr: [{ pr: scaleUnambiguousSpacing() }],
1345
+ /**
1346
+ * Padding Bottom
1347
+ * @see https://tailwindcss.com/docs/padding
1348
+ */
1349
+ pb: [{ pb: scaleUnambiguousSpacing() }],
1350
+ /**
1351
+ * Padding Left
1352
+ * @see https://tailwindcss.com/docs/padding
1353
+ */
1354
+ pl: [{ pl: scaleUnambiguousSpacing() }],
1355
+ /**
1356
+ * Margin
1357
+ * @see https://tailwindcss.com/docs/margin
1358
+ */
1359
+ m: [{ m: scaleMargin() }],
1360
+ /**
1361
+ * Margin Inline
1362
+ * @see https://tailwindcss.com/docs/margin
1363
+ */
1364
+ mx: [{ mx: scaleMargin() }],
1365
+ /**
1366
+ * Margin Block
1367
+ * @see https://tailwindcss.com/docs/margin
1368
+ */
1369
+ my: [{ my: scaleMargin() }],
1370
+ /**
1371
+ * Margin Inline Start
1372
+ * @see https://tailwindcss.com/docs/margin
1373
+ */
1374
+ ms: [{ ms: scaleMargin() }],
1375
+ /**
1376
+ * Margin Inline End
1377
+ * @see https://tailwindcss.com/docs/margin
1378
+ */
1379
+ me: [{ me: scaleMargin() }],
1380
+ /**
1381
+ * Margin Block Start
1382
+ * @see https://tailwindcss.com/docs/margin
1383
+ */
1384
+ mbs: [{ mbs: scaleMargin() }],
1385
+ /**
1386
+ * Margin Block End
1387
+ * @see https://tailwindcss.com/docs/margin
1388
+ */
1389
+ mbe: [{ mbe: scaleMargin() }],
1390
+ /**
1391
+ * Margin Top
1392
+ * @see https://tailwindcss.com/docs/margin
1393
+ */
1394
+ mt: [{ mt: scaleMargin() }],
1395
+ /**
1396
+ * Margin Right
1397
+ * @see https://tailwindcss.com/docs/margin
1398
+ */
1399
+ mr: [{ mr: scaleMargin() }],
1400
+ /**
1401
+ * Margin Bottom
1402
+ * @see https://tailwindcss.com/docs/margin
1403
+ */
1404
+ mb: [{ mb: scaleMargin() }],
1405
+ /**
1406
+ * Margin Left
1407
+ * @see https://tailwindcss.com/docs/margin
1408
+ */
1409
+ ml: [{ ml: scaleMargin() }],
1410
+ /**
1411
+ * Space Between X
1412
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1413
+ */
1414
+ "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
1415
+ /**
1416
+ * Space Between X Reverse
1417
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1418
+ */
1419
+ "space-x-reverse": ["space-x-reverse"],
1420
+ /**
1421
+ * Space Between Y
1422
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1423
+ */
1424
+ "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
1425
+ /**
1426
+ * Space Between Y Reverse
1427
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1428
+ */
1429
+ "space-y-reverse": ["space-y-reverse"],
1430
+ /**
1431
+ * Size
1432
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1433
+ */
1434
+ size: [{ size: scaleSizing() }],
1435
+ /**
1436
+ * Inline Size
1437
+ * @see https://tailwindcss.com/docs/inline-size
1438
+ */
1439
+ "inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
1440
+ /**
1441
+ * Min-Inline Size
1442
+ * @see https://tailwindcss.com/docs/min-inline-size
1443
+ */
1444
+ "min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
1445
+ /**
1446
+ * Max-Inline Size
1447
+ * @see https://tailwindcss.com/docs/max-inline-size
1448
+ */
1449
+ "max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
1450
+ /**
1451
+ * Block Size
1452
+ * @see https://tailwindcss.com/docs/block-size
1453
+ */
1454
+ "block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
1455
+ /**
1456
+ * Min-Block Size
1457
+ * @see https://tailwindcss.com/docs/min-block-size
1458
+ */
1459
+ "min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
1460
+ /**
1461
+ * Max-Block Size
1462
+ * @see https://tailwindcss.com/docs/max-block-size
1463
+ */
1464
+ "max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
1465
+ /**
1466
+ * Width
1467
+ * @see https://tailwindcss.com/docs/width
1468
+ */
1469
+ w: [{ w: [
1470
+ themeContainer,
1471
+ "screen",
1472
+ ...scaleSizing()
1473
+ ] }],
1474
+ /**
1475
+ * Min-Width
1476
+ * @see https://tailwindcss.com/docs/min-width
1477
+ */
1478
+ "min-w": [{ "min-w": [
1479
+ themeContainer,
1480
+ "screen",
1481
+ "none",
1482
+ ...scaleSizing()
1483
+ ] }],
1484
+ /**
1485
+ * Max-Width
1486
+ * @see https://tailwindcss.com/docs/max-width
1487
+ */
1488
+ "max-w": [{ "max-w": [
1489
+ themeContainer,
1490
+ "screen",
1491
+ "none",
1492
+ "prose",
1493
+ { screen: [themeBreakpoint] },
1494
+ ...scaleSizing()
1495
+ ] }],
1496
+ /**
1497
+ * Height
1498
+ * @see https://tailwindcss.com/docs/height
1499
+ */
1500
+ h: [{ h: [
1501
+ "screen",
1502
+ "lh",
1503
+ ...scaleSizing()
1504
+ ] }],
1505
+ /**
1506
+ * Min-Height
1507
+ * @see https://tailwindcss.com/docs/min-height
1508
+ */
1509
+ "min-h": [{ "min-h": [
1510
+ "screen",
1511
+ "lh",
1512
+ "none",
1513
+ ...scaleSizing()
1514
+ ] }],
1515
+ /**
1516
+ * Max-Height
1517
+ * @see https://tailwindcss.com/docs/max-height
1518
+ */
1519
+ "max-h": [{ "max-h": [
1520
+ "screen",
1521
+ "lh",
1522
+ "none",
1523
+ ...scaleSizing()
1524
+ ] }],
1525
+ /**
1526
+ * Font Size
1527
+ * @see https://tailwindcss.com/docs/font-size
1528
+ */
1529
+ "font-size": [{ text: [
1530
+ "base",
1531
+ themeText,
1532
+ isArbitraryVariableLength,
1533
+ isArbitraryLength
1534
+ ] }],
1535
+ /**
1536
+ * Font Smoothing
1537
+ * @see https://tailwindcss.com/docs/font-smoothing
1538
+ */
1539
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1540
+ /**
1541
+ * Font Style
1542
+ * @see https://tailwindcss.com/docs/font-style
1543
+ */
1544
+ "font-style": ["italic", "not-italic"],
1545
+ /**
1546
+ * Font Weight
1547
+ * @see https://tailwindcss.com/docs/font-weight
1548
+ */
1549
+ "font-weight": [{ font: [
1550
+ themeFontWeight,
1551
+ isArbitraryVariableWeight,
1552
+ isArbitraryWeight
1553
+ ] }],
1554
+ /**
1555
+ * Font Stretch
1556
+ * @see https://tailwindcss.com/docs/font-stretch
1557
+ */
1558
+ "font-stretch": [{ "font-stretch": [
1559
+ "ultra-condensed",
1560
+ "extra-condensed",
1561
+ "condensed",
1562
+ "semi-condensed",
1563
+ "normal",
1564
+ "semi-expanded",
1565
+ "expanded",
1566
+ "extra-expanded",
1567
+ "ultra-expanded",
1568
+ isPercent,
1569
+ isArbitraryValue
1570
+ ] }],
1571
+ /**
1572
+ * Font Family
1573
+ * @see https://tailwindcss.com/docs/font-family
1574
+ */
1575
+ "font-family": [{ font: [
1576
+ isArbitraryVariableFamilyName,
1577
+ isArbitraryFamilyName,
1578
+ themeFont
1579
+ ] }],
1580
+ /**
1581
+ * Font Feature Settings
1582
+ * @see https://tailwindcss.com/docs/font-feature-settings
1583
+ */
1584
+ "font-features": [{ "font-features": [isArbitraryValue] }],
1585
+ /**
1586
+ * Font Variant Numeric
1587
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1588
+ */
1589
+ "fvn-normal": ["normal-nums"],
1590
+ /**
1591
+ * Font Variant Numeric
1592
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1593
+ */
1594
+ "fvn-ordinal": ["ordinal"],
1595
+ /**
1596
+ * Font Variant Numeric
1597
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1598
+ */
1599
+ "fvn-slashed-zero": ["slashed-zero"],
1600
+ /**
1601
+ * Font Variant Numeric
1602
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1603
+ */
1604
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1605
+ /**
1606
+ * Font Variant Numeric
1607
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1608
+ */
1609
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1610
+ /**
1611
+ * Font Variant Numeric
1612
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1613
+ */
1614
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1615
+ /**
1616
+ * Letter Spacing
1617
+ * @see https://tailwindcss.com/docs/letter-spacing
1618
+ */
1619
+ tracking: [{ tracking: [
1620
+ themeTracking,
1621
+ isArbitraryVariable,
1622
+ isArbitraryValue
1623
+ ] }],
1624
+ /**
1625
+ * Line Clamp
1626
+ * @see https://tailwindcss.com/docs/line-clamp
1627
+ */
1628
+ "line-clamp": [{ "line-clamp": [
1629
+ isNumber,
1630
+ "none",
1631
+ isArbitraryVariable,
1632
+ isArbitraryNumber
1633
+ ] }],
1634
+ /**
1635
+ * Line Height
1636
+ * @see https://tailwindcss.com/docs/line-height
1637
+ */
1638
+ leading: [{ leading: [
1639
+ "none",
1640
+ themeLeading,
1641
+ ...scaleUnambiguousSpacing()
1642
+ ] }],
1643
+ /**
1644
+ * List Style Image
1645
+ * @see https://tailwindcss.com/docs/list-style-image
1646
+ */
1647
+ "list-image": [{ "list-image": [
1648
+ "none",
1649
+ isArbitraryVariable,
1650
+ isArbitraryValue
1651
+ ] }],
1652
+ /**
1653
+ * List Style Position
1654
+ * @see https://tailwindcss.com/docs/list-style-position
1655
+ */
1656
+ "list-style-position": [{ list: ["inside", "outside"] }],
1657
+ /**
1658
+ * List Style Type
1659
+ * @see https://tailwindcss.com/docs/list-style-type
1660
+ */
1661
+ "list-style-type": [{ list: [
1662
+ "disc",
1663
+ "decimal",
1664
+ "none",
1665
+ isArbitraryVariable,
1666
+ isArbitraryValue
1667
+ ] }],
1668
+ /**
1669
+ * Text Alignment
1670
+ * @see https://tailwindcss.com/docs/text-align
1671
+ */
1672
+ "text-alignment": [{ text: [
1673
+ "left",
1674
+ "center",
1675
+ "right",
1676
+ "justify",
1677
+ "start",
1678
+ "end"
1679
+ ] }],
1680
+ /**
1681
+ * Placeholder Color
1682
+ * @deprecated since Tailwind CSS v3.0.0
1683
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1684
+ */
1685
+ "placeholder-color": [{ placeholder: scaleColor() }],
1686
+ /**
1687
+ * Text Color
1688
+ * @see https://tailwindcss.com/docs/text-color
1689
+ */
1690
+ "text-color": [{ text: scaleColor() }],
1691
+ /**
1692
+ * Text Decoration
1693
+ * @see https://tailwindcss.com/docs/text-decoration
1694
+ */
1695
+ "text-decoration": [
1696
+ "underline",
1697
+ "overline",
1698
+ "line-through",
1699
+ "no-underline"
1700
+ ],
1701
+ /**
1702
+ * Text Decoration Style
1703
+ * @see https://tailwindcss.com/docs/text-decoration-style
1704
+ */
1705
+ "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1706
+ /**
1707
+ * Text Decoration Thickness
1708
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1709
+ */
1710
+ "text-decoration-thickness": [{ decoration: [
1711
+ isNumber,
1712
+ "from-font",
1713
+ "auto",
1714
+ isArbitraryVariable,
1715
+ isArbitraryLength
1716
+ ] }],
1717
+ /**
1718
+ * Text Decoration Color
1719
+ * @see https://tailwindcss.com/docs/text-decoration-color
1720
+ */
1721
+ "text-decoration-color": [{ decoration: scaleColor() }],
1722
+ /**
1723
+ * Text Underline Offset
1724
+ * @see https://tailwindcss.com/docs/text-underline-offset
1725
+ */
1726
+ "underline-offset": [{ "underline-offset": [
1727
+ isNumber,
1728
+ "auto",
1729
+ isArbitraryVariable,
1730
+ isArbitraryValue
1731
+ ] }],
1732
+ /**
1733
+ * Text Transform
1734
+ * @see https://tailwindcss.com/docs/text-transform
1735
+ */
1736
+ "text-transform": [
1737
+ "uppercase",
1738
+ "lowercase",
1739
+ "capitalize",
1740
+ "normal-case"
1741
+ ],
1742
+ /**
1743
+ * Text Overflow
1744
+ * @see https://tailwindcss.com/docs/text-overflow
1745
+ */
1746
+ "text-overflow": [
1747
+ "truncate",
1748
+ "text-ellipsis",
1749
+ "text-clip"
1750
+ ],
1751
+ /**
1752
+ * Text Wrap
1753
+ * @see https://tailwindcss.com/docs/text-wrap
1754
+ */
1755
+ "text-wrap": [{ text: [
1756
+ "wrap",
1757
+ "nowrap",
1758
+ "balance",
1759
+ "pretty"
1760
+ ] }],
1761
+ /**
1762
+ * Text Indent
1763
+ * @see https://tailwindcss.com/docs/text-indent
1764
+ */
1765
+ indent: [{ indent: scaleUnambiguousSpacing() }],
1766
+ /**
1767
+ * Tab Size
1768
+ * @see https://tailwindcss.com/docs/tab-size
1769
+ */
1770
+ "tab-size": [{ tab: [
1771
+ isInteger,
1772
+ isArbitraryVariable,
1773
+ isArbitraryValue
1774
+ ] }],
1775
+ /**
1776
+ * Vertical Alignment
1777
+ * @see https://tailwindcss.com/docs/vertical-align
1778
+ */
1779
+ "vertical-align": [{ align: [
1780
+ "baseline",
1781
+ "top",
1782
+ "middle",
1783
+ "bottom",
1784
+ "text-top",
1785
+ "text-bottom",
1786
+ "sub",
1787
+ "super",
1788
+ isArbitraryVariable,
1789
+ isArbitraryValue
1790
+ ] }],
1791
+ /**
1792
+ * Whitespace
1793
+ * @see https://tailwindcss.com/docs/whitespace
1794
+ */
1795
+ whitespace: [{ whitespace: [
1796
+ "normal",
1797
+ "nowrap",
1798
+ "pre",
1799
+ "pre-line",
1800
+ "pre-wrap",
1801
+ "break-spaces"
1802
+ ] }],
1803
+ /**
1804
+ * Word Break
1805
+ * @see https://tailwindcss.com/docs/word-break
1806
+ */
1807
+ break: [{ break: [
1808
+ "normal",
1809
+ "words",
1810
+ "all",
1811
+ "keep"
1812
+ ] }],
1813
+ /**
1814
+ * Overflow Wrap
1815
+ * @see https://tailwindcss.com/docs/overflow-wrap
1816
+ */
1817
+ wrap: [{ wrap: [
1818
+ "break-word",
1819
+ "anywhere",
1820
+ "normal"
1821
+ ] }],
1822
+ /**
1823
+ * Hyphens
1824
+ * @see https://tailwindcss.com/docs/hyphens
1825
+ */
1826
+ hyphens: [{ hyphens: [
1827
+ "none",
1828
+ "manual",
1829
+ "auto"
1830
+ ] }],
1831
+ /**
1832
+ * Content
1833
+ * @see https://tailwindcss.com/docs/content
1834
+ */
1835
+ content: [{ content: [
1836
+ "none",
1837
+ isArbitraryVariable,
1838
+ isArbitraryValue
1839
+ ] }],
1840
+ /**
1841
+ * Background Attachment
1842
+ * @see https://tailwindcss.com/docs/background-attachment
1843
+ */
1844
+ "bg-attachment": [{ bg: [
1845
+ "fixed",
1846
+ "local",
1847
+ "scroll"
1848
+ ] }],
1849
+ /**
1850
+ * Background Clip
1851
+ * @see https://tailwindcss.com/docs/background-clip
1852
+ */
1853
+ "bg-clip": [{ "bg-clip": [
1854
+ "border",
1855
+ "padding",
1856
+ "content",
1857
+ "text"
1858
+ ] }],
1859
+ /**
1860
+ * Background Origin
1861
+ * @see https://tailwindcss.com/docs/background-origin
1862
+ */
1863
+ "bg-origin": [{ "bg-origin": [
1864
+ "border",
1865
+ "padding",
1866
+ "content"
1867
+ ] }],
1868
+ /**
1869
+ * Background Position
1870
+ * @see https://tailwindcss.com/docs/background-position
1871
+ */
1872
+ "bg-position": [{ bg: scaleBgPosition() }],
1873
+ /**
1874
+ * Background Repeat
1875
+ * @see https://tailwindcss.com/docs/background-repeat
1876
+ */
1877
+ "bg-repeat": [{ bg: scaleBgRepeat() }],
1878
+ /**
1879
+ * Background Size
1880
+ * @see https://tailwindcss.com/docs/background-size
1881
+ */
1882
+ "bg-size": [{ bg: scaleBgSize() }],
1883
+ /**
1884
+ * Background Image
1885
+ * @see https://tailwindcss.com/docs/background-image
1886
+ */
1887
+ "bg-image": [{ bg: [
1888
+ "none",
1889
+ {
1890
+ linear: [
1891
+ { to: [
1892
+ "t",
1893
+ "tr",
1894
+ "r",
1895
+ "br",
1896
+ "b",
1897
+ "bl",
1898
+ "l",
1899
+ "tl"
1900
+ ] },
1901
+ isInteger,
1902
+ isArbitraryVariable,
1903
+ isArbitraryValue
1904
+ ],
1905
+ radial: [
1906
+ "",
1907
+ isArbitraryVariable,
1908
+ isArbitraryValue
1909
+ ],
1910
+ conic: [
1911
+ "",
1912
+ isInteger,
1913
+ isArbitraryVariable,
1914
+ isArbitraryValue
1915
+ ]
1916
+ },
1917
+ isArbitraryVariableImage,
1918
+ isArbitraryImage
1919
+ ] }],
1920
+ /**
1921
+ * Background Color
1922
+ * @see https://tailwindcss.com/docs/background-color
1923
+ */
1924
+ "bg-color": [{ bg: scaleColor() }],
1925
+ /**
1926
+ * Gradient Color Stops From Position
1927
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1928
+ */
1929
+ "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1930
+ /**
1931
+ * Gradient Color Stops Via Position
1932
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1933
+ */
1934
+ "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1935
+ /**
1936
+ * Gradient Color Stops To Position
1937
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1938
+ */
1939
+ "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1940
+ /**
1941
+ * Gradient Color Stops From
1942
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1943
+ */
1944
+ "gradient-from": [{ from: scaleColor() }],
1945
+ /**
1946
+ * Gradient Color Stops Via
1947
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1948
+ */
1949
+ "gradient-via": [{ via: scaleColor() }],
1950
+ /**
1951
+ * Gradient Color Stops To
1952
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1953
+ */
1954
+ "gradient-to": [{ to: scaleColor() }],
1955
+ /**
1956
+ * Border Radius
1957
+ * @see https://tailwindcss.com/docs/border-radius
1958
+ */
1959
+ rounded: [{ rounded: scaleRadius() }],
1960
+ /**
1961
+ * Border Radius Start
1962
+ * @see https://tailwindcss.com/docs/border-radius
1963
+ */
1964
+ "rounded-s": [{ "rounded-s": scaleRadius() }],
1965
+ /**
1966
+ * Border Radius End
1967
+ * @see https://tailwindcss.com/docs/border-radius
1968
+ */
1969
+ "rounded-e": [{ "rounded-e": scaleRadius() }],
1970
+ /**
1971
+ * Border Radius Top
1972
+ * @see https://tailwindcss.com/docs/border-radius
1973
+ */
1974
+ "rounded-t": [{ "rounded-t": scaleRadius() }],
1975
+ /**
1976
+ * Border Radius Right
1977
+ * @see https://tailwindcss.com/docs/border-radius
1978
+ */
1979
+ "rounded-r": [{ "rounded-r": scaleRadius() }],
1980
+ /**
1981
+ * Border Radius Bottom
1982
+ * @see https://tailwindcss.com/docs/border-radius
1983
+ */
1984
+ "rounded-b": [{ "rounded-b": scaleRadius() }],
1985
+ /**
1986
+ * Border Radius Left
1987
+ * @see https://tailwindcss.com/docs/border-radius
1988
+ */
1989
+ "rounded-l": [{ "rounded-l": scaleRadius() }],
1990
+ /**
1991
+ * Border Radius Start Start
1992
+ * @see https://tailwindcss.com/docs/border-radius
1993
+ */
1994
+ "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1995
+ /**
1996
+ * Border Radius Start End
1997
+ * @see https://tailwindcss.com/docs/border-radius
1998
+ */
1999
+ "rounded-se": [{ "rounded-se": scaleRadius() }],
2000
+ /**
2001
+ * Border Radius End End
2002
+ * @see https://tailwindcss.com/docs/border-radius
2003
+ */
2004
+ "rounded-ee": [{ "rounded-ee": scaleRadius() }],
2005
+ /**
2006
+ * Border Radius End Start
2007
+ * @see https://tailwindcss.com/docs/border-radius
2008
+ */
2009
+ "rounded-es": [{ "rounded-es": scaleRadius() }],
2010
+ /**
2011
+ * Border Radius Top Left
2012
+ * @see https://tailwindcss.com/docs/border-radius
2013
+ */
2014
+ "rounded-tl": [{ "rounded-tl": scaleRadius() }],
2015
+ /**
2016
+ * Border Radius Top Right
2017
+ * @see https://tailwindcss.com/docs/border-radius
2018
+ */
2019
+ "rounded-tr": [{ "rounded-tr": scaleRadius() }],
2020
+ /**
2021
+ * Border Radius Bottom Right
2022
+ * @see https://tailwindcss.com/docs/border-radius
2023
+ */
2024
+ "rounded-br": [{ "rounded-br": scaleRadius() }],
2025
+ /**
2026
+ * Border Radius Bottom Left
2027
+ * @see https://tailwindcss.com/docs/border-radius
2028
+ */
2029
+ "rounded-bl": [{ "rounded-bl": scaleRadius() }],
2030
+ /**
2031
+ * Border Width
2032
+ * @see https://tailwindcss.com/docs/border-width
2033
+ */
2034
+ "border-w": [{ border: scaleBorderWidth() }],
2035
+ /**
2036
+ * Border Width Inline
2037
+ * @see https://tailwindcss.com/docs/border-width
2038
+ */
2039
+ "border-w-x": [{ "border-x": scaleBorderWidth() }],
2040
+ /**
2041
+ * Border Width Block
2042
+ * @see https://tailwindcss.com/docs/border-width
2043
+ */
2044
+ "border-w-y": [{ "border-y": scaleBorderWidth() }],
2045
+ /**
2046
+ * Border Width Inline Start
2047
+ * @see https://tailwindcss.com/docs/border-width
2048
+ */
2049
+ "border-w-s": [{ "border-s": scaleBorderWidth() }],
2050
+ /**
2051
+ * Border Width Inline End
2052
+ * @see https://tailwindcss.com/docs/border-width
2053
+ */
2054
+ "border-w-e": [{ "border-e": scaleBorderWidth() }],
2055
+ /**
2056
+ * Border Width Block Start
2057
+ * @see https://tailwindcss.com/docs/border-width
2058
+ */
2059
+ "border-w-bs": [{ "border-bs": scaleBorderWidth() }],
2060
+ /**
2061
+ * Border Width Block End
2062
+ * @see https://tailwindcss.com/docs/border-width
2063
+ */
2064
+ "border-w-be": [{ "border-be": scaleBorderWidth() }],
2065
+ /**
2066
+ * Border Width Top
2067
+ * @see https://tailwindcss.com/docs/border-width
2068
+ */
2069
+ "border-w-t": [{ "border-t": scaleBorderWidth() }],
2070
+ /**
2071
+ * Border Width Right
2072
+ * @see https://tailwindcss.com/docs/border-width
2073
+ */
2074
+ "border-w-r": [{ "border-r": scaleBorderWidth() }],
2075
+ /**
2076
+ * Border Width Bottom
2077
+ * @see https://tailwindcss.com/docs/border-width
2078
+ */
2079
+ "border-w-b": [{ "border-b": scaleBorderWidth() }],
2080
+ /**
2081
+ * Border Width Left
2082
+ * @see https://tailwindcss.com/docs/border-width
2083
+ */
2084
+ "border-w-l": [{ "border-l": scaleBorderWidth() }],
2085
+ /**
2086
+ * Divide Width X
2087
+ * @see https://tailwindcss.com/docs/border-width#between-children
2088
+ */
2089
+ "divide-x": [{ "divide-x": scaleBorderWidth() }],
2090
+ /**
2091
+ * Divide Width X Reverse
2092
+ * @see https://tailwindcss.com/docs/border-width#between-children
2093
+ */
2094
+ "divide-x-reverse": ["divide-x-reverse"],
2095
+ /**
2096
+ * Divide Width Y
2097
+ * @see https://tailwindcss.com/docs/border-width#between-children
2098
+ */
2099
+ "divide-y": [{ "divide-y": scaleBorderWidth() }],
2100
+ /**
2101
+ * Divide Width Y Reverse
2102
+ * @see https://tailwindcss.com/docs/border-width#between-children
2103
+ */
2104
+ "divide-y-reverse": ["divide-y-reverse"],
2105
+ /**
2106
+ * Border Style
2107
+ * @see https://tailwindcss.com/docs/border-style
2108
+ */
2109
+ "border-style": [{ border: [
2110
+ ...scaleLineStyle(),
2111
+ "hidden",
2112
+ "none"
2113
+ ] }],
2114
+ /**
2115
+ * Divide Style
2116
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2117
+ */
2118
+ "divide-style": [{ divide: [
2119
+ ...scaleLineStyle(),
2120
+ "hidden",
2121
+ "none"
2122
+ ] }],
2123
+ /**
2124
+ * Border Color
2125
+ * @see https://tailwindcss.com/docs/border-color
2126
+ */
2127
+ "border-color": [{ border: scaleColor() }],
2128
+ /**
2129
+ * Border Color Inline
2130
+ * @see https://tailwindcss.com/docs/border-color
2131
+ */
2132
+ "border-color-x": [{ "border-x": scaleColor() }],
2133
+ /**
2134
+ * Border Color Block
2135
+ * @see https://tailwindcss.com/docs/border-color
2136
+ */
2137
+ "border-color-y": [{ "border-y": scaleColor() }],
2138
+ /**
2139
+ * Border Color Inline Start
2140
+ * @see https://tailwindcss.com/docs/border-color
2141
+ */
2142
+ "border-color-s": [{ "border-s": scaleColor() }],
2143
+ /**
2144
+ * Border Color Inline End
2145
+ * @see https://tailwindcss.com/docs/border-color
2146
+ */
2147
+ "border-color-e": [{ "border-e": scaleColor() }],
2148
+ /**
2149
+ * Border Color Block Start
2150
+ * @see https://tailwindcss.com/docs/border-color
2151
+ */
2152
+ "border-color-bs": [{ "border-bs": scaleColor() }],
2153
+ /**
2154
+ * Border Color Block End
2155
+ * @see https://tailwindcss.com/docs/border-color
2156
+ */
2157
+ "border-color-be": [{ "border-be": scaleColor() }],
2158
+ /**
2159
+ * Border Color Top
2160
+ * @see https://tailwindcss.com/docs/border-color
2161
+ */
2162
+ "border-color-t": [{ "border-t": scaleColor() }],
2163
+ /**
2164
+ * Border Color Right
2165
+ * @see https://tailwindcss.com/docs/border-color
2166
+ */
2167
+ "border-color-r": [{ "border-r": scaleColor() }],
2168
+ /**
2169
+ * Border Color Bottom
2170
+ * @see https://tailwindcss.com/docs/border-color
2171
+ */
2172
+ "border-color-b": [{ "border-b": scaleColor() }],
2173
+ /**
2174
+ * Border Color Left
2175
+ * @see https://tailwindcss.com/docs/border-color
2176
+ */
2177
+ "border-color-l": [{ "border-l": scaleColor() }],
2178
+ /**
2179
+ * Divide Color
2180
+ * @see https://tailwindcss.com/docs/divide-color
2181
+ */
2182
+ "divide-color": [{ divide: scaleColor() }],
2183
+ /**
2184
+ * Outline Style
2185
+ * @see https://tailwindcss.com/docs/outline-style
2186
+ */
2187
+ "outline-style": [{ outline: [
2188
+ ...scaleLineStyle(),
2189
+ "none",
2190
+ "hidden"
2191
+ ] }],
2192
+ /**
2193
+ * Outline Offset
2194
+ * @see https://tailwindcss.com/docs/outline-offset
2195
+ */
2196
+ "outline-offset": [{ "outline-offset": [
2197
+ isNumber,
2198
+ isArbitraryVariable,
2199
+ isArbitraryValue
2200
+ ] }],
2201
+ /**
2202
+ * Outline Width
2203
+ * @see https://tailwindcss.com/docs/outline-width
2204
+ */
2205
+ "outline-w": [{ outline: [
2206
+ "",
2207
+ isNumber,
2208
+ isArbitraryVariableLength,
2209
+ isArbitraryLength
2210
+ ] }],
2211
+ /**
2212
+ * Outline Color
2213
+ * @see https://tailwindcss.com/docs/outline-color
2214
+ */
2215
+ "outline-color": [{ outline: scaleColor() }],
2216
+ /**
2217
+ * Box Shadow
2218
+ * @see https://tailwindcss.com/docs/box-shadow
2219
+ */
2220
+ shadow: [{ shadow: [
2221
+ "",
2222
+ "inner",
2223
+ "none",
2224
+ themeShadow,
2225
+ isArbitraryVariableShadow,
2226
+ isArbitraryShadow
2227
+ ] }],
2228
+ /**
2229
+ * Box Shadow Color
2230
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2231
+ */
2232
+ "shadow-color": [{ shadow: scaleColor() }],
2233
+ /**
2234
+ * Inset Box Shadow
2235
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2236
+ */
2237
+ "inset-shadow": [{ "inset-shadow": [
2238
+ "none",
2239
+ themeInsetShadow,
2240
+ isArbitraryVariableShadow,
2241
+ isArbitraryShadow
2242
+ ] }],
2243
+ /**
2244
+ * Inset Box Shadow Color
2245
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2246
+ */
2247
+ "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
2248
+ /**
2249
+ * Ring Width
2250
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2251
+ */
2252
+ "ring-w": [{ ring: scaleBorderWidth() }],
2253
+ /**
2254
+ * Ring Width Inset
2255
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2256
+ * @deprecated since Tailwind CSS v4.0.0
2257
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2258
+ */
2259
+ "ring-w-inset": ["ring-inset"],
2260
+ /**
2261
+ * Ring Color
2262
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2263
+ */
2264
+ "ring-color": [{ ring: scaleColor() }],
2265
+ /**
2266
+ * Ring Offset Width
2267
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2268
+ * @deprecated since Tailwind CSS v4.0.0
2269
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2270
+ */
2271
+ "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2272
+ /**
2273
+ * Ring Offset Color
2274
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2275
+ * @deprecated since Tailwind CSS v4.0.0
2276
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2277
+ */
2278
+ "ring-offset-color": [{ "ring-offset": scaleColor() }],
2279
+ /**
2280
+ * Inset Ring Width
2281
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2282
+ */
2283
+ "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
2284
+ /**
2285
+ * Inset Ring Color
2286
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2287
+ */
2288
+ "inset-ring-color": [{ "inset-ring": scaleColor() }],
2289
+ /**
2290
+ * Text Shadow
2291
+ * @see https://tailwindcss.com/docs/text-shadow
2292
+ */
2293
+ "text-shadow": [{ "text-shadow": [
2294
+ "none",
2295
+ themeTextShadow,
2296
+ isArbitraryVariableShadow,
2297
+ isArbitraryShadow
2298
+ ] }],
2299
+ /**
2300
+ * Text Shadow Color
2301
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2302
+ */
2303
+ "text-shadow-color": [{ "text-shadow": scaleColor() }],
2304
+ /**
2305
+ * Opacity
2306
+ * @see https://tailwindcss.com/docs/opacity
2307
+ */
2308
+ opacity: [{ opacity: [
2309
+ isNumber,
2310
+ isArbitraryVariable,
2311
+ isArbitraryValue
2312
+ ] }],
2313
+ /**
2314
+ * Mix Blend Mode
2315
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2316
+ */
2317
+ "mix-blend": [{ "mix-blend": [
2318
+ ...scaleBlendMode(),
2319
+ "plus-darker",
2320
+ "plus-lighter"
2321
+ ] }],
2322
+ /**
2323
+ * Background Blend Mode
2324
+ * @see https://tailwindcss.com/docs/background-blend-mode
2325
+ */
2326
+ "bg-blend": [{ "bg-blend": scaleBlendMode() }],
2327
+ /**
2328
+ * Mask Clip
2329
+ * @see https://tailwindcss.com/docs/mask-clip
2330
+ */
2331
+ "mask-clip": [{ "mask-clip": [
2332
+ "border",
2333
+ "padding",
2334
+ "content",
2335
+ "fill",
2336
+ "stroke",
2337
+ "view"
2338
+ ] }, "mask-no-clip"],
2339
+ /**
2340
+ * Mask Composite
2341
+ * @see https://tailwindcss.com/docs/mask-composite
2342
+ */
2343
+ "mask-composite": [{ mask: [
2344
+ "add",
2345
+ "subtract",
2346
+ "intersect",
2347
+ "exclude"
2348
+ ] }],
2349
+ /**
2350
+ * Mask Image
2351
+ * @see https://tailwindcss.com/docs/mask-image
2352
+ */
2353
+ "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
2354
+ "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
2355
+ "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
2356
+ "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
2357
+ "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
2358
+ "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
2359
+ "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
2360
+ "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
2361
+ "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
2362
+ "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
2363
+ "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
2364
+ "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
2365
+ "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
2366
+ "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
2367
+ "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
2368
+ "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
2369
+ "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
2370
+ "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
2371
+ "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
2372
+ "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
2373
+ "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
2374
+ "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
2375
+ "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
2376
+ "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
2377
+ "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
2378
+ "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
2379
+ "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
2380
+ "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
2381
+ "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
2382
+ "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
2383
+ "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
2384
+ "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
2385
+ "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
2386
+ "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
2387
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2388
+ "mask-image-radial-size": [{ "mask-radial": [{
2389
+ closest: ["side", "corner"],
2390
+ farthest: ["side", "corner"]
2391
+ }] }],
2392
+ "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
2393
+ "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
2394
+ "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
2395
+ "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
2396
+ "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
2397
+ "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
2398
+ /**
2399
+ * Mask Mode
2400
+ * @see https://tailwindcss.com/docs/mask-mode
2401
+ */
2402
+ "mask-mode": [{ mask: [
2403
+ "alpha",
2404
+ "luminance",
2405
+ "match"
2406
+ ] }],
2407
+ /**
2408
+ * Mask Origin
2409
+ * @see https://tailwindcss.com/docs/mask-origin
2410
+ */
2411
+ "mask-origin": [{ "mask-origin": [
2412
+ "border",
2413
+ "padding",
2414
+ "content",
2415
+ "fill",
2416
+ "stroke",
2417
+ "view"
2418
+ ] }],
2419
+ /**
2420
+ * Mask Position
2421
+ * @see https://tailwindcss.com/docs/mask-position
2422
+ */
2423
+ "mask-position": [{ mask: scaleBgPosition() }],
2424
+ /**
2425
+ * Mask Repeat
2426
+ * @see https://tailwindcss.com/docs/mask-repeat
2427
+ */
2428
+ "mask-repeat": [{ mask: scaleBgRepeat() }],
2429
+ /**
2430
+ * Mask Size
2431
+ * @see https://tailwindcss.com/docs/mask-size
2432
+ */
2433
+ "mask-size": [{ mask: scaleBgSize() }],
2434
+ /**
2435
+ * Mask Type
2436
+ * @see https://tailwindcss.com/docs/mask-type
2437
+ */
2438
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2439
+ /**
2440
+ * Mask Image
2441
+ * @see https://tailwindcss.com/docs/mask-image
2442
+ */
2443
+ "mask-image": [{ mask: [
2444
+ "none",
2445
+ isArbitraryVariable,
2446
+ isArbitraryValue
2447
+ ] }],
2448
+ /**
2449
+ * Filter
2450
+ * @see https://tailwindcss.com/docs/filter
2451
+ */
2452
+ filter: [{ filter: [
2453
+ "",
2454
+ "none",
2455
+ isArbitraryVariable,
2456
+ isArbitraryValue
2457
+ ] }],
2458
+ /**
2459
+ * Blur
2460
+ * @see https://tailwindcss.com/docs/blur
2461
+ */
2462
+ blur: [{ blur: scaleBlur() }],
2463
+ /**
2464
+ * Brightness
2465
+ * @see https://tailwindcss.com/docs/brightness
2466
+ */
2467
+ brightness: [{ brightness: [
2468
+ isNumber,
2469
+ isArbitraryVariable,
2470
+ isArbitraryValue
2471
+ ] }],
2472
+ /**
2473
+ * Contrast
2474
+ * @see https://tailwindcss.com/docs/contrast
2475
+ */
2476
+ contrast: [{ contrast: [
2477
+ isNumber,
2478
+ isArbitraryVariable,
2479
+ isArbitraryValue
2480
+ ] }],
2481
+ /**
2482
+ * Drop Shadow
2483
+ * @see https://tailwindcss.com/docs/drop-shadow
2484
+ */
2485
+ "drop-shadow": [{ "drop-shadow": [
2486
+ "",
2487
+ "none",
2488
+ themeDropShadow,
2489
+ isArbitraryVariableShadow,
2490
+ isArbitraryShadow
2491
+ ] }],
2492
+ /**
2493
+ * Drop Shadow Color
2494
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2495
+ */
2496
+ "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
2497
+ /**
2498
+ * Grayscale
2499
+ * @see https://tailwindcss.com/docs/grayscale
2500
+ */
2501
+ grayscale: [{ grayscale: [
2502
+ "",
2503
+ isNumber,
2504
+ isArbitraryVariable,
2505
+ isArbitraryValue
2506
+ ] }],
2507
+ /**
2508
+ * Hue Rotate
2509
+ * @see https://tailwindcss.com/docs/hue-rotate
2510
+ */
2511
+ "hue-rotate": [{ "hue-rotate": [
2512
+ isNumber,
2513
+ isArbitraryVariable,
2514
+ isArbitraryValue
2515
+ ] }],
2516
+ /**
2517
+ * Invert
2518
+ * @see https://tailwindcss.com/docs/invert
2519
+ */
2520
+ invert: [{ invert: [
2521
+ "",
2522
+ isNumber,
2523
+ isArbitraryVariable,
2524
+ isArbitraryValue
2525
+ ] }],
2526
+ /**
2527
+ * Saturate
2528
+ * @see https://tailwindcss.com/docs/saturate
2529
+ */
2530
+ saturate: [{ saturate: [
2531
+ isNumber,
2532
+ isArbitraryVariable,
2533
+ isArbitraryValue
2534
+ ] }],
2535
+ /**
2536
+ * Sepia
2537
+ * @see https://tailwindcss.com/docs/sepia
2538
+ */
2539
+ sepia: [{ sepia: [
2540
+ "",
2541
+ isNumber,
2542
+ isArbitraryVariable,
2543
+ isArbitraryValue
2544
+ ] }],
2545
+ /**
2546
+ * Backdrop Filter
2547
+ * @see https://tailwindcss.com/docs/backdrop-filter
2548
+ */
2549
+ "backdrop-filter": [{ "backdrop-filter": [
2550
+ "",
2551
+ "none",
2552
+ isArbitraryVariable,
2553
+ isArbitraryValue
2554
+ ] }],
2555
+ /**
2556
+ * Backdrop Blur
2557
+ * @see https://tailwindcss.com/docs/backdrop-blur
2558
+ */
2559
+ "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
2560
+ /**
2561
+ * Backdrop Brightness
2562
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2563
+ */
2564
+ "backdrop-brightness": [{ "backdrop-brightness": [
2565
+ isNumber,
2566
+ isArbitraryVariable,
2567
+ isArbitraryValue
2568
+ ] }],
2569
+ /**
2570
+ * Backdrop Contrast
2571
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2572
+ */
2573
+ "backdrop-contrast": [{ "backdrop-contrast": [
2574
+ isNumber,
2575
+ isArbitraryVariable,
2576
+ isArbitraryValue
2577
+ ] }],
2578
+ /**
2579
+ * Backdrop Grayscale
2580
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2581
+ */
2582
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
2583
+ "",
2584
+ isNumber,
2585
+ isArbitraryVariable,
2586
+ isArbitraryValue
2587
+ ] }],
2588
+ /**
2589
+ * Backdrop Hue Rotate
2590
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2591
+ */
2592
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
2593
+ isNumber,
2594
+ isArbitraryVariable,
2595
+ isArbitraryValue
2596
+ ] }],
2597
+ /**
2598
+ * Backdrop Invert
2599
+ * @see https://tailwindcss.com/docs/backdrop-invert
2600
+ */
2601
+ "backdrop-invert": [{ "backdrop-invert": [
2602
+ "",
2603
+ isNumber,
2604
+ isArbitraryVariable,
2605
+ isArbitraryValue
2606
+ ] }],
2607
+ /**
2608
+ * Backdrop Opacity
2609
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2610
+ */
2611
+ "backdrop-opacity": [{ "backdrop-opacity": [
2612
+ isNumber,
2613
+ isArbitraryVariable,
2614
+ isArbitraryValue
2615
+ ] }],
2616
+ /**
2617
+ * Backdrop Saturate
2618
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2619
+ */
2620
+ "backdrop-saturate": [{ "backdrop-saturate": [
2621
+ isNumber,
2622
+ isArbitraryVariable,
2623
+ isArbitraryValue
2624
+ ] }],
2625
+ /**
2626
+ * Backdrop Sepia
2627
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2628
+ */
2629
+ "backdrop-sepia": [{ "backdrop-sepia": [
2630
+ "",
2631
+ isNumber,
2632
+ isArbitraryVariable,
2633
+ isArbitraryValue
2634
+ ] }],
2635
+ /**
2636
+ * Border Collapse
2637
+ * @see https://tailwindcss.com/docs/border-collapse
2638
+ */
2639
+ "border-collapse": [{ border: ["collapse", "separate"] }],
2640
+ /**
2641
+ * Border Spacing
2642
+ * @see https://tailwindcss.com/docs/border-spacing
2643
+ */
2644
+ "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
2645
+ /**
2646
+ * Border Spacing X
2647
+ * @see https://tailwindcss.com/docs/border-spacing
2648
+ */
2649
+ "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
2650
+ /**
2651
+ * Border Spacing Y
2652
+ * @see https://tailwindcss.com/docs/border-spacing
2653
+ */
2654
+ "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
2655
+ /**
2656
+ * Table Layout
2657
+ * @see https://tailwindcss.com/docs/table-layout
2658
+ */
2659
+ "table-layout": [{ table: ["auto", "fixed"] }],
2660
+ /**
2661
+ * Caption Side
2662
+ * @see https://tailwindcss.com/docs/caption-side
2663
+ */
2664
+ caption: [{ caption: ["top", "bottom"] }],
2665
+ /**
2666
+ * Transition Property
2667
+ * @see https://tailwindcss.com/docs/transition-property
2668
+ */
2669
+ transition: [{ transition: [
2670
+ "",
2671
+ "all",
2672
+ "colors",
2673
+ "opacity",
2674
+ "shadow",
2675
+ "transform",
2676
+ "none",
2677
+ isArbitraryVariable,
2678
+ isArbitraryValue
2679
+ ] }],
2680
+ /**
2681
+ * Transition Behavior
2682
+ * @see https://tailwindcss.com/docs/transition-behavior
2683
+ */
2684
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
2685
+ /**
2686
+ * Transition Duration
2687
+ * @see https://tailwindcss.com/docs/transition-duration
2688
+ */
2689
+ duration: [{ duration: [
2690
+ isNumber,
2691
+ "initial",
2692
+ isArbitraryVariable,
2693
+ isArbitraryValue
2694
+ ] }],
2695
+ /**
2696
+ * Transition Timing Function
2697
+ * @see https://tailwindcss.com/docs/transition-timing-function
2698
+ */
2699
+ ease: [{ ease: [
2700
+ "linear",
2701
+ "initial",
2702
+ themeEase,
2703
+ isArbitraryVariable,
2704
+ isArbitraryValue
2705
+ ] }],
2706
+ /**
2707
+ * Transition Delay
2708
+ * @see https://tailwindcss.com/docs/transition-delay
2709
+ */
2710
+ delay: [{ delay: [
2711
+ isNumber,
2712
+ isArbitraryVariable,
2713
+ isArbitraryValue
2714
+ ] }],
2715
+ /**
2716
+ * Animation
2717
+ * @see https://tailwindcss.com/docs/animation
2718
+ */
2719
+ animate: [{ animate: [
2720
+ "none",
2721
+ themeAnimate,
2722
+ isArbitraryVariable,
2723
+ isArbitraryValue
2724
+ ] }],
2725
+ /**
2726
+ * Backface Visibility
2727
+ * @see https://tailwindcss.com/docs/backface-visibility
2728
+ */
2729
+ backface: [{ backface: ["hidden", "visible"] }],
2730
+ /**
2731
+ * Perspective
2732
+ * @see https://tailwindcss.com/docs/perspective
2733
+ */
2734
+ perspective: [{ perspective: [
2735
+ themePerspective,
2736
+ isArbitraryVariable,
2737
+ isArbitraryValue
2738
+ ] }],
2739
+ /**
2740
+ * Perspective Origin
2741
+ * @see https://tailwindcss.com/docs/perspective-origin
2742
+ */
2743
+ "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
2744
+ /**
2745
+ * Rotate
2746
+ * @see https://tailwindcss.com/docs/rotate
2747
+ */
2748
+ rotate: [{ rotate: scaleRotate() }],
2749
+ /**
2750
+ * Rotate X
2751
+ * @see https://tailwindcss.com/docs/rotate
2752
+ */
2753
+ "rotate-x": [{ "rotate-x": scaleRotate() }],
2754
+ /**
2755
+ * Rotate Y
2756
+ * @see https://tailwindcss.com/docs/rotate
2757
+ */
2758
+ "rotate-y": [{ "rotate-y": scaleRotate() }],
2759
+ /**
2760
+ * Rotate Z
2761
+ * @see https://tailwindcss.com/docs/rotate
2762
+ */
2763
+ "rotate-z": [{ "rotate-z": scaleRotate() }],
2764
+ /**
2765
+ * Scale
2766
+ * @see https://tailwindcss.com/docs/scale
2767
+ */
2768
+ scale: [{ scale: scaleScale() }],
2769
+ /**
2770
+ * Scale X
2771
+ * @see https://tailwindcss.com/docs/scale
2772
+ */
2773
+ "scale-x": [{ "scale-x": scaleScale() }],
2774
+ /**
2775
+ * Scale Y
2776
+ * @see https://tailwindcss.com/docs/scale
2777
+ */
2778
+ "scale-y": [{ "scale-y": scaleScale() }],
2779
+ /**
2780
+ * Scale Z
2781
+ * @see https://tailwindcss.com/docs/scale
2782
+ */
2783
+ "scale-z": [{ "scale-z": scaleScale() }],
2784
+ /**
2785
+ * Scale 3D
2786
+ * @see https://tailwindcss.com/docs/scale
2787
+ */
2788
+ "scale-3d": ["scale-3d"],
2789
+ /**
2790
+ * Skew
2791
+ * @see https://tailwindcss.com/docs/skew
2792
+ */
2793
+ skew: [{ skew: scaleSkew() }],
2794
+ /**
2795
+ * Skew X
2796
+ * @see https://tailwindcss.com/docs/skew
2797
+ */
2798
+ "skew-x": [{ "skew-x": scaleSkew() }],
2799
+ /**
2800
+ * Skew Y
2801
+ * @see https://tailwindcss.com/docs/skew
2802
+ */
2803
+ "skew-y": [{ "skew-y": scaleSkew() }],
2804
+ /**
2805
+ * Transform
2806
+ * @see https://tailwindcss.com/docs/transform
2807
+ */
2808
+ transform: [{ transform: [
2809
+ isArbitraryVariable,
2810
+ isArbitraryValue,
2811
+ "",
2812
+ "none",
2813
+ "gpu",
2814
+ "cpu"
2815
+ ] }],
2816
+ /**
2817
+ * Transform Origin
2818
+ * @see https://tailwindcss.com/docs/transform-origin
2819
+ */
2820
+ "transform-origin": [{ origin: scalePositionWithArbitrary() }],
2821
+ /**
2822
+ * Transform Style
2823
+ * @see https://tailwindcss.com/docs/transform-style
2824
+ */
2825
+ "transform-style": [{ transform: ["3d", "flat"] }],
2826
+ /**
2827
+ * Translate
2828
+ * @see https://tailwindcss.com/docs/translate
2829
+ */
2830
+ translate: [{ translate: scaleTranslate() }],
2831
+ /**
2832
+ * Translate X
2833
+ * @see https://tailwindcss.com/docs/translate
2834
+ */
2835
+ "translate-x": [{ "translate-x": scaleTranslate() }],
2836
+ /**
2837
+ * Translate Y
2838
+ * @see https://tailwindcss.com/docs/translate
2839
+ */
2840
+ "translate-y": [{ "translate-y": scaleTranslate() }],
2841
+ /**
2842
+ * Translate Z
2843
+ * @see https://tailwindcss.com/docs/translate
2844
+ */
2845
+ "translate-z": [{ "translate-z": scaleTranslate() }],
2846
+ /**
2847
+ * Translate None
2848
+ * @see https://tailwindcss.com/docs/translate
2849
+ */
2850
+ "translate-none": ["translate-none"],
2851
+ /**
2852
+ * Zoom
2853
+ * @see https://tailwindcss.com/docs/zoom
2854
+ */
2855
+ zoom: [{ zoom: [
2856
+ isInteger,
2857
+ isArbitraryVariable,
2858
+ isArbitraryValue
2859
+ ] }],
2860
+ /**
2861
+ * Accent Color
2862
+ * @see https://tailwindcss.com/docs/accent-color
2863
+ */
2864
+ accent: [{ accent: scaleColor() }],
2865
+ /**
2866
+ * Appearance
2867
+ * @see https://tailwindcss.com/docs/appearance
2868
+ */
2869
+ appearance: [{ appearance: ["none", "auto"] }],
2870
+ /**
2871
+ * Caret Color
2872
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2873
+ */
2874
+ "caret-color": [{ caret: scaleColor() }],
2875
+ /**
2876
+ * Color Scheme
2877
+ * @see https://tailwindcss.com/docs/color-scheme
2878
+ */
2879
+ "color-scheme": [{ scheme: [
2880
+ "normal",
2881
+ "dark",
2882
+ "light",
2883
+ "light-dark",
2884
+ "only-dark",
2885
+ "only-light"
2886
+ ] }],
2887
+ /**
2888
+ * Cursor
2889
+ * @see https://tailwindcss.com/docs/cursor
2890
+ */
2891
+ cursor: [{ cursor: [
2892
+ "auto",
2893
+ "default",
2894
+ "pointer",
2895
+ "wait",
2896
+ "text",
2897
+ "move",
2898
+ "help",
2899
+ "not-allowed",
2900
+ "none",
2901
+ "context-menu",
2902
+ "progress",
2903
+ "cell",
2904
+ "crosshair",
2905
+ "vertical-text",
2906
+ "alias",
2907
+ "copy",
2908
+ "no-drop",
2909
+ "grab",
2910
+ "grabbing",
2911
+ "all-scroll",
2912
+ "col-resize",
2913
+ "row-resize",
2914
+ "n-resize",
2915
+ "e-resize",
2916
+ "s-resize",
2917
+ "w-resize",
2918
+ "ne-resize",
2919
+ "nw-resize",
2920
+ "se-resize",
2921
+ "sw-resize",
2922
+ "ew-resize",
2923
+ "ns-resize",
2924
+ "nesw-resize",
2925
+ "nwse-resize",
2926
+ "zoom-in",
2927
+ "zoom-out",
2928
+ isArbitraryVariable,
2929
+ isArbitraryValue
2930
+ ] }],
2931
+ /**
2932
+ * Field Sizing
2933
+ * @see https://tailwindcss.com/docs/field-sizing
2934
+ */
2935
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
2936
+ /**
2937
+ * Pointer Events
2938
+ * @see https://tailwindcss.com/docs/pointer-events
2939
+ */
2940
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
2941
+ /**
2942
+ * Resize
2943
+ * @see https://tailwindcss.com/docs/resize
2944
+ */
2945
+ resize: [{ resize: [
2946
+ "none",
2947
+ "",
2948
+ "y",
2949
+ "x"
2950
+ ] }],
2951
+ /**
2952
+ * Scroll Behavior
2953
+ * @see https://tailwindcss.com/docs/scroll-behavior
2954
+ */
2955
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2956
+ /**
2957
+ * Scrollbar Thumb Color
2958
+ * @see https://tailwindcss.com/docs/scrollbar-color
2959
+ */
2960
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": scaleColor() }],
2961
+ /**
2962
+ * Scrollbar Track Color
2963
+ * @see https://tailwindcss.com/docs/scrollbar-color
2964
+ */
2965
+ "scrollbar-track-color": [{ "scrollbar-track": scaleColor() }],
2966
+ /**
2967
+ * Scrollbar Gutter
2968
+ * @see https://tailwindcss.com/docs/scrollbar-gutter
2969
+ */
2970
+ "scrollbar-gutter": [{ "scrollbar-gutter": [
2971
+ "auto",
2972
+ "stable",
2973
+ "both"
2974
+ ] }],
2975
+ /**
2976
+ * Scrollbar Width
2977
+ * @see https://tailwindcss.com/docs/scrollbar-width
2978
+ */
2979
+ "scrollbar-w": [{ scrollbar: [
2980
+ "auto",
2981
+ "thin",
2982
+ "none"
2983
+ ] }],
2984
+ /**
2985
+ * Scroll Margin
2986
+ * @see https://tailwindcss.com/docs/scroll-margin
2987
+ */
2988
+ "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
2989
+ /**
2990
+ * Scroll Margin Inline
2991
+ * @see https://tailwindcss.com/docs/scroll-margin
2992
+ */
2993
+ "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
2994
+ /**
2995
+ * Scroll Margin Block
2996
+ * @see https://tailwindcss.com/docs/scroll-margin
2997
+ */
2998
+ "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
2999
+ /**
3000
+ * Scroll Margin Inline Start
3001
+ * @see https://tailwindcss.com/docs/scroll-margin
3002
+ */
3003
+ "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
3004
+ /**
3005
+ * Scroll Margin Inline End
3006
+ * @see https://tailwindcss.com/docs/scroll-margin
3007
+ */
3008
+ "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
3009
+ /**
3010
+ * Scroll Margin Block Start
3011
+ * @see https://tailwindcss.com/docs/scroll-margin
3012
+ */
3013
+ "scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
3014
+ /**
3015
+ * Scroll Margin Block End
3016
+ * @see https://tailwindcss.com/docs/scroll-margin
3017
+ */
3018
+ "scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
3019
+ /**
3020
+ * Scroll Margin Top
3021
+ * @see https://tailwindcss.com/docs/scroll-margin
3022
+ */
3023
+ "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
3024
+ /**
3025
+ * Scroll Margin Right
3026
+ * @see https://tailwindcss.com/docs/scroll-margin
3027
+ */
3028
+ "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
3029
+ /**
3030
+ * Scroll Margin Bottom
3031
+ * @see https://tailwindcss.com/docs/scroll-margin
3032
+ */
3033
+ "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
3034
+ /**
3035
+ * Scroll Margin Left
3036
+ * @see https://tailwindcss.com/docs/scroll-margin
3037
+ */
3038
+ "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
3039
+ /**
3040
+ * Scroll Padding
3041
+ * @see https://tailwindcss.com/docs/scroll-padding
3042
+ */
3043
+ "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
3044
+ /**
3045
+ * Scroll Padding Inline
3046
+ * @see https://tailwindcss.com/docs/scroll-padding
3047
+ */
3048
+ "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
3049
+ /**
3050
+ * Scroll Padding Block
3051
+ * @see https://tailwindcss.com/docs/scroll-padding
3052
+ */
3053
+ "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
3054
+ /**
3055
+ * Scroll Padding Inline Start
3056
+ * @see https://tailwindcss.com/docs/scroll-padding
3057
+ */
3058
+ "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
3059
+ /**
3060
+ * Scroll Padding Inline End
3061
+ * @see https://tailwindcss.com/docs/scroll-padding
3062
+ */
3063
+ "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
3064
+ /**
3065
+ * Scroll Padding Block Start
3066
+ * @see https://tailwindcss.com/docs/scroll-padding
3067
+ */
3068
+ "scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
3069
+ /**
3070
+ * Scroll Padding Block End
3071
+ * @see https://tailwindcss.com/docs/scroll-padding
3072
+ */
3073
+ "scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
3074
+ /**
3075
+ * Scroll Padding Top
3076
+ * @see https://tailwindcss.com/docs/scroll-padding
3077
+ */
3078
+ "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
3079
+ /**
3080
+ * Scroll Padding Right
3081
+ * @see https://tailwindcss.com/docs/scroll-padding
3082
+ */
3083
+ "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
3084
+ /**
3085
+ * Scroll Padding Bottom
3086
+ * @see https://tailwindcss.com/docs/scroll-padding
3087
+ */
3088
+ "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
3089
+ /**
3090
+ * Scroll Padding Left
3091
+ * @see https://tailwindcss.com/docs/scroll-padding
3092
+ */
3093
+ "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
3094
+ /**
3095
+ * Scroll Snap Align
3096
+ * @see https://tailwindcss.com/docs/scroll-snap-align
3097
+ */
3098
+ "snap-align": [{ snap: [
3099
+ "start",
3100
+ "end",
3101
+ "center",
3102
+ "align-none"
3103
+ ] }],
3104
+ /**
3105
+ * Scroll Snap Stop
3106
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3107
+ */
3108
+ "snap-stop": [{ snap: ["normal", "always"] }],
3109
+ /**
3110
+ * Scroll Snap Type
3111
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3112
+ */
3113
+ "snap-type": [{ snap: [
3114
+ "none",
3115
+ "x",
3116
+ "y",
3117
+ "both"
3118
+ ] }],
3119
+ /**
3120
+ * Scroll Snap Type Strictness
3121
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3122
+ */
3123
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
3124
+ /**
3125
+ * Touch Action
3126
+ * @see https://tailwindcss.com/docs/touch-action
3127
+ */
3128
+ touch: [{ touch: [
3129
+ "auto",
3130
+ "none",
3131
+ "manipulation"
3132
+ ] }],
3133
+ /**
3134
+ * Touch Action X
3135
+ * @see https://tailwindcss.com/docs/touch-action
3136
+ */
3137
+ "touch-x": [{ "touch-pan": [
3138
+ "x",
3139
+ "left",
3140
+ "right"
3141
+ ] }],
3142
+ /**
3143
+ * Touch Action Y
3144
+ * @see https://tailwindcss.com/docs/touch-action
3145
+ */
3146
+ "touch-y": [{ "touch-pan": [
3147
+ "y",
3148
+ "up",
3149
+ "down"
3150
+ ] }],
3151
+ /**
3152
+ * Touch Action Pinch Zoom
3153
+ * @see https://tailwindcss.com/docs/touch-action
3154
+ */
3155
+ "touch-pz": ["touch-pinch-zoom"],
3156
+ /**
3157
+ * User Select
3158
+ * @see https://tailwindcss.com/docs/user-select
3159
+ */
3160
+ select: [{ select: [
3161
+ "none",
3162
+ "text",
3163
+ "all",
3164
+ "auto"
3165
+ ] }],
3166
+ /**
3167
+ * Will Change
3168
+ * @see https://tailwindcss.com/docs/will-change
3169
+ */
3170
+ "will-change": [{ "will-change": [
3171
+ "auto",
3172
+ "scroll",
3173
+ "contents",
3174
+ "transform",
3175
+ isArbitraryVariable,
3176
+ isArbitraryValue
3177
+ ] }],
3178
+ /**
3179
+ * Fill
3180
+ * @see https://tailwindcss.com/docs/fill
3181
+ */
3182
+ fill: [{ fill: ["none", ...scaleColor()] }],
3183
+ /**
3184
+ * Stroke Width
3185
+ * @see https://tailwindcss.com/docs/stroke-width
3186
+ */
3187
+ "stroke-w": [{ stroke: [
3188
+ isNumber,
3189
+ isArbitraryVariableLength,
3190
+ isArbitraryLength,
3191
+ isArbitraryNumber
3192
+ ] }],
3193
+ /**
3194
+ * Stroke
3195
+ * @see https://tailwindcss.com/docs/stroke
3196
+ */
3197
+ stroke: [{ stroke: ["none", ...scaleColor()] }],
3198
+ /**
3199
+ * Forced Color Adjust
3200
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3201
+ */
3202
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3203
+ },
3204
+ conflictingClassGroups: {
3205
+ "container-named": ["container-type"],
3206
+ overflow: ["overflow-x", "overflow-y"],
3207
+ overscroll: ["overscroll-x", "overscroll-y"],
3208
+ inset: [
3209
+ "inset-x",
3210
+ "inset-y",
3211
+ "inset-bs",
3212
+ "inset-be",
3213
+ "start",
3214
+ "end",
3215
+ "top",
3216
+ "right",
3217
+ "bottom",
3218
+ "left"
3219
+ ],
3220
+ "inset-x": [
3221
+ "start",
3222
+ "end",
3223
+ "right",
3224
+ "left"
3225
+ ],
3226
+ "inset-y": [
3227
+ "inset-bs",
3228
+ "inset-be",
3229
+ "top",
3230
+ "bottom"
3231
+ ],
3232
+ flex: [
3233
+ "basis",
3234
+ "grow",
3235
+ "shrink"
3236
+ ],
3237
+ gap: ["gap-x", "gap-y"],
3238
+ p: [
3239
+ "px",
3240
+ "py",
3241
+ "ps",
3242
+ "pe",
3243
+ "pbs",
3244
+ "pbe",
3245
+ "pt",
3246
+ "pr",
3247
+ "pb",
3248
+ "pl"
3249
+ ],
3250
+ px: [
3251
+ "ps",
3252
+ "pe",
3253
+ "pr",
3254
+ "pl"
3255
+ ],
3256
+ py: [
3257
+ "pbs",
3258
+ "pbe",
3259
+ "pt",
3260
+ "pb"
3261
+ ],
3262
+ m: [
3263
+ "mx",
3264
+ "my",
3265
+ "ms",
3266
+ "me",
3267
+ "mbs",
3268
+ "mbe",
3269
+ "mt",
3270
+ "mr",
3271
+ "mb",
3272
+ "ml"
3273
+ ],
3274
+ mx: [
3275
+ "ms",
3276
+ "me",
3277
+ "mr",
3278
+ "ml"
3279
+ ],
3280
+ my: [
3281
+ "mbs",
3282
+ "mbe",
3283
+ "mt",
3284
+ "mb"
3285
+ ],
3286
+ size: ["w", "h"],
3287
+ "font-size": ["leading"],
3288
+ "fvn-normal": [
3289
+ "fvn-ordinal",
3290
+ "fvn-slashed-zero",
3291
+ "fvn-figure",
3292
+ "fvn-spacing",
3293
+ "fvn-fraction"
3294
+ ],
3295
+ "fvn-ordinal": ["fvn-normal"],
3296
+ "fvn-slashed-zero": ["fvn-normal"],
3297
+ "fvn-figure": ["fvn-normal"],
3298
+ "fvn-spacing": ["fvn-normal"],
3299
+ "fvn-fraction": ["fvn-normal"],
3300
+ "line-clamp": ["display", "overflow"],
3301
+ rounded: [
3302
+ "rounded-s",
3303
+ "rounded-e",
3304
+ "rounded-t",
3305
+ "rounded-r",
3306
+ "rounded-b",
3307
+ "rounded-l",
3308
+ "rounded-ss",
3309
+ "rounded-se",
3310
+ "rounded-ee",
3311
+ "rounded-es",
3312
+ "rounded-tl",
3313
+ "rounded-tr",
3314
+ "rounded-br",
3315
+ "rounded-bl"
3316
+ ],
3317
+ "rounded-s": ["rounded-ss", "rounded-es"],
3318
+ "rounded-e": ["rounded-se", "rounded-ee"],
3319
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3320
+ "rounded-r": ["rounded-tr", "rounded-br"],
3321
+ "rounded-b": ["rounded-br", "rounded-bl"],
3322
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3323
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3324
+ "border-w": [
3325
+ "border-w-x",
3326
+ "border-w-y",
3327
+ "border-w-s",
3328
+ "border-w-e",
3329
+ "border-w-bs",
3330
+ "border-w-be",
3331
+ "border-w-t",
3332
+ "border-w-r",
3333
+ "border-w-b",
3334
+ "border-w-l"
3335
+ ],
3336
+ "border-w-x": [
3337
+ "border-w-s",
3338
+ "border-w-e",
3339
+ "border-w-r",
3340
+ "border-w-l"
3341
+ ],
3342
+ "border-w-y": [
3343
+ "border-w-bs",
3344
+ "border-w-be",
3345
+ "border-w-t",
3346
+ "border-w-b"
3347
+ ],
3348
+ "border-color": [
3349
+ "border-color-x",
3350
+ "border-color-y",
3351
+ "border-color-s",
3352
+ "border-color-e",
3353
+ "border-color-bs",
3354
+ "border-color-be",
3355
+ "border-color-t",
3356
+ "border-color-r",
3357
+ "border-color-b",
3358
+ "border-color-l"
3359
+ ],
3360
+ "border-color-x": [
3361
+ "border-color-s",
3362
+ "border-color-e",
3363
+ "border-color-r",
3364
+ "border-color-l"
3365
+ ],
3366
+ "border-color-y": [
3367
+ "border-color-bs",
3368
+ "border-color-be",
3369
+ "border-color-t",
3370
+ "border-color-b"
3371
+ ],
3372
+ translate: [
3373
+ "translate-x",
3374
+ "translate-y",
3375
+ "translate-none"
3376
+ ],
3377
+ "translate-none": [
3378
+ "translate",
3379
+ "translate-x",
3380
+ "translate-y",
3381
+ "translate-z"
3382
+ ],
3383
+ "scroll-m": [
3384
+ "scroll-mx",
3385
+ "scroll-my",
3386
+ "scroll-ms",
3387
+ "scroll-me",
3388
+ "scroll-mbs",
3389
+ "scroll-mbe",
3390
+ "scroll-mt",
3391
+ "scroll-mr",
3392
+ "scroll-mb",
3393
+ "scroll-ml"
3394
+ ],
3395
+ "scroll-mx": [
3396
+ "scroll-ms",
3397
+ "scroll-me",
3398
+ "scroll-mr",
3399
+ "scroll-ml"
3400
+ ],
3401
+ "scroll-my": [
3402
+ "scroll-mbs",
3403
+ "scroll-mbe",
3404
+ "scroll-mt",
3405
+ "scroll-mb"
3406
+ ],
3407
+ "scroll-p": [
3408
+ "scroll-px",
3409
+ "scroll-py",
3410
+ "scroll-ps",
3411
+ "scroll-pe",
3412
+ "scroll-pbs",
3413
+ "scroll-pbe",
3414
+ "scroll-pt",
3415
+ "scroll-pr",
3416
+ "scroll-pb",
3417
+ "scroll-pl"
3418
+ ],
3419
+ "scroll-px": [
3420
+ "scroll-ps",
3421
+ "scroll-pe",
3422
+ "scroll-pr",
3423
+ "scroll-pl"
3424
+ ],
3425
+ "scroll-py": [
3426
+ "scroll-pbs",
3427
+ "scroll-pbe",
3428
+ "scroll-pt",
3429
+ "scroll-pb"
3430
+ ],
3431
+ touch: [
3432
+ "touch-x",
3433
+ "touch-y",
3434
+ "touch-pz"
3435
+ ],
3436
+ "touch-x": ["touch"],
3437
+ "touch-y": ["touch"],
3438
+ "touch-pz": ["touch"]
3439
+ },
3440
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
3441
+ postfixLookupClassGroups: ["container-type"],
3442
+ orderSensitiveModifiers: [
3443
+ "*",
3444
+ "**",
3445
+ "after",
3446
+ "backdrop",
3447
+ "before",
3448
+ "details-content",
3449
+ "file",
3450
+ "first-letter",
3451
+ "first-line",
3452
+ "marker",
3453
+ "placeholder",
3454
+ "selection"
3455
+ ]
3456
+ };
3457
+ };
3458
+ var twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
3459
+ export { twMerge as t };