Suppose I have a particle with its standard scss file in /rt_template/scss/template/particles/_particle.scss.
If I then create an override in rt_template/custom/scss/_particle.scss.
Does G5 still read the original scss file and then add the override scss or does the override scss replace the original scss file completely?
If I creat the override in rt_template/custom/scss/particles/_particle.scss would it behave differently?
I understand that the override has to be imported into custom.scss. I did some experimentation and answered my question.
The _particle.scss file in the custom folder does not replace the original _particle.scss, it just adds rules to the compiled scss. Therefore, the rule with the highest priority wins, as usual, which could be from the custom folder or from the original _particle.scss. This is the way that it makes most sense to do scss overrides, so I just wanted to confirm it.
Dan Walker - Web Designer & Developer @ Top Webs Network
Custom Joomla & Wordpress Websites