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.
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.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Ruby Sass is deprecated. You need to use Dart Sass.
https://sass-lang.com/ruby-sass
Best Regards,
Ruby Sass is deprecated. You need to use Dart Sass.
https://sass-lang.com/ruby-sass
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests