lvarayut/relay-fullstack

Loading custom css for external libraries

rohit-ravikoti opened this issue · 2 comments

Hi!
This starter kit has been tremendously helpful in helping me get started. Just wanted to say thanks!

I was wondering how I would be able to include custom css files to override those provided by an external library (like auth0-lock). It looks like how stylesheets are currently loaded are through local scoping. Is there anything in place for global scoping?

Thanks!

Hi @rohit-ravikoti! I'm very glad that this project's helpful to you. We're using css-modules to handle our css files, which are local scope by default. You can use :global keyword to switch to global scope, please take a look at the example on the Exceptions for more details.

got it! Thanks!