@@ -24,21 +24,21 @@ const flashing = keyframes({
24
24
25
25
const Wrapper = styled ( 'div' , {
26
26
span : {
27
- width : '14px ' ,
28
- height : '14px ' ,
27
+ width : '8px ' ,
28
+ height : '8px ' ,
29
29
borderRadius : '50%' ,
30
30
backgroundColor : '$white' ,
31
31
animation : `${ flashing } 1.4s infinite linear` ,
32
32
margin : '0 4px' ,
33
- display : 'inline-block'
34
- } ,
33
+ display : 'inline-block' ,
35
34
36
- 'span :nth-child(2)' : {
37
- 'animation-delay' : '.2s'
38
- } ,
35
+ '& :nth-child(2)' : {
36
+ 'animation-delay' : '.2s'
37
+ } ,
39
38
40
- 'span:nth-child(3)' : {
41
- 'animation-delay' : '.4s'
39
+ '&:nth-child(3)' : {
40
+ 'animation-delay' : '.4s'
41
+ }
42
42
}
43
43
} ) ;
44
44
@@ -57,28 +57,28 @@ const flashing = keyframes({
57
57
58
58
const exampleWrapper = styled('div', {
59
59
span: {
60
- width: '14px ',
61
- height: '14px ',
60
+ width: '8px ',
61
+ height: '8px ',
62
62
borderRadius: '50%',
63
- backgroundColor: '$ white',
63
+ backgroundColor: 'white',
64
64
animation: 'flashing 1.4s infinite linear',
65
65
margin: '0 4px',
66
66
display: 'inline-block'
67
67
},
68
68
69
- 'span :nth-child(2)': {
69
+ '& :nth-child(2)': {
70
70
'animation-delay': '.2s'
71
71
},
72
72
73
- 'span :nth-child(3)': {
73
+ '& :nth-child(3)': {
74
74
'animation-delay': '.4s'
75
75
}
76
76
});` ;
77
77
78
78
const cssStyling = `
79
79
.exampleClass span {
80
- width: 14px ;
81
- height: 14px ;
80
+ width: 8px ;
81
+ height: 8px ;
82
82
border-radius: 50%;
83
83
background-color: white;
84
84
animation: flashing 1.4s infinite linear;
@@ -110,8 +110,8 @@ const cssStyling = `
110
110
const scssStyling = `
111
111
.exampleClass {
112
112
span {
113
- width: 14px ;
114
- height: 14px ;
113
+ width: 8px ;
114
+ height: 8px ;
115
115
border-radius: 50%;
116
116
background-color: white;
117
117
animation: flashing 1.4s infinite linear;
@@ -126,8 +126,9 @@ const scssStyling = `
126
126
animation-delay: 0.4s;
127
127
}
128
128
}
129
+ }
129
130
130
- @keyframes flashing {
131
+ @keyframes flashing {
131
132
0% {
132
133
opacity: 0.2;
133
134
}
@@ -138,7 +139,6 @@ const scssStyling = `
138
139
opacity: 0.2;
139
140
}
140
141
}
141
- }
142
142
` ;
143
143
144
144
export { stitchesStyling , cssStyling , scssStyling , Component } ;
0 commit comments