SCSS files in theme

Hi guys,

sorry for a dummy question. I found that in the omp 3.1 is a SCSS compiler (leafo/scssphp). Our company is changing it鈥檚 visual style and all styles are in SASS, so I want to recreate out theme in OMP 3 and later in OJS 3 to use just only SCSS files.

My question is: How to do it? :slight_smile: I tried to just import *.scss file into index.less file in our theme directory but this didn鈥檛 work. Obviously. Could you help mi with basic setup for theme to use *.scss, please?

Thank you very much for every help.
Best Regards,

I don鈥檛 know exactly about OMP 3.1, but I鈥檝e tried to to the same for OJS 3.1. If this library is shared, you can use this code, but it wasn鈥檛 fully completed and revised: Adding support for server-side SASS compilation by Vitaliy-1 路 Pull Request #3451 路 pkp/pkp-lib 路 GitHub

I think the easiest approach is to compile SASS on the development stage, e.g., with Gulp task: immersion/gulpfile.js at master 路 Vitaliy-1/immersion 路 GitHub

Thank you very much :slight_smile: it looks perfectly what I want :slight_smile:
I鈥檒l try it.