@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
} ;
5
5
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
6
6
const plugin_1 = __importDefault ( require ( "tailwindcss/plugin" ) ) ;
7
- const shimmerBefore = {
8
- content : "attr(text-shimmer -data)" ,
7
+ const twinkleBefore = {
8
+ content : "attr(text-twinkle -data)" ,
9
9
position : "absolute" ,
10
10
inset : "0" ,
11
11
"pointer-events" : "none" ,
@@ -18,33 +18,33 @@ const shimmerBefore = {
18
18
} ;
19
19
exports . default = ( 0 , plugin_1 . default ) ( function ( { addUtilities, addComponents } ) {
20
20
addUtilities ( {
21
- "@keyframes text-shimmer " : {
21
+ "@keyframes text-twinkle " : {
22
22
"0%" : { "background-position" : "150% 0" } ,
23
23
"100%" : { "background-position" : "-250% 0" } ,
24
24
} ,
25
25
} ) ;
26
26
addComponents ( {
27
- ".text-shimmer " : {
27
+ ".text-twinkle " : {
28
28
position : "relative" ,
29
29
display : "inline-block" ,
30
30
} ,
31
- ".text-shimmer ::before" : Object . assign ( Object . assign ( { } , shimmerBefore ) , { animation : "text-shimmer 5s linear infinite" } ) ,
32
- ".hover-text-shimmer " : {
31
+ ".text-twinkle ::before" : Object . assign ( Object . assign ( { } , twinkleBefore ) , { animation : "text-twinkle 5s linear infinite" } ) ,
32
+ ".hover-text-twinkle " : {
33
33
position : "relative" ,
34
34
display : "inline-block" ,
35
35
} ,
36
- ".hover-text-shimmer ::before" : Object . assign ( Object . assign ( { } , shimmerBefore ) , { opacity : "0" } ) ,
37
- ".hover-text-shimmer :hover::before" : {
38
- animation : "text-shimmer 5s linear infinite" ,
36
+ ".hover-text-twinkle ::before" : Object . assign ( Object . assign ( { } , twinkleBefore ) , { opacity : "0" } ) ,
37
+ ".hover-text-twinkle :hover::before" : {
38
+ animation : "text-twinkle 5s linear infinite" ,
39
39
opacity : "1" ,
40
40
} ,
41
- ".group-hover-text-shimmer " : {
41
+ ".group-hover-text-twinkle " : {
42
42
position : "relative" ,
43
43
display : "inline-block" ,
44
44
} ,
45
- ".group-hover-text-shimmer ::before" : Object . assign ( Object . assign ( { } , shimmerBefore ) , { opacity : "0" } ) ,
46
- ".group:hover .group-hover-text-shimmer ::before" : {
47
- animation : "text-shimmer 5s linear infinite" ,
45
+ ".group-hover-text-twinkle ::before" : Object . assign ( Object . assign ( { } , twinkleBefore ) , { opacity : "0" } ) ,
46
+ ".group:hover .group-hover-text-twinkle ::before" : {
47
+ animation : "text-twinkle 5s linear infinite" ,
48
48
opacity : "1" ,
49
49
} ,
50
50
} ) ;
0 commit comments