Page 1 of 1

Compile SCSS

Posted: 28 Aug 2019, 23:03
by mhyigit
when we try to compile scss files to convert css with koala and sass we get "undefined variables" error


Error

D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Error: Undefined variable: "$contentBordorColor".
on line 10 of D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Use --trace for backtrace

D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Error: Undefined variable: "$fontSize".
on line 7 of D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Use --trace for backtrace

D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Error: Undefined variable: "$turquoise".
on line 37 of D:\dev\personal\primefacesThemes\poseidon-2.0.0\posedion-layout-2.0.0
Use --trace for backtrace


Image
Image
Image

Re: Compile SCSS

Posted: 02 Sep 2019, 15:31
by aragorn
I couldn't replicate it. Please check _variables.scss file under src/main/webapp/resources/sass/

Code: Select all

$fontSize:14px;
..
$contentBorderColor:#c9cdd2;
..
$turquoise:#00acac;
...
Also, I suggest that you use our sass command in command line;
https://www.primefaces.org/poseidon/docs.xhtml

Best Regards,

Re: Compile SCSS

Posted: 15 Sep 2019, 15:33
by mhyigit
we have solved it using command line instead of koala

Re: Compile SCSS

Posted: 16 Sep 2019, 10:36
by aragorn
Thanks a lot for the update!

Best Regards,