react-toolbox / react-toolbox-themr

A tool to statically extract and generate custom themes for React Toolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

theme.css doesn't work in react-boilerplate

glocore opened this issue · comments

I followed the steps given in the readme, but when I try a simple button <Button primary raised>Welcome to RT</Button>, it doesn't take any styling.

screenshot from 2017-04-15 12-26-47

I tried including the generated CSS file assets/react-toolbox/theme.css in react-boilerplate/app/app.js, but I get the following error:

screenshot from 2017-04-15 12-31-40

Hello @platonish , having assets folder inside react-boilerplate/app/ I've used this import in app.js and it works:
import '!style-loader!css-loader!./assets/react-toolbox/theme.css';