Invalid CSS using freya-4.0.0 with Custom Theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jamodo
Posts: 1
Joined: 10 Jun 2022, 17:00

12 Jun 2022, 13:36

I have tried both:

Ruby Sass 3.7.4
libsass-maven-plugin 0.2.26

Both report:
error src/main/resources/META-INF/resources/sass/theme/designer/components/button/_button.scss (Line 109: Invalid CSS after "...argin-top: math": expected ";", was ".div(-1 * $icon...")

io.bit3.jsass.CompilationException: Error: Invalid CSS after "...argin-top: math": expected expression (e.g. 1px, bold), was ".div(-1 * $iconSize"
on line 109:25 of src/main/resources/META-INF/resources/sass/theme/designer/components/button/_button.scss
from line 8:1 of src/main/resources/META-INF/resources/sass/theme/designer/_theme.scss
from line 3:1 of src/main/resources/META-INF/resources/sass/theme/_theme_light.scss
from line 9:1 of src/main/resources/META-INF/resources/primefaces-freya-myown/theme.scss
>> margin-top: math.div(-1 * $iconSize, 2);

Please advise.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

16 Jun 2022, 12:04

Hi,

Ruby Sass is deprecated. You need to use Dart Sass.
https://sass-lang.com/ruby-sass

Best Regards,

Post Reply

Return to “Freya - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests