pedropalau / react-bnb-gallery

Simple react-based photo gallery inspired by Airbnb image gallery.
https://peterpalau.github.io/react-bnb-gallery/
MIT License
219 stars 89 forks source link

Separate CSS styles from the source code #20

Open pedropalau opened 5 years ago

pedropalau commented 5 years ago

This library is using an imported CSS file in the main JS file.

The idea is to separate the CSS file from the JS so that anyone can import it as a normal file.

pedropalau commented 4 years ago

Right now this library is using a CSS-in-JS aproach, but I want a better way to allow customization and maybe use SASS with variables, such as Bootstrap, so, in that way the user can override the variables (colors, widths, fonts, etc.) used to render the library.

For now, I going to investigate more about this to check the better solution.