@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
44} ;
55Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
66const plugin_1 = __importDefault ( require ( "tailwindcss/plugin" ) ) ;
7- const shimmerBefore = {
8- content : "attr(text-shimmer -data)" ,
7+ const twinkleBefore = {
8+ content : "attr(text-twinkle -data)" ,
99 position : "absolute" ,
1010 inset : "0" ,
1111 "pointer-events" : "none" ,
@@ -18,33 +18,33 @@ const shimmerBefore = {
1818} ;
1919exports . default = ( 0 , plugin_1 . default ) ( function ( { addUtilities, addComponents } ) {
2020 addUtilities ( {
21- "@keyframes text-shimmer " : {
21+ "@keyframes text-twinkle " : {
2222 "0%" : { "background-position" : "150% 0" } ,
2323 "100%" : { "background-position" : "-250% 0" } ,
2424 } ,
2525 } ) ;
2626 addComponents ( {
27- ".text-shimmer " : {
27+ ".text-twinkle " : {
2828 position : "relative" ,
2929 display : "inline-block" ,
3030 } ,
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 " : {
3333 position : "relative" ,
3434 display : "inline-block" ,
3535 } ,
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" ,
3939 opacity : "1" ,
4040 } ,
41- ".group-hover-text-shimmer " : {
41+ ".group-hover-text-twinkle " : {
4242 position : "relative" ,
4343 display : "inline-block" ,
4444 } ,
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" ,
4848 opacity : "1" ,
4949 } ,
5050 } ) ;
0 commit comments