Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { fromTheme } from './from-theme'2import { Config, DefaultClassGroupIds, DefaultThemeGroupIds } from './types'3import {4 isAny,5 isAnyNonArbitrary,6 isArbitraryFamilyName,7 isArbitraryImage,8 isArbitraryLength,9 isArbitraryNumber,10 isArbitraryPosition,11 isArbitraryShadow,12 isArbitrarySize,13 isArbitraryValue,14 isArbitraryVariable,15 isArbitraryVariableFamilyName,16 isArbitraryVariableImage,17 isArbitraryVariableLength,18 isArbitraryVariablePosition,19 isArbitraryVariableShadow,20 isArbitraryVariableSize,21 isArbitraryVariableWeight,22 isArbitraryWeight,23 isFraction,24 isInteger,25 isNamedContainerQuery,26 isNumber,27 isPercent,28 isTshirtSize,29} from './validators'30 31export const getDefaultConfig = () => {32 /**33 * Theme getters for theme variable namespaces34 * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces35 */36 /***/37 38 const themeColor = fromTheme('color')39 const themeFont = fromTheme('font')40 const themeText = fromTheme('text')41 const themeFontWeight = fromTheme('font-weight')42 const themeTracking = fromTheme('tracking')43 const themeLeading = fromTheme('leading')44 const themeBreakpoint = fromTheme('breakpoint')45 const themeContainer = fromTheme('container')46 const themeSpacing = fromTheme('spacing')47 const themeRadius = fromTheme('radius')48 const themeShadow = fromTheme('shadow')49 const themeInsetShadow = fromTheme('inset-shadow')50 const themeTextShadow = fromTheme('text-shadow')51 const themeDropShadow = fromTheme('drop-shadow')52 const themeBlur = fromTheme('blur')53 const themePerspective = fromTheme('perspective')54 const themeAspect = fromTheme('aspect')55 const themeEase = fromTheme('ease')56 const themeAnimate = fromTheme('animate')57 58 /**59 * Helpers to avoid repeating the same scales60 *61 * We use functions that create a new array every time they're called instead of static arrays.62 * 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.63 */64 /***/65 66 const scaleBreak = () =>67 ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'] as const68 const scalePosition = () =>69 [70 'center',71 'top',72 'bottom',73 'left',74 'right',75 'top-left',76 // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/1737877 'left-top',78 'top-right',79 // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/1737880 'right-top',81 'bottom-right',82 // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/1737883 'right-bottom',84 'bottom-left',85 // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/1737886 'left-bottom',87 ] as const88 const scalePositionWithArbitrary = () =>89 [...scalePosition(), isArbitraryVariable, isArbitraryValue] as const90 const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'] as const91 const scaleOverscroll = () => ['auto', 'contain', 'none'] as const92 const scaleUnambiguousSpacing = () =>93 [isArbitraryVariable, isArbitraryValue, themeSpacing] as const94 const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()] as const95 const scaleGridTemplateColsRows = () =>96 [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue] as const97 const scaleGridColRowStartAndEnd = () =>98 [99 'auto',100 { span: ['full', isInteger, isArbitraryVariable, isArbitraryValue] },101 isInteger,102 isArbitraryVariable,103 isArbitraryValue,104 ] as const105 const scaleGridColRowStartOrEnd = () =>106 [isInteger, 'auto', isArbitraryVariable, isArbitraryValue] as const107 const scaleGridAutoColsRows = () =>108 ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue] as const109 const scaleAlignPrimaryAxis = () =>110 [111 'start',112 'end',113 'center',114 'between',115 'around',116 'evenly',117 'stretch',118 'baseline',119 'center-safe',120 'end-safe',121 ] as const122 const scaleAlignSecondaryAxis = () =>123 ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'] as const124 const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()] as const125 const scaleSizing = () =>126 [127 isFraction,128 'auto',129 'full',130 'dvw',131 'dvh',132 'lvw',133 'lvh',134 'svw',135 'svh',136 'min',137 'max',138 'fit',139 ...scaleUnambiguousSpacing(),140 ] as const141 const scaleSizingInline = () =>142 [143 isFraction,144 'screen',145 'full',146 'dvw',147 'lvw',148 'svw',149 'min',150 'max',151 'fit',152 ...scaleUnambiguousSpacing(),153 ] as const154 const scaleSizingBlock = () =>155 [156 isFraction,157 'screen',158 'full',159 'lh',160 'dvh',161 'lvh',162 'svh',163 'min',164 'max',165 'fit',166 ...scaleUnambiguousSpacing(),167 ] as const168 const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue] as const169 const scaleBgPosition = () =>170 [171 ...scalePosition(),172 isArbitraryVariablePosition,173 isArbitraryPosition,174 { position: [isArbitraryVariable, isArbitraryValue] },175 ] as const176 const scaleBgRepeat = () => ['no-repeat', { repeat: ['', 'x', 'y', 'space', 'round'] }] as const177 const scaleBgSize = () =>178 [179 'auto',180 'cover',181 'contain',182 isArbitraryVariableSize,183 isArbitrarySize,184 { size: [isArbitraryVariable, isArbitraryValue] },185 ] as const186 const scaleGradientStopPosition = () =>187 [isPercent, isArbitraryVariableLength, isArbitraryLength] as const188 const scaleRadius = () =>189 [190 // Deprecated since Tailwind CSS v4.0.0191 '',192 'none',193 'full',194 themeRadius,195 isArbitraryVariable,196 isArbitraryValue,197 ] as const198 const scaleBorderWidth = () =>199 ['', isNumber, isArbitraryVariableLength, isArbitraryLength] as const200 const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'] as const201 const scaleBlendMode = () =>202 [203 'normal',204 'multiply',205 'screen',206 'overlay',207 'darken',208 'lighten',209 'color-dodge',210 'color-burn',211 'hard-light',212 'soft-light',213 'difference',214 'exclusion',215 'hue',216 'saturation',217 'color',218 'luminosity',219 ] as const220 const scaleMaskImagePosition = () =>221 [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition] as const222 const scaleBlur = () =>223 [224 // Deprecated since Tailwind CSS v4.0.0225 '',226 'none',227 themeBlur,228 isArbitraryVariable,229 isArbitraryValue,230 ] as const231 const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue] as const232 const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue] as const233 const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue] as const234 const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()] as const235 236 return {237 cacheSize: 500,238 theme: {239 animate: ['spin', 'ping', 'pulse', 'bounce'],240 aspect: ['video'],241 blur: [isTshirtSize],242 breakpoint: [isTshirtSize],243 color: [isAny],244 container: [isTshirtSize],245 'drop-shadow': [isTshirtSize],246 ease: ['in', 'out', 'in-out'],247 font: [isAnyNonArbitrary],248 'font-weight': [249 'thin',250 'extralight',251 'light',252 'normal',253 'medium',254 'semibold',255 'bold',256 'extrabold',257 'black',258 ],259 'inset-shadow': [isTshirtSize],260 leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],261 perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],262 radius: [isTshirtSize],263 shadow: [isTshirtSize],264 spacing: ['px', isNumber],265 text: [isTshirtSize],266 'text-shadow': [isTshirtSize],267 tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest'],268 },269 classGroups: {270 // --------------271 // --- Layout ---272 // --------------273 274 /**275 * Aspect Ratio276 * @see https://tailwindcss.com/docs/aspect-ratio277 */278 aspect: [279 {280 aspect: [281 'auto',282 'square',283 isFraction,284 isArbitraryValue,285 isArbitraryVariable,286 themeAspect,287 ],288 },289 ],290 /**291 * Container292 * @see https://tailwindcss.com/docs/container293 * @deprecated since Tailwind CSS v4.0.0294 */295 container: ['container'],296 /**297 * Container Type298 * @see https://tailwindcss.com/docs/responsive-design#container-queries299 */300 'container-type': [301 { '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue] },302 ],303 /**304 * Container Name305 * @see https://tailwindcss.com/docs/responsive-design#named-containers306 */307 'container-named': [isNamedContainerQuery],308 /**309 * Columns310 * @see https://tailwindcss.com/docs/columns311 */312 columns: [313 { columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer] },314 ],315 /**316 * Break After317 * @see https://tailwindcss.com/docs/break-after318 */319 'break-after': [{ 'break-after': scaleBreak() }],320 /**321 * Break Before322 * @see https://tailwindcss.com/docs/break-before323 */324 'break-before': [{ 'break-before': scaleBreak() }],325 /**326 * Break Inside327 * @see https://tailwindcss.com/docs/break-inside328 */329 'break-inside': [{ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column'] }],330 /**331 * Box Decoration Break332 * @see https://tailwindcss.com/docs/box-decoration-break333 */334 'box-decoration': [{ 'box-decoration': ['slice', 'clone'] }],335 /**336 * Box Sizing337 * @see https://tailwindcss.com/docs/box-sizing338 */339 box: [{ box: ['border', 'content'] }],340 /**341 * Display342 * @see https://tailwindcss.com/docs/display343 */344 display: [345 'block',346 'inline-block',347 'inline',348 'flex',349 'inline-flex',350 'table',351 'inline-table',352 'table-caption',353 'table-cell',354 'table-column',355 'table-column-group',356 'table-footer-group',357 'table-header-group',358 'table-row-group',359 'table-row',360 'flow-root',361 'grid',362 'inline-grid',363 'contents',364 'list-item',365 'hidden',366 ],367 /**368 * Screen Reader Only369 * @see https://tailwindcss.com/docs/display#screen-reader-only370 */371 sr: ['sr-only', 'not-sr-only'],372 /**373 * Floats374 * @see https://tailwindcss.com/docs/float375 */376 float: [{ float: ['right', 'left', 'none', 'start', 'end'] }],377 /**378 * Clear379 * @see https://tailwindcss.com/docs/clear380 */381 clear: [{ clear: ['left', 'right', 'both', 'none', 'start', 'end'] }],382 /**383 * Isolation384 * @see https://tailwindcss.com/docs/isolation385 */386 isolation: ['isolate', 'isolation-auto'],387 /**388 * Object Fit389 * @see https://tailwindcss.com/docs/object-fit390 */391 'object-fit': [{ object: ['contain', 'cover', 'fill', 'none', 'scale-down'] }],392 /**393 * Object Position394 * @see https://tailwindcss.com/docs/object-position395 */396 'object-position': [{ object: scalePositionWithArbitrary() }],397 /**398 * Overflow399 * @see https://tailwindcss.com/docs/overflow400 */401 overflow: [{ overflow: scaleOverflow() }],402 /**403 * Overflow X404 * @see https://tailwindcss.com/docs/overflow405 */406 'overflow-x': [{ 'overflow-x': scaleOverflow() }],407 /**408 * Overflow Y409 * @see https://tailwindcss.com/docs/overflow410 */411 'overflow-y': [{ 'overflow-y': scaleOverflow() }],412 /**413 * Overscroll Behavior414 * @see https://tailwindcss.com/docs/overscroll-behavior415 */416 overscroll: [{ overscroll: scaleOverscroll() }],417 /**418 * Overscroll Behavior X419 * @see https://tailwindcss.com/docs/overscroll-behavior420 */421 'overscroll-x': [{ 'overscroll-x': scaleOverscroll() }],422 /**423 * Overscroll Behavior Y424 * @see https://tailwindcss.com/docs/overscroll-behavior425 */426 'overscroll-y': [{ 'overscroll-y': scaleOverscroll() }],427 /**428 * Position429 * @see https://tailwindcss.com/docs/position430 */431 position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],432 /**433 * Inset434 * @see https://tailwindcss.com/docs/top-right-bottom-left435 */436 inset: [{ inset: scaleInset() }],437 /**438 * Inset Inline439 * @see https://tailwindcss.com/docs/top-right-bottom-left440 */441 'inset-x': [{ 'inset-x': scaleInset() }],442 /**443 * Inset Block444 * @see https://tailwindcss.com/docs/top-right-bottom-left445 */446 'inset-y': [{ 'inset-y': scaleInset() }],447 /**448 * Inset Inline Start449 * @see https://tailwindcss.com/docs/top-right-bottom-left450 * @todo class group will be renamed to `inset-s` in next major release451 */452 start: [453 {454 'inset-s': scaleInset(),455 /**456 * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.457 * @see https://github.com/tailwindlabs/tailwindcss/pull/19613458 */459 start: scaleInset(),460 },461 ],462 /**463 * Inset Inline End464 * @see https://tailwindcss.com/docs/top-right-bottom-left465 * @todo class group will be renamed to `inset-e` in next major release466 */467 end: [468 {469 'inset-e': scaleInset(),470 /**471 * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.472 * @see https://github.com/tailwindlabs/tailwindcss/pull/19613473 */474 end: scaleInset(),475 },476 ],477 /**478 * Inset Block Start479 * @see https://tailwindcss.com/docs/top-right-bottom-left480 */481 'inset-bs': [{ 'inset-bs': scaleInset() }],482 /**483 * Inset Block End484 * @see https://tailwindcss.com/docs/top-right-bottom-left485 */486 'inset-be': [{ 'inset-be': scaleInset() }],487 /**488 * Top489 * @see https://tailwindcss.com/docs/top-right-bottom-left490 */491 top: [{ top: scaleInset() }],492 /**493 * Right494 * @see https://tailwindcss.com/docs/top-right-bottom-left495 */496 right: [{ right: scaleInset() }],497 /**498 * Bottom499 * @see https://tailwindcss.com/docs/top-right-bottom-left500 */501 bottom: [{ bottom: scaleInset() }],502 /**503 * Left504 * @see https://tailwindcss.com/docs/top-right-bottom-left505 */506 left: [{ left: scaleInset() }],507 /**508 * Visibility509 * @see https://tailwindcss.com/docs/visibility510 */511 visibility: ['visible', 'invisible', 'collapse'],512 /**513 * Z-Index514 * @see https://tailwindcss.com/docs/z-index515 */516 z: [{ z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue] }],517 518 // ------------------------519 // --- Flexbox and Grid ---520 // ------------------------521 522 /**523 * Flex Basis524 * @see https://tailwindcss.com/docs/flex-basis525 */526 basis: [527 {528 basis: [529 isFraction,530 'full',531 'auto',532 themeContainer,533 ...scaleUnambiguousSpacing(),534 ],535 },536 ],537 /**538 * Flex Direction539 * @see https://tailwindcss.com/docs/flex-direction540 */541 'flex-direction': [{ flex: ['row', 'row-reverse', 'col', 'col-reverse'] }],542 /**543 * Flex Wrap544 * @see https://tailwindcss.com/docs/flex-wrap545 */546 'flex-wrap': [{ flex: ['nowrap', 'wrap', 'wrap-reverse'] }],547 /**548 * Flex549 * @see https://tailwindcss.com/docs/flex550 */551 flex: [{ flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue] }],552 /**553 * Flex Grow554 * @see https://tailwindcss.com/docs/flex-grow555 */556 grow: [{ grow: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],557 /**558 * Flex Shrink559 * @see https://tailwindcss.com/docs/flex-shrink560 */561 shrink: [{ shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue] }],562 /**563 * Order564 * @see https://tailwindcss.com/docs/order565 */566 order: [567 {568 order: [569 isInteger,570 'first',571 'last',572 'none',573 isArbitraryVariable,574 isArbitraryValue,575 ],576 },577 ],578 /**579 * Grid Template Columns580 * @see https://tailwindcss.com/docs/grid-template-columns581 */582 'grid-cols': [{ 'grid-cols': scaleGridTemplateColsRows() }],583 /**584 * Grid Column Start / End585 * @see https://tailwindcss.com/docs/grid-column586 */587 'col-start-end': [{ col: scaleGridColRowStartAndEnd() }],588 /**589 * Grid Column Start590 * @see https://tailwindcss.com/docs/grid-column591 */592 'col-start': [{ 'col-start': scaleGridColRowStartOrEnd() }],593 /**594 * Grid Column End595 * @see https://tailwindcss.com/docs/grid-column596 */597 'col-end': [{ 'col-end': scaleGridColRowStartOrEnd() }],598 /**599 * Grid Template Rows600 * @see https://tailwindcss.com/docs/grid-template-rows601 */602 'grid-rows': [{ 'grid-rows': scaleGridTemplateColsRows() }],603 /**604 * Grid Row Start / End605 * @see https://tailwindcss.com/docs/grid-row606 */607 'row-start-end': [{ row: scaleGridColRowStartAndEnd() }],608 /**609 * Grid Row Start610 * @see https://tailwindcss.com/docs/grid-row611 */612 'row-start': [{ 'row-start': scaleGridColRowStartOrEnd() }],613 /**614 * Grid Row End615 * @see https://tailwindcss.com/docs/grid-row616 */617 'row-end': [{ 'row-end': scaleGridColRowStartOrEnd() }],618 /**619 * Grid Auto Flow620 * @see https://tailwindcss.com/docs/grid-auto-flow621 */622 'grid-flow': [{ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense'] }],623 /**624 * Grid Auto Columns625 * @see https://tailwindcss.com/docs/grid-auto-columns626 */627 'auto-cols': [{ 'auto-cols': scaleGridAutoColsRows() }],628 /**629 * Grid Auto Rows630 * @see https://tailwindcss.com/docs/grid-auto-rows631 */632 'auto-rows': [{ 'auto-rows': scaleGridAutoColsRows() }],633 /**634 * Gap635 * @see https://tailwindcss.com/docs/gap636 */637 gap: [{ gap: scaleUnambiguousSpacing() }],638 /**639 * Gap X640 * @see https://tailwindcss.com/docs/gap641 */642 'gap-x': [{ 'gap-x': scaleUnambiguousSpacing() }],643 /**644 * Gap Y645 * @see https://tailwindcss.com/docs/gap646 */647 'gap-y': [{ 'gap-y': scaleUnambiguousSpacing() }],648 /**649 * Justify Content650 * @see https://tailwindcss.com/docs/justify-content651 */652 'justify-content': [{ justify: [...scaleAlignPrimaryAxis(), 'normal'] }],653 /**654 * Justify Items655 * @see https://tailwindcss.com/docs/justify-items656 */657 'justify-items': [{ 'justify-items': [...scaleAlignSecondaryAxis(), 'normal'] }],658 /**659 * Justify Self660 * @see https://tailwindcss.com/docs/justify-self661 */662 'justify-self': [{ 'justify-self': ['auto', ...scaleAlignSecondaryAxis()] }],663 /**664 * Align Content665 * @see https://tailwindcss.com/docs/align-content666 */667 'align-content': [{ content: ['normal', ...scaleAlignPrimaryAxis()] }],668 /**669 * Align Items670 * @see https://tailwindcss.com/docs/align-items671 */672 'align-items': [{ items: [...scaleAlignSecondaryAxis(), { baseline: ['', 'last'] }] }],673 /**674 * Align Self675 * @see https://tailwindcss.com/docs/align-self676 */677 'align-self': [678 { self: ['auto', ...scaleAlignSecondaryAxis(), { baseline: ['', 'last'] }] },679 ],680 /**681 * Place Content682 * @see https://tailwindcss.com/docs/place-content683 */684 'place-content': [{ 'place-content': scaleAlignPrimaryAxis() }],685 /**686 * Place Items687 * @see https://tailwindcss.com/docs/place-items688 */689 'place-items': [{ 'place-items': [...scaleAlignSecondaryAxis(), 'baseline'] }],690 /**691 * Place Self692 * @see https://tailwindcss.com/docs/place-self693 */694 'place-self': [{ 'place-self': ['auto', ...scaleAlignSecondaryAxis()] }],695 // Spacing696 /**697 * Padding698 * @see https://tailwindcss.com/docs/padding699 */700 p: [{ p: scaleUnambiguousSpacing() }],701 /**702 * Padding Inline703 * @see https://tailwindcss.com/docs/padding704 */705 px: [{ px: scaleUnambiguousSpacing() }],706 /**707 * Padding Block708 * @see https://tailwindcss.com/docs/padding709 */710 py: [{ py: scaleUnambiguousSpacing() }],711 /**712 * Padding Inline Start713 * @see https://tailwindcss.com/docs/padding714 */715 ps: [{ ps: scaleUnambiguousSpacing() }],716 /**717 * Padding Inline End718 * @see https://tailwindcss.com/docs/padding719 */720 pe: [{ pe: scaleUnambiguousSpacing() }],721 /**722 * Padding Block Start723 * @see https://tailwindcss.com/docs/padding724 */725 pbs: [{ pbs: scaleUnambiguousSpacing() }],726 /**727 * Padding Block End728 * @see https://tailwindcss.com/docs/padding729 */730 pbe: [{ pbe: scaleUnambiguousSpacing() }],731 /**732 * Padding Top733 * @see https://tailwindcss.com/docs/padding734 */735 pt: [{ pt: scaleUnambiguousSpacing() }],736 /**737 * Padding Right738 * @see https://tailwindcss.com/docs/padding739 */740 pr: [{ pr: scaleUnambiguousSpacing() }],741 /**742 * Padding Bottom743 * @see https://tailwindcss.com/docs/padding744 */745 pb: [{ pb: scaleUnambiguousSpacing() }],746 /**747 * Padding Left748 * @see https://tailwindcss.com/docs/padding749 */750 pl: [{ pl: scaleUnambiguousSpacing() }],751 /**752 * Margin753 * @see https://tailwindcss.com/docs/margin754 */755 m: [{ m: scaleMargin() }],756 /**757 * Margin Inline758 * @see https://tailwindcss.com/docs/margin759 */760 mx: [{ mx: scaleMargin() }],761 /**762 * Margin Block763 * @see https://tailwindcss.com/docs/margin764 */765 my: [{ my: scaleMargin() }],766 /**767 * Margin Inline Start768 * @see https://tailwindcss.com/docs/margin769 */770 ms: [{ ms: scaleMargin() }],771 /**772 * Margin Inline End773 * @see https://tailwindcss.com/docs/margin774 */775 me: [{ me: scaleMargin() }],776 /**777 * Margin Block Start778 * @see https://tailwindcss.com/docs/margin779 */780 mbs: [{ mbs: scaleMargin() }],781 /**782 * Margin Block End783 * @see https://tailwindcss.com/docs/margin784 */785 mbe: [{ mbe: scaleMargin() }],786 /**787 * Margin Top788 * @see https://tailwindcss.com/docs/margin789 */790 mt: [{ mt: scaleMargin() }],791 /**792 * Margin Right793 * @see https://tailwindcss.com/docs/margin794 */795 mr: [{ mr: scaleMargin() }],796 /**797 * Margin Bottom798 * @see https://tailwindcss.com/docs/margin799 */800 mb: [{ mb: scaleMargin() }],801 /**802 * Margin Left803 * @see https://tailwindcss.com/docs/margin804 */805 ml: [{ ml: scaleMargin() }],806 /**807 * Space Between X808 * @see https://tailwindcss.com/docs/margin#adding-space-between-children809 */810 'space-x': [{ 'space-x': scaleUnambiguousSpacing() }],811 /**812 * Space Between X Reverse813 * @see https://tailwindcss.com/docs/margin#adding-space-between-children814 */815 'space-x-reverse': ['space-x-reverse'],816 /**817 * Space Between Y818 * @see https://tailwindcss.com/docs/margin#adding-space-between-children819 */820 'space-y': [{ 'space-y': scaleUnambiguousSpacing() }],821 /**822 * Space Between Y Reverse823 * @see https://tailwindcss.com/docs/margin#adding-space-between-children824 */825 'space-y-reverse': ['space-y-reverse'],826 827 // --------------828 // --- Sizing ---829 // --------------830 831 /**832 * Size833 * @see https://tailwindcss.com/docs/width#setting-both-width-and-height834 */835 size: [{ size: scaleSizing() }],836 /**837 * Inline Size838 * @see https://tailwindcss.com/docs/width839 */840 'inline-size': [{ inline: ['auto', ...scaleSizingInline()] }],841 /**842 * Min-Inline Size843 * @see https://tailwindcss.com/docs/min-width844 */845 'min-inline-size': [{ 'min-inline': ['auto', ...scaleSizingInline()] }],846 /**847 * Max-Inline Size848 * @see https://tailwindcss.com/docs/max-width849 */850 'max-inline-size': [{ 'max-inline': ['none', ...scaleSizingInline()] }],851 /**852 * Block Size853 * @see https://tailwindcss.com/docs/height854 */855 'block-size': [{ block: ['auto', ...scaleSizingBlock()] }],856 /**857 * Min-Block Size858 * @see https://tailwindcss.com/docs/min-height859 */860 'min-block-size': [{ 'min-block': ['auto', ...scaleSizingBlock()] }],861 /**862 * Max-Block Size863 * @see https://tailwindcss.com/docs/max-height864 */865 'max-block-size': [{ 'max-block': ['none', ...scaleSizingBlock()] }],866 /**867 * Width868 * @see https://tailwindcss.com/docs/width869 */870 w: [{ w: [themeContainer, 'screen', ...scaleSizing()] }],871 /**872 * Min-Width873 * @see https://tailwindcss.com/docs/min-width874 */875 'min-w': [876 {877 'min-w': [878 themeContainer,879 'screen',880 /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */881 'none',882 ...scaleSizing(),883 ],884 },885 ],886 /**887 * Max-Width888 * @see https://tailwindcss.com/docs/max-width889 */890 'max-w': [891 {892 'max-w': [893 themeContainer,894 'screen',895 'none',896 /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */897 'prose',898 /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */899 { screen: [themeBreakpoint] },900 ...scaleSizing(),901 ],902 },903 ],904 /**905 * Height906 * @see https://tailwindcss.com/docs/height907 */908 h: [{ h: ['screen', 'lh', ...scaleSizing()] }],909 /**910 * Min-Height911 * @see https://tailwindcss.com/docs/min-height912 */913 'min-h': [{ 'min-h': ['screen', 'lh', 'none', ...scaleSizing()] }],914 /**915 * Max-Height916 * @see https://tailwindcss.com/docs/max-height917 */918 'max-h': [{ 'max-h': ['screen', 'lh', ...scaleSizing()] }],919 920 // ------------------921 // --- Typography ---922 // ------------------923 924 /**925 * Font Size926 * @see https://tailwindcss.com/docs/font-size927 */928 'font-size': [929 { text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength] },930 ],931 /**932 * Font Smoothing933 * @see https://tailwindcss.com/docs/font-smoothing934 */935 'font-smoothing': ['antialiased', 'subpixel-antialiased'],936 /**937 * Font Style938 * @see https://tailwindcss.com/docs/font-style939 */940 'font-style': ['italic', 'not-italic'],941 /**942 * Font Weight943 * @see https://tailwindcss.com/docs/font-weight944 */945 'font-weight': [946 {947 font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight],948 },949 ],950 /**951 * Font Stretch952 * @see https://tailwindcss.com/docs/font-stretch953 */954 'font-stretch': [955 {956 'font-stretch': [957 'ultra-condensed',958 'extra-condensed',959 'condensed',960 'semi-condensed',961 'normal',962 'semi-expanded',963 'expanded',964 'extra-expanded',965 'ultra-expanded',966 isPercent,967 isArbitraryValue,968 ],969 },970 ],971 /**972 * Font Family973 * @see https://tailwindcss.com/docs/font-family974 */975 'font-family': [976 { font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont] },977 ],978 /**979 * Font Feature Settings980 * @see https://tailwindcss.com/docs/font-feature-settings981 */982 'font-features': [{ 'font-features': [isArbitraryValue] }],983 /**984 * Font Variant Numeric985 * @see https://tailwindcss.com/docs/font-variant-numeric986 */987 'fvn-normal': ['normal-nums'],988 /**989 * Font Variant Numeric990 * @see https://tailwindcss.com/docs/font-variant-numeric991 */992 'fvn-ordinal': ['ordinal'],993 /**994 * Font Variant Numeric995 * @see https://tailwindcss.com/docs/font-variant-numeric996 */997 'fvn-slashed-zero': ['slashed-zero'],998 /**999 * Font Variant Numeric1000 * @see https://tailwindcss.com/docs/font-variant-numeric1001 */1002 'fvn-figure': ['lining-nums', 'oldstyle-nums'],1003 /**1004 * Font Variant Numeric1005 * @see https://tailwindcss.com/docs/font-variant-numeric1006 */1007 'fvn-spacing': ['proportional-nums', 'tabular-nums'],1008 /**1009 * Font Variant Numeric1010 * @see https://tailwindcss.com/docs/font-variant-numeric1011 */1012 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],1013 /**1014 * Letter Spacing1015 * @see https://tailwindcss.com/docs/letter-spacing1016 */1017 tracking: [{ tracking: [themeTracking, isArbitraryVariable, isArbitraryValue] }],1018 /**1019 * Line Clamp1020 * @see https://tailwindcss.com/docs/line-clamp1021 */1022 'line-clamp': [1023 { 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber] },1024 ],1025 /**1026 * Line Height1027 * @see https://tailwindcss.com/docs/line-height1028 */1029 leading: [1030 {1031 leading: [1032 /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */1033 themeLeading,1034 ...scaleUnambiguousSpacing(),1035 ],1036 },1037 ],1038 /**1039 * List Style Image1040 * @see https://tailwindcss.com/docs/list-style-image1041 */1042 'list-image': [{ 'list-image': ['none', isArbitraryVariable, isArbitraryValue] }],1043 /**1044 * List Style Position1045 * @see https://tailwindcss.com/docs/list-style-position1046 */1047 'list-style-position': [{ list: ['inside', 'outside'] }],1048 /**1049 * List Style Type1050 * @see https://tailwindcss.com/docs/list-style-type1051 */1052 'list-style-type': [1053 { list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue] },1054 ],1055 /**1056 * Text Alignment1057 * @see https://tailwindcss.com/docs/text-align1058 */1059 'text-alignment': [{ text: ['left', 'center', 'right', 'justify', 'start', 'end'] }],1060 /**1061 * Placeholder Color1062 * @deprecated since Tailwind CSS v3.0.01063 * @see https://v3.tailwindcss.com/docs/placeholder-color1064 */1065 'placeholder-color': [{ placeholder: scaleColor() }],1066 /**1067 * Text Color1068 * @see https://tailwindcss.com/docs/text-color1069 */1070 'text-color': [{ text: scaleColor() }],1071 /**1072 * Text Decoration1073 * @see https://tailwindcss.com/docs/text-decoration1074 */1075 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],1076 /**1077 * Text Decoration Style1078 * @see https://tailwindcss.com/docs/text-decoration-style1079 */1080 'text-decoration-style': [{ decoration: [...scaleLineStyle(), 'wavy'] }],1081 /**1082 * Text Decoration Thickness1083 * @see https://tailwindcss.com/docs/text-decoration-thickness1084 */1085 'text-decoration-thickness': [1086 {1087 decoration: [1088 isNumber,1089 'from-font',1090 'auto',1091 isArbitraryVariable,1092 isArbitraryLength,1093 ],1094 },1095 ],1096 /**1097 * Text Decoration Color1098 * @see https://tailwindcss.com/docs/text-decoration-color1099 */1100 'text-decoration-color': [{ decoration: scaleColor() }],1101 /**1102 * Text Underline Offset1103 * @see https://tailwindcss.com/docs/text-underline-offset1104 */1105 'underline-offset': [1106 { 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue] },1107 ],1108 /**1109 * Text Transform1110 * @see https://tailwindcss.com/docs/text-transform1111 */1112 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],1113 /**1114 * Text Overflow1115 * @see https://tailwindcss.com/docs/text-overflow1116 */1117 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],1118 /**1119 * Text Wrap1120 * @see https://tailwindcss.com/docs/text-wrap1121 */1122 'text-wrap': [{ text: ['wrap', 'nowrap', 'balance', 'pretty'] }],1123 /**1124 * Text Indent1125 * @see https://tailwindcss.com/docs/text-indent1126 */1127 indent: [{ indent: scaleUnambiguousSpacing() }],1128 /**1129 * Tab Size1130 * @see https://tailwindcss.com/docs/tab-size1131 */1132 'tab-size': [{ tab: [isInteger, isArbitraryVariable, isArbitraryValue] }],1133 /**1134 * Vertical Alignment1135 * @see https://tailwindcss.com/docs/vertical-align1136 */1137 'vertical-align': [1138 {1139 align: [1140 'baseline',1141 'top',1142 'middle',1143 'bottom',1144 'text-top',1145 'text-bottom',1146 'sub',1147 'super',1148 isArbitraryVariable,1149 isArbitraryValue,1150 ],1151 },1152 ],1153 /**1154 * Whitespace1155 * @see https://tailwindcss.com/docs/whitespace1156 */1157 whitespace: [1158 { whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces'] },1159 ],1160 /**1161 * Word Break1162 * @see https://tailwindcss.com/docs/word-break1163 */1164 break: [{ break: ['normal', 'words', 'all', 'keep'] }],1165 /**1166 * Overflow Wrap1167 * @see https://tailwindcss.com/docs/overflow-wrap1168 */1169 wrap: [{ wrap: ['break-word', 'anywhere', 'normal'] }],1170 /**1171 * Hyphens1172 * @see https://tailwindcss.com/docs/hyphens1173 */1174 hyphens: [{ hyphens: ['none', 'manual', 'auto'] }],1175 /**1176 * Content1177 * @see https://tailwindcss.com/docs/content1178 */1179 content: [{ content: ['none', isArbitraryVariable, isArbitraryValue] }],1180 1181 // -------------------1182 // --- Backgrounds ---1183 // -------------------1184 1185 /**1186 * Background Attachment1187 * @see https://tailwindcss.com/docs/background-attachment1188 */1189 'bg-attachment': [{ bg: ['fixed', 'local', 'scroll'] }],1190 /**1191 * Background Clip1192 * @see https://tailwindcss.com/docs/background-clip1193 */1194 'bg-clip': [{ 'bg-clip': ['border', 'padding', 'content', 'text'] }],1195 /**1196 * Background Origin1197 * @see https://tailwindcss.com/docs/background-origin1198 */1199 'bg-origin': [{ 'bg-origin': ['border', 'padding', 'content'] }],1200 /**