Currently, only Sass/Less within the /src/assets/ folder are compiled. This means that any theme-specific styles I add to my theme-assets folder won't be compiled by PatternPack.
We already dictate the location of your theme, and even provide a handlebars helper for {{themeassets}}. I think we should make the following updates:
- Add a
sass task that compiles theme/**/*.scss -> *.css
- Add a
less task that compiles theme/**/*.less -> *.css
- Add
theme/**/*.css as a src in our postcss task
- Add
theme/**/*.{scss,less} to our watch task
These would be simple updates that would extend PatternPack's support of building custom themes.
Currently, only Sass/Less within the
/src/assets/folder are compiled. This means that any theme-specific styles I add to mytheme-assetsfolder won't be compiled by PatternPack.We already dictate the location of your theme, and even provide a handlebars helper for
{{themeassets}}. I think we should make the following updates:sasstask that compilestheme/**/*.scss->*.csslesstask that compilestheme/**/*.less->*.csstheme/**/*.cssas asrcin ourpostcsstasktheme/**/*.{scss,less}to ourwatchtaskThese would be simple updates that would extend PatternPack's support of building custom themes.