@pandacss/studio 0.36.1 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/panda.config.ts +5 -7
- package/styled-system/css/conditions.mjs +1 -1
- package/styled-system/css/css.mjs +1 -1
- package/styled-system/jsx/is-valid-prop.mjs +1 -1
- package/styled-system/styles.css +81 -86
- package/styled-system/types/conditions.d.ts +4 -2
- package/styled-system/types/prop-type.d.ts +11 -4
- package/styled-system/types/style-props.d.ts +276 -266
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"react": "18.2.0",
|
|
49
49
|
"react-dom": "18.2.0",
|
|
50
50
|
"vite": "5.1.3",
|
|
51
|
-
"@pandacss/config": "0.
|
|
52
|
-
"@pandacss/logger": "0.
|
|
53
|
-
"@pandacss/shared": "0.
|
|
54
|
-
"@pandacss/token-dictionary": "0.
|
|
55
|
-
"@pandacss/types": "0.
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.
|
|
51
|
+
"@pandacss/config": "0.37.0",
|
|
52
|
+
"@pandacss/logger": "0.37.0",
|
|
53
|
+
"@pandacss/shared": "0.37.0",
|
|
54
|
+
"@pandacss/token-dictionary": "0.37.0",
|
|
55
|
+
"@pandacss/types": "0.37.0",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.37.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "18.2.55",
|
package/panda.config.ts
CHANGED
|
@@ -71,18 +71,16 @@ export default {
|
|
|
71
71
|
lineHeight: 'normal',
|
|
72
72
|
fontWeight: 'normal',
|
|
73
73
|
colorScheme: 'light dark',
|
|
74
|
-
|
|
74
|
+
},
|
|
75
|
+
body: {
|
|
76
|
+
margin: 0,
|
|
77
|
+
minHeight: '100dvh',
|
|
75
78
|
background: 'bg',
|
|
79
|
+
color: 'text',
|
|
76
80
|
},
|
|
77
|
-
|
|
78
81
|
a: {
|
|
79
82
|
color: 'unset',
|
|
80
83
|
textDecoration: 'none',
|
|
81
84
|
},
|
|
82
|
-
|
|
83
|
-
body: {
|
|
84
|
-
margin: 0,
|
|
85
|
-
minHeight: '100dvh',
|
|
86
|
-
},
|
|
87
85
|
},
|
|
88
86
|
} satisfies Config
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withoutSpace } from '../helpers.mjs';
|
|
2
2
|
|
|
3
|
-
const conditionsStr = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base"
|
|
3
|
+
const conditionsStr = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base"
|
|
4
4
|
const conditions = new Set(conditionsStr.split(','))
|
|
5
5
|
|
|
6
6
|
export function isCondition(value){
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createCss, createMergeCss, hypenateProperty, withoutSpace } from '../helpers.mjs';
|
|
2
2
|
import { sortConditions, finalizeConditions } from './conditions.mjs';
|
|
3
3
|
|
|
4
|
-
const utilities = "aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:
|
|
4
|
+
const utilities = "aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:obj-pos,objectFit:obj-fit,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:space-x,spaceY:space-y,outlineWidth:ring-width/ringWidth,outlineColor:ring-color/ringColor,outline:ring/1,outlineOffset:ring-offset/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide-color,divideStyle:divide-style,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:fw,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text-align,textDecoration:text-decor,textDecorationColor:text-decor-color,textEmphasisColor:text-emphasis-color,textDecorationStyle:decoration-style,textDecorationThickness:decoration-thickness,textUnderlineOffset:underline-offset,textTransform:text-transform,textIndent:indent,textShadow:text-shadow,textShadowColor:text-shadow/textShadowColor,textOverflow:text-overflow,verticalAlign:v-align,wordBreak:break,textWrap:text-wrap,truncate:truncate,lineClamp:clamp,listStyleType:list-type,listStylePosition:list-pos,listStyleImage:list-img,backgroundPosition:bg-pos/bgPosition,backgroundPositionX:bg-pos-x/bgPositionX,backgroundPositionY:bg-pos-y/bgPositionY,backgroundAttachment:bg-attach/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg-size/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFromPosition:gradient-from-pos,gradientToPosition:gradient-to-pos,gradientFrom:gradient-from,gradientTo:gradient-to,gradientVia:gradient-via,gradientViaPosition:gradient-via-pos,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderWidth:border-w,borderTopWidth:border-tw,borderLeftWidth:border-lw,borderRightWidth:border-rw,borderBottomWidth:border-bw,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow-color/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationName:animation-name,animationTimingFunction:animation-ease,animationDuration:animation-duration,animationDelay:animation-delay,transformOrigin:origin,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my/scrollMarginY,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx/scrollMarginX,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb/scrollPaddingY,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px/scrollPaddingX,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap-align,scrollSnapStop:snap-stop,scrollSnapType:snap-type,scrollSnapStrictness:snap-strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,strokeWidth:stroke-w,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-adjust,container:cq,containerName:cq-name,containerType:cq-type,textStyle:textStyle"
|
|
5
5
|
|
|
6
6
|
const classNameByProp = new Map()
|
|
7
7
|
const shorthands = new Map()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { splitProps } from '../helpers.mjs';
|
|
2
2
|
import { memo } from '../helpers.mjs';
|
|
3
3
|
// src/index.ts
|
|
4
|
-
var userGeneratedStr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,strokeWidth,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle"
|
|
4
|
+
var userGeneratedStr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,transformOrigin,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,strokeWidth,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle"
|
|
5
5
|
var userGenerated = userGeneratedStr.split(",");
|
|
6
6
|
var cssPropertiesStr = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect";
|
|
7
7
|
var allCssProperties = cssPropertiesStr.split(",").concat(userGenerated);
|
package/styled-system/styles.css
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
@layer reset, base, tokens, recipes, utilities;
|
|
2
2
|
|
|
3
3
|
@layer reset{
|
|
4
|
-
html {
|
|
4
|
+
html,:host {
|
|
5
5
|
--font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
6
6
|
-webkit-text-size-adjust: 100%;
|
|
7
7
|
-webkit-font-smoothing: antialiased;
|
|
8
8
|
-moz-osx-font-smoothing: grayscale;
|
|
9
9
|
-moz-tab-size: 4;
|
|
10
10
|
tab-size: 4;
|
|
11
|
+
-webkit-tap-highlight-color: transparent;
|
|
11
12
|
line-height: 1.5;
|
|
12
13
|
font-family: var(--global-font-body, var(--font-fallback));
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
*,::before,::after,::backdrop,::first-letter,::file-selector-button {
|
|
16
17
|
margin: 0px;
|
|
17
18
|
padding: 0px;
|
|
18
|
-
font: inherit;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
*,*::before,*::after {
|
|
22
19
|
box-sizing: border-box;
|
|
23
20
|
border-width: 0px;
|
|
24
21
|
border-style: solid;
|
|
@@ -33,6 +30,7 @@
|
|
|
33
30
|
|
|
34
31
|
body {
|
|
35
32
|
height: 100%;
|
|
33
|
+
line-height: inherit;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
img {
|
|
@@ -49,47 +47,55 @@
|
|
|
49
47
|
height: auto;
|
|
50
48
|
}
|
|
51
49
|
|
|
50
|
+
h1,h2,h3,h4,h5,h6 {
|
|
51
|
+
text-wrap: balance;
|
|
52
|
+
font-size: inherit;
|
|
53
|
+
font-weight: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
p,h1,h2,h3,h4,h5,h6 {
|
|
53
57
|
overflow-wrap: break-word;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
|
-
ol,ul {
|
|
60
|
+
ol,ul,menu {
|
|
57
61
|
list-style: none;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
button,[type='button'],[type='reset'],[type='submit'] {
|
|
64
|
+
button,input:where([type='button'], [type='reset'], [type='submit']),::file-selector-button {
|
|
65
|
+
appearance: button;
|
|
65
66
|
-webkit-appearance: button;
|
|
66
|
-
background-color: var(--colors-transparent);
|
|
67
|
-
background-image: none;
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
button,input,optgroup,select,textarea {
|
|
69
|
+
button,input,optgroup,select,textarea,::file-selector-button {
|
|
70
|
+
font: inherit;
|
|
71
|
+
font-feature-settings: inherit;
|
|
72
|
+
font-variation-settings: inherit;
|
|
73
|
+
letter-spacing: inherit;
|
|
71
74
|
color: inherit;
|
|
75
|
+
background: var(--colors-transparent);
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
table {
|
|
79
|
-
text-indent: 0px;
|
|
80
|
-
border-collapse: collapse;
|
|
81
|
-
border-color: inherit;
|
|
78
|
+
::placeholder {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
--placeholder-fallback: color-mix(in srgb, currentColor 50%, transparent);
|
|
81
|
+
color: var(--global-color-placeholder, var(--placeholder-fallback));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
input
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
select,textarea,input:where(:not([type='button'], [type='reset'], [type='submit'])) {
|
|
85
|
+
border-width: 1px;
|
|
86
|
+
border-style: solid;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
textarea {
|
|
90
90
|
resize: vertical;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
table {
|
|
94
|
+
text-indent: 0px;
|
|
95
|
+
border-collapse: collapse;
|
|
96
|
+
border-color: inherit;
|
|
97
|
+
}
|
|
98
|
+
|
|
93
99
|
summary {
|
|
94
100
|
display: list-item;
|
|
95
101
|
}
|
|
@@ -132,37 +138,24 @@
|
|
|
132
138
|
|
|
133
139
|
code,kbd,samp,pre {
|
|
134
140
|
--font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
|
|
135
|
-
font-
|
|
141
|
+
font-feature-settings: normal;
|
|
142
|
+
font-variation-settings: normal;
|
|
136
143
|
font-family: var(--global-font-mono, var(--font-mono-fallback));
|
|
144
|
+
font-size: 1em;
|
|
137
145
|
}
|
|
138
146
|
|
|
139
|
-
|
|
140
|
-
-
|
|
141
|
-
-moz-appearance: none;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
input[type='search'] {
|
|
145
|
-
-webkit-appearance: textfield;
|
|
146
|
-
outline-offset: -2px;
|
|
147
|
+
progress {
|
|
148
|
+
vertical-align: baseline;
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
::-webkit-search-decoration,::-webkit-search-cancel-button {
|
|
150
152
|
-webkit-appearance: none;
|
|
151
153
|
}
|
|
152
154
|
|
|
153
|
-
::-webkit-
|
|
154
|
-
-webkit-appearance: button;
|
|
155
|
-
font: inherit;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
|
|
155
|
+
::-webkit-inner-spin-button,::-webkit-outer-spin-button {
|
|
159
156
|
height: auto;
|
|
160
157
|
}
|
|
161
158
|
|
|
162
|
-
input[type='number'] {
|
|
163
|
-
-moz-appearance: textfield;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
159
|
:-moz-ui-invalid {
|
|
167
160
|
box-shadow: none;
|
|
168
161
|
}
|
|
@@ -179,9 +172,28 @@
|
|
|
179
172
|
@layer base{
|
|
180
173
|
:root {
|
|
181
174
|
--made-with-panda: '🐼';
|
|
175
|
+
--global-color-border: var(--colors-border);
|
|
176
|
+
--global-color-placeholder: var(--colors-neutral-500);
|
|
177
|
+
color-scheme: light dark;
|
|
178
|
+
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
|
|
179
|
+
font-size: 0.84em;
|
|
180
|
+
line-height: var(--line-heights-normal);
|
|
181
|
+
font-weight: var(--font-weights-normal);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
body {
|
|
185
|
+
margin: var(--spacing-0);
|
|
186
|
+
min-height: 100dvh;
|
|
187
|
+
background: var(--colors-bg);
|
|
188
|
+
color: var(--colors-text);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
a {
|
|
192
|
+
color: unset;
|
|
193
|
+
text-decoration: none;
|
|
182
194
|
}
|
|
183
195
|
|
|
184
|
-
|
|
196
|
+
*,::before,::after,::backdrop {
|
|
185
197
|
--blur: /*-*/ /*-*/;
|
|
186
198
|
--brightness: /*-*/ /*-*/;
|
|
187
199
|
--contrast: /*-*/ /*-*/;
|
|
@@ -200,39 +212,22 @@
|
|
|
200
212
|
--backdrop-opacity: /*-*/ /*-*/;
|
|
201
213
|
--backdrop-saturate: /*-*/ /*-*/;
|
|
202
214
|
--backdrop-sepia: /*-*/ /*-*/;
|
|
215
|
+
--gradient-from-position: /*-*/ /*-*/;
|
|
216
|
+
--gradient-to-position: /*-*/ /*-*/;
|
|
217
|
+
--gradient-via-position: /*-*/ /*-*/;
|
|
203
218
|
--scroll-snap-strictness: proximity;
|
|
204
219
|
--border-spacing-x: 0;
|
|
205
220
|
--border-spacing-y: 0;
|
|
206
221
|
--translate-x: 0;
|
|
207
222
|
--translate-y: 0;
|
|
208
223
|
--rotate: 0;
|
|
224
|
+
--rotate-x: 0;
|
|
225
|
+
--rotate-y: 0;
|
|
209
226
|
--skew-x: 0;
|
|
210
227
|
--skew-y: 0;
|
|
211
228
|
--scale-x: 1;
|
|
212
229
|
--scale-y: 1;
|
|
213
230
|
}
|
|
214
|
-
|
|
215
|
-
:root {
|
|
216
|
-
--global-color-border: var(--colors-border);
|
|
217
|
-
--global-color-placeholder: var(--colors-neutral-500);
|
|
218
|
-
color-scheme: light dark;
|
|
219
|
-
color: var(--colors-text);
|
|
220
|
-
background: var(--colors-bg);
|
|
221
|
-
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
|
|
222
|
-
font-size: 0.84em;
|
|
223
|
-
line-height: var(--line-heights-normal);
|
|
224
|
-
font-weight: var(--font-weights-normal);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
a {
|
|
228
|
-
color: unset;
|
|
229
|
-
text-decoration: none;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
body {
|
|
233
|
-
margin: var(--spacing-0);
|
|
234
|
-
min-height: 100dvh;
|
|
235
|
-
}
|
|
236
231
|
}
|
|
237
232
|
|
|
238
233
|
@layer tokens{
|
|
@@ -656,7 +651,7 @@
|
|
|
656
651
|
--colors-neutral-800: #262626;
|
|
657
652
|
--colors-neutral-900: #171717;
|
|
658
653
|
--colors-neutral-950: #0a0a0a;
|
|
659
|
-
--assets-check: url(
|
|
654
|
+
--assets-check: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%226%22%20height%3D%226%22%20viewBox%3D%220%200%206%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200H3V3H0V0Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M3%200H6V3H3V0Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M3%203H6V6H3V3Z%22%20fill%3D%22%23E1E1E1%22/%3E%3Cpath%20d%3D%22M0%203H3V6H0V3Z%22%20fill%3D%22white%22/%3E%3C/svg%3E%0A");
|
|
660
655
|
--breakpoints-sm: 640px;
|
|
661
656
|
--breakpoints-md: 768px;
|
|
662
657
|
--breakpoints-lg: 1024px;
|
|
@@ -753,7 +748,7 @@
|
|
|
753
748
|
gap: var(--spacing-2\.5);
|
|
754
749
|
}
|
|
755
750
|
|
|
756
|
-
.
|
|
751
|
+
.text-align_center {
|
|
757
752
|
text-align: center;
|
|
758
753
|
}
|
|
759
754
|
|
|
@@ -797,7 +792,7 @@
|
|
|
797
792
|
gap: var(--spacing-0\.5);
|
|
798
793
|
}
|
|
799
794
|
|
|
800
|
-
.
|
|
795
|
+
.text-transform_capitalize {
|
|
801
796
|
text-transform: capitalize;
|
|
802
797
|
}
|
|
803
798
|
|
|
@@ -805,7 +800,7 @@
|
|
|
805
800
|
opacity: 0.7;
|
|
806
801
|
}
|
|
807
802
|
|
|
808
|
-
.
|
|
803
|
+
.text-transform_uppercase {
|
|
809
804
|
text-transform: uppercase;
|
|
810
805
|
}
|
|
811
806
|
|
|
@@ -849,7 +844,7 @@
|
|
|
849
844
|
height: var(--sizes-8);
|
|
850
845
|
}
|
|
851
846
|
|
|
852
|
-
.
|
|
847
|
+
.text-transform_lowercase {
|
|
853
848
|
text-transform: lowercase;
|
|
854
849
|
}
|
|
855
850
|
|
|
@@ -894,7 +889,7 @@
|
|
|
894
889
|
border-bottom-width: 0px;
|
|
895
890
|
}
|
|
896
891
|
|
|
897
|
-
.
|
|
892
|
+
.divide-color_card > :not([hidden]) ~ :not([hidden]) {
|
|
898
893
|
border-color: var(--colors-card);
|
|
899
894
|
}
|
|
900
895
|
|
|
@@ -1140,11 +1135,11 @@
|
|
|
1140
1135
|
flex-direction: column;
|
|
1141
1136
|
}
|
|
1142
1137
|
|
|
1143
|
-
.
|
|
1138
|
+
.fw_semibold {
|
|
1144
1139
|
font-weight: var(--font-weights-semibold);
|
|
1145
1140
|
}
|
|
1146
1141
|
|
|
1147
|
-
.
|
|
1142
|
+
.fw_bold {
|
|
1148
1143
|
font-weight: var(--font-weights-bold);
|
|
1149
1144
|
}
|
|
1150
1145
|
|
|
@@ -1188,7 +1183,7 @@
|
|
|
1188
1183
|
margin-top: var(--spacing-2);
|
|
1189
1184
|
}
|
|
1190
1185
|
|
|
1191
|
-
.
|
|
1186
|
+
.fw_medium {
|
|
1192
1187
|
font-weight: var(--font-weights-medium);
|
|
1193
1188
|
}
|
|
1194
1189
|
|
|
@@ -1292,7 +1287,7 @@
|
|
|
1292
1287
|
margin-bottom: var(--spacing-8);
|
|
1293
1288
|
}
|
|
1294
1289
|
|
|
1295
|
-
.
|
|
1290
|
+
.list-type_none {
|
|
1296
1291
|
list-style-type: none;
|
|
1297
1292
|
}
|
|
1298
1293
|
|
|
@@ -1376,7 +1371,7 @@
|
|
|
1376
1371
|
z-index: -1;
|
|
1377
1372
|
}
|
|
1378
1373
|
|
|
1379
|
-
.dark
|
|
1374
|
+
.dark .dark\:text_neutral\.300 {
|
|
1380
1375
|
color: var(--colors-neutral-300);
|
|
1381
1376
|
}
|
|
1382
1377
|
|
|
@@ -1388,7 +1383,7 @@
|
|
|
1388
1383
|
content: '';
|
|
1389
1384
|
}
|
|
1390
1385
|
|
|
1391
|
-
.before\:
|
|
1386
|
+
.before\:bg-size_24px::before {
|
|
1392
1387
|
background-size: 24px;
|
|
1393
1388
|
}
|
|
1394
1389
|
|
|
@@ -1396,7 +1391,7 @@
|
|
|
1396
1391
|
background-image: var(--assets-check);
|
|
1397
1392
|
}
|
|
1398
1393
|
|
|
1399
|
-
.focusWithin\:
|
|
1394
|
+
.focusWithin\:ring-offset_2px:focus-within {
|
|
1400
1395
|
outline-offset: 2px;
|
|
1401
1396
|
}
|
|
1402
1397
|
|
|
@@ -1404,11 +1399,11 @@
|
|
|
1404
1399
|
outline-style: solid;
|
|
1405
1400
|
}
|
|
1406
1401
|
|
|
1407
|
-
.focusWithin\:
|
|
1402
|
+
.focusWithin\:ring-width_2px:focus-within {
|
|
1408
1403
|
outline-width: 2px;
|
|
1409
1404
|
}
|
|
1410
1405
|
|
|
1411
|
-
.focusWithin\:
|
|
1406
|
+
.focusWithin\:ring-color_neutral\.400:focus-within {
|
|
1412
1407
|
outline-color: var(--colors-neutral-400);
|
|
1413
1408
|
}
|
|
1414
1409
|
|
|
@@ -1416,15 +1411,15 @@
|
|
|
1416
1411
|
color: var(--colors-accent);
|
|
1417
1412
|
}
|
|
1418
1413
|
|
|
1419
|
-
@media screen and (min-width:
|
|
1414
|
+
@media screen and (min-width: 48rem) {
|
|
1420
1415
|
.md\:px_6 {
|
|
1421
1416
|
padding-inline: var(--spacing-6);
|
|
1422
1417
|
}
|
|
1423
1418
|
}
|
|
1424
1419
|
|
|
1425
|
-
@media screen and (min-width:
|
|
1420
|
+
@media screen and (min-width: 64rem) {
|
|
1426
1421
|
.lg\:px_8 {
|
|
1427
1422
|
padding-inline: var(--spacing-8);
|
|
1428
1423
|
}
|
|
1429
1424
|
}
|
|
1430
|
-
}
|
|
1425
|
+
}
|
|
@@ -150,9 +150,9 @@ export interface Conditions {
|
|
|
150
150
|
"_landscape": string
|
|
151
151
|
/** `@media (orientation: portrait)` */
|
|
152
152
|
"_portrait": string
|
|
153
|
-
/**
|
|
153
|
+
/** `.dark &` */
|
|
154
154
|
"_dark": string
|
|
155
|
-
/**
|
|
155
|
+
/** `.light &` */
|
|
156
156
|
"_light": string
|
|
157
157
|
/** `@media (prefers-color-scheme: dark)` */
|
|
158
158
|
"_osDark": string
|
|
@@ -178,6 +178,8 @@ export interface Conditions {
|
|
|
178
178
|
"_horizontal": string
|
|
179
179
|
/** `&[data-orientation=vertical]` */
|
|
180
180
|
"_vertical": string
|
|
181
|
+
/** `@starting-style` */
|
|
182
|
+
"_starting": string
|
|
181
183
|
/** `@media screen and (min-width: 40rem)` */
|
|
182
184
|
"sm": string
|
|
183
185
|
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
@@ -55,11 +55,11 @@ export interface UtilityValues {
|
|
|
55
55
|
marginInline: "auto" | Tokens["spacing"];
|
|
56
56
|
marginInlineEnd: "auto" | Tokens["spacing"];
|
|
57
57
|
marginInlineStart: "auto" | Tokens["spacing"];
|
|
58
|
+
spaceX: "auto" | Tokens["spacing"] | CssProperties["marginInlineStart"];
|
|
59
|
+
spaceY: "auto" | Tokens["spacing"] | CssProperties["marginBlockStart"];
|
|
58
60
|
outlineColor: Tokens["colors"];
|
|
59
61
|
outline: Tokens["borders"];
|
|
60
62
|
outlineOffset: Tokens["spacing"];
|
|
61
|
-
divideX: string;
|
|
62
|
-
divideY: string;
|
|
63
63
|
divideColor: Tokens["colors"];
|
|
64
64
|
divideStyle: CssProperties["borderStyle"];
|
|
65
65
|
width: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
@@ -140,7 +140,7 @@ export interface UtilityValues {
|
|
|
140
140
|
blur: Tokens["blurs"];
|
|
141
141
|
backdropFilter: "auto";
|
|
142
142
|
backdropBlur: Tokens["blurs"];
|
|
143
|
-
borderSpacing: Tokens["spacing"];
|
|
143
|
+
borderSpacing: Tokens["spacing"] | "auto";
|
|
144
144
|
borderSpacingX: Tokens["spacing"];
|
|
145
145
|
borderSpacingY: Tokens["spacing"];
|
|
146
146
|
transitionTimingFunction: Tokens["easings"];
|
|
@@ -148,11 +148,18 @@ export interface UtilityValues {
|
|
|
148
148
|
transitionDuration: Tokens["durations"];
|
|
149
149
|
transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
|
|
150
150
|
animation: Tokens["animations"];
|
|
151
|
+
animationTimingFunction: Tokens["easings"];
|
|
152
|
+
animationDuration: Tokens["durations"];
|
|
151
153
|
animationDelay: Tokens["durations"];
|
|
154
|
+
rotate: "auto" | "auto-3d" | CssProperties["rotate"];
|
|
155
|
+
rotateX: CssProperties["rotate"];
|
|
156
|
+
rotateY: CssProperties["rotate"];
|
|
157
|
+
rotateZ: CssProperties["rotate"];
|
|
152
158
|
scale: "auto" | CssProperties["scale"];
|
|
153
|
-
translate: "auto" | CssProperties["translate"];
|
|
159
|
+
translate: "auto" | "auto-3d" | CssProperties["translate"];
|
|
154
160
|
translateX: Tokens["spacing"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "full" | "-1/2" | "-1/3" | "-2/3" | "-1/4" | "-2/4" | "-3/4" | "-full";
|
|
155
161
|
translateY: Tokens["spacing"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "full" | "-1/2" | "-1/3" | "-2/3" | "-1/4" | "-2/4" | "-3/4" | "-full";
|
|
162
|
+
translateZ: Tokens["spacing"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "full" | "-1/2" | "-1/3" | "-2/3" | "-1/4" | "-2/4" | "-3/4" | "-full";
|
|
156
163
|
accentColor: Tokens["colors"];
|
|
157
164
|
caretColor: Tokens["colors"];
|
|
158
165
|
scrollbar: "visible" | "hidden";
|