-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add variants to the cli as it's removed from the new config
- Loading branch information
1 parent
72a8747
commit 2bef20c
Showing
4 changed files
with
198 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
export const allVariants = [ | ||
'responsive', | ||
'motion-safe', | ||
'motion-reduce', | ||
'first', | ||
'last', | ||
'odd', | ||
'even', | ||
'visited', | ||
'checked', | ||
'group-hover', | ||
'group-focus', | ||
'focus-within', | ||
'hover', | ||
'focus', | ||
'focus-visible', | ||
'active', | ||
'disabled', | ||
// Exhaustive pseudo-classess | ||
'only', | ||
'first-of-type', | ||
'last-of-type', | ||
'only-of-type', | ||
'target', | ||
'default', | ||
'indeterminate', | ||
'placeholder-shown', | ||
'autofill', | ||
'required', | ||
'valid', | ||
'invalid', | ||
'in-range', | ||
'out-of-range', | ||
// New peer-*, selection & marker variants and before/after | ||
'peer-hover', | ||
'peer-checked', | ||
'peer-focus', | ||
'selection', | ||
'marker', | ||
'before', | ||
'after', | ||
// dark mode utility | ||
'dark', | ||
]; | ||
|
||
export const regularClassGroupKeys = [ | ||
// 'accessibility', | ||
'screenReaders', | ||
'alignContent', | ||
'alignItems', | ||
'alignSelf', | ||
'animation', | ||
'appearance', | ||
'backdropBlur', | ||
'backdropBrightness', | ||
'backdropContrast', | ||
'backdropDropShadow', | ||
'backdropFilter', | ||
'backdropGrayscale', | ||
'backdropHueRotate', | ||
'backdropInvert', | ||
'backdropSaturate', | ||
'backdropSepia', | ||
'backgroundAttachment', | ||
'backgroundBlendMode', | ||
'backgroundClip', | ||
'backgroundColor', | ||
'backgroundImage', | ||
'backgroundOpacity', | ||
'backgroundPosition', | ||
'backgroundRepeat', | ||
'backgroundSize', | ||
'backgroundOrigin', | ||
'blur', | ||
'borderCollapse', | ||
'borderColor', | ||
'borderOpacity', | ||
'borderRadius', | ||
'borderStyle', | ||
'borderWidth', | ||
'boxDecorationBreak', | ||
'boxShadow', | ||
'boxSizing', | ||
'brightness', | ||
'clear', | ||
'container', | ||
'contrast', | ||
'cursor', | ||
'display', | ||
'divideColor', | ||
'divideOpacity', | ||
'divideStyle', | ||
'divideWidth', | ||
'dropShadow', | ||
'fill', | ||
'filter', | ||
'flex', | ||
'flexDirection', | ||
'flexGrow', | ||
'flexShrink', | ||
'flexWrap', | ||
'float', | ||
'fontFamily', | ||
'fontSize', | ||
'fontSmoothing', | ||
'fontStyle', | ||
'fontVariantNumeric', | ||
'fontWeight', | ||
'gap', | ||
'gradientColorStops', | ||
'grayscale', | ||
'gridAutoColumns', | ||
'gridAutoFlow', | ||
'gridAutoRows', | ||
'gridColumn', | ||
'gridColumnEnd', | ||
'gridColumnStart', | ||
'gridRow', | ||
'gridRowEnd', | ||
'gridRowStart', | ||
'gridTemplateColumns', | ||
'gridTemplateRows', | ||
'height', | ||
'hueRotate', | ||
'inset', | ||
'invert', | ||
'isolation', | ||
'justifyContent', | ||
'justifyItems', | ||
'justifySelf', | ||
'letterSpacing', | ||
'lineHeight', | ||
'listStylePosition', | ||
'listStyleType', | ||
'margin', | ||
'maxHeight', | ||
'maxWidth', | ||
'minHeight', | ||
'minWidth', | ||
'mixBlendMode', | ||
'objectFit', | ||
'objectPosition', | ||
'opacity', | ||
'order', | ||
'outline', | ||
'overflow', | ||
'overscrollBehavior', | ||
'padding', | ||
'placeContent', | ||
'placeItems', | ||
'placeSelf', | ||
'placeholderColor', | ||
'placeholderOpacity', | ||
'pointerEvents', | ||
'position', | ||
'resize', | ||
'ringColor', | ||
'ringOffsetColor', | ||
'ringOffsetWidth', | ||
'ringOpacity', | ||
'ringWidth', | ||
'rotate', | ||
'saturate', | ||
'scale', | ||
'sepia', | ||
'skew', | ||
'space', | ||
'stroke', | ||
'strokeWidth', | ||
'tableLayout', | ||
'textAlign', | ||
'textColor', | ||
'textDecoration', | ||
'textOpacity', | ||
'textOverflow', | ||
'textTransform', | ||
'transform', | ||
'transformOrigin', | ||
'transitionDelay', | ||
'transitionDuration', | ||
'transitionProperty', | ||
'transitionTimingFunction', | ||
'translate', | ||
'userSelect', | ||
'verticalAlign', | ||
'visibility', | ||
'whitespace', | ||
'width', | ||
'wordBreak', | ||
'zIndex', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters