File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed
vue/src/skeleton-item/src Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ function loadLayout(designToken) {
127127 const space = Layout . space
128128 const boxShadow = Layout . boxShadow
129129 const opacity = Layout . opacity
130- const backgroundSize = Layout . backgroundSize
131130
132131 layoutToken . fontSize = getToken ( 'fontSize' , fontSize )
133132 layoutToken . lineHeight = getToken ( 'lineHeight' , lineHeight )
@@ -136,7 +135,6 @@ function loadLayout(designToken) {
136135 layoutToken . spacing = getToken ( 'spacing' , space )
137136 layoutToken . boxShadow = getToken ( 'boxShadow' , boxShadow )
138137 layoutToken . opacity = getToken ( 'opacity' , opacity )
139- layoutToken . backgroundSize = getToken ( 'backgroundSize' , { } )
140138
141139 return layoutToken
142140}
Original file line number Diff line number Diff line change 1212 @apply from- color - border- separator;
1313 @apply via- color - bg- 2;
1414 @apply to- color - border- separator;
15- @apply bg- 200 - 100 ;
15+ @apply bg- w200h100 ;
1616 @apply animate- skeleton- loading- 1500ms;
1717 }
1818 }
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ module.exports = {
2121 borderRadius : layoutToken . borderRadius ,
2222 borderWidth : layoutToken . borderWidth ,
2323 opacity : layoutToken . opacity ,
24- backgroundSize : layoutToken . backgroundSize ,
2524 extend : {
25+ backgroundSize : {
26+ 'w200h100' : '200% 100%'
27+ } ,
2628 animation : {
2729 'skeleton-loading-1500ms' : '1.5s skeleton-loading-1500ms ease-in-out infinite'
2830 } ,
Original file line number Diff line number Diff line change @@ -119,8 +119,5 @@ module.exports = {
119119 sm : '0.125rem' ,
120120 DEFAULT : '0.25rem' ,
121121 none : '0px'
122- } ,
123- backgroundSize : {
124- '200-100' : '200% 100%'
125122 }
126123}
Original file line number Diff line number Diff line change 99 gcls(`shape-${variant}`),
1010 variant !== 'square' ? gcls(`${variant}-${size}`) : '',
1111 state.isActive &&
12- 'bg-200-100 bg-gradient-to-r from-color-border-separator via-color-bg-2 to-color-border-separator animate-skeleton-loading-1500ms'
12+ 'bg-w200h100 bg-gradient-to-r from-color-border-separator via-color-bg-2 to-color-border-separator animate-skeleton-loading-1500ms'
1313 )
1414 "
1515 >
You can’t perform that action at this time.
0 commit comments