Closed ngouy closed 3 years ago
Hey @ngouy. Good point 😄
You can try in this way:
// these first 2 lines should already be present
@import "~@activeadmin/activeadmin/src/scss/mixins";
@import "~@activeadmin/activeadmin/src/scss/base";
$color-brand: #c02; // ... and the other vars ... @import "~activeadmin_blaze_theme/app/assets/stylesheets/activeadmin_blaze_theme/theme";
- remove `require('activeadmin_blaze_theme')` from the js.
Will do
Thank you for providing this gem and also help users. 💪
It worked 👍
Thank you
From the read me :
using webpacker
custom colors :
How can we combine both to make variables works ?
If I try to require the js file after I import my scss file where my styles customization variables are, it just doesn't works
(the other way around doesn't works either)