Page 1 of 1

[Solved] _exception.scss syntax error in netbeans

Posted: 03 Jul 2017, 22:19
by adamtang
Hi All,

I'm using netbeans and I'm still new to PrimeFaces JSF.

I'm trying to copy the folder of sass into netbeans web project as instructed by Manhattan documentation
A custom theme can be developed by the following steps.

Create a custom theme folder such as primefaces-manhattan-myown under webapp/resources and place an empty theme.scss inside.
Copy the sass folder from the distribution to webapp/resources.
Define the variables listed below and import the /sass/theme/_theme.scss file.
But netbeans ide mark a error in /sass/layout/_exception.scss

at line 232
}

@return nth($x-list, $x),
nth($y-list, $y);
}
Is it syntax error or it is netbeans issue?

Thank you very much and the theme is awesome.

Re: _exception.scss syntax error in netbeans

Posted: 04 Jul 2017, 08:44
by mert.sincan
Please use

Code: Select all

@return (nth($x-list, $x), nth($y-list, $y)); 
instead of

Code: Select all

@return nth($x-list, $x),
nth($y-list, $y);
I'll add this fix into next release.