SCSS Help

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
swalker76
Posts: 12
Joined: Thu Feb 24, 2022 6:16 pm

SCSS Help

Post 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!
Thorsten
Posts: 15617
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: SCSS Help

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
swalker76
Posts: 12
Joined: Thu Feb 24, 2022 6:16 pm

Re: SCSS Help

Post by swalker76 »

Thanks for the reply, Thorsten!!
Post Reply