File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,10 @@ window.addEventListener("DOMContentLoaded", (event) => {
8585 }
8686 }
8787
88- let durationSetting = attr ( 0.4 , $ ( "body " ) . attr ( "colorscroll-speed" ) ) ,
89- easeSetting = attr ( "power1.out" , $ ( "body " ) . attr ( "colorscroll-ease" ) ) ,
90- offsetSetting = attr ( 50 , $ ( "body " ) . attr ( "colorscroll-offset" ) ) ,
91- breakpointSetting = attr ( 0 , $ ( "body " ) . attr ( "colorscroll-breakpoint" ) ) ;
88+ let durationSetting = attr ( 0.4 , $ ( "#lumos-colors " ) . attr ( "colorscroll-speed" ) ) ,
89+ easeSetting = attr ( "power1.out" , $ ( "#lumos-colors " ) . attr ( "colorscroll-ease" ) ) ,
90+ offsetSetting = attr ( 50 , $ ( "#lumos-colors " ) . attr ( "colorscroll-offset" ) ) ,
91+ breakpointSetting = attr ( 0 , $ ( "#lumos-colors " ) . attr ( "colorscroll-breakpoint" ) ) ;
9292 // scrolltrigger code
9393 gsap . registerPlugin ( ScrollTrigger ) ;
9494 $ ( "[colorscroll-mode]" ) . each ( function ( ) {
You can’t perform that action at this time.
0 commit comments