darkroomengineering / lenis

How smooth scroll should be
https://lenis.darkroom.engineering
MIT License
7.33k stars 316 forks source link

Bundle recommended styles #344

Open xavierfoucrier opened 1 month ago

xavierfoucrier commented 1 month ago

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 🤘🕶️

feledori commented 1 month ago

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.

clementroche commented 1 month ago

Let's see what we can do.