Compile SCSS

Post Reply
mhyigit
Posts: 2
Joined: 15 Aug 2019, 14:59

28 Aug 2019, 23:03

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

aragorn
Posts: 3762
Joined: 29 Jun 2013, 12:38

02 Sep 2019, 15:31

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,

mhyigit
Posts: 2
Joined: 15 Aug 2019, 14:59

15 Sep 2019, 15:33

we have solved it using command line instead of koala

aragorn
Posts: 3762
Joined: 29 Jun 2013, 12:38

16 Sep 2019, 10:36

Thanks a lot for the update!

Best Regards,

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest