react-bnb-gallery icon indicating copy to clipboard operation
react-bnb-gallery copied to clipboard

Separate CSS styles from the source code

Open pedropalau opened this issue 4 years ago • 1 comments

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 avatar Sep 25 '19 21:09 pedropalau

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.

pedropalau avatar Oct 02 '19 18:10 pedropalau