darkroomengineering / lenis

How smooth scroll should be

Home Page:https://lenis.darkroom.engineering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bundle recommended styles

xavierfoucrier opened this issue · comments

Same as many other libraries (*), it would be nice to bundle the recommended styles inside the package dist folder.

This way we can safely use them like @use 'lenis/dist/styles.scss'; for example.
With this kind of import, you can adjust recommended styles when a new package version is released.

(*) I know that lenis is not like no other libraries 🤘🕶️

it so little css, I think its not worth adding it to the bundle. like this everyone can add what they want and wherever they want. just copy and paste.

Let's see what we can do.

yo @xavierfoucrier i've just bundled the css sheet, can you take a look ?

https://unpkg.com/browse/lenis@1.1.8/dist/lenis.css