Page 1 of 1

SCSS Help

Posted: Thu Feb 24, 2022 7:51 pm
by swalker76
Is there any phpMyFAQ specific documentation that explains how to use sass to compile the scss files? I had to upgrade our FAQ from 2.9.6 to 3.1.1 and need to put our colors on the upgraded site. I'm used to editing css files to get what I need and am totally unfamiliar with SCSS.

Here is where I am at:

I found a navs/_topbar.scss file and added my first change.

I then run "sass _topbar.scss _topbar.css" and get an undefined variable error on a line I did not edit ( height: $topbar-base-height;).

I get the same error if I run "sass ./topbar.scss ../css/topbar.css".

Thanks!

Re: SCSS Help

Posted: Thu Feb 24, 2022 8:34 pm
by Thorsten
HI,

you have to clone our repo at Github for re-compiling the SCSS files.

I'm aware of this and I'll add a documentation for this as soon as possible.

bye
Thorsten

Re: SCSS Help

Posted: Fri Feb 25, 2022 6:13 pm
by swalker76
Thanks for the reply, Thorsten!!