Answer the question
In order to leave comments, you need to log in
Custom style in ExtJs 4, issue with sass versions?
Good afternoon.
The task is to update the styles of the web application. extjs version 4 is used, plugging in sass compilation, or rather, in a syntax error.
As I understand it, the 4th version of the library works with a maximum of 3.2.5 version of sass. But the fresh compass naturally does not support this version, I had to install compass v0.12.2. Based on chengelog, this version is suitable for sass v3.2.5.
But the following error occurred - screen
Contents of the specified lines:
_frame.scss
@function pad($radius) {
$radius: boxmax($radius);
$radius: parseint($radius);
@if $radius > 10 {
@return $radius;
}
@else {
@return "0" + $radius;
}
}
@import 'mixins/frame';
@import 'mixins';
Answer the question
In order to leave comments, you need to log in
I solved the problem a long time ago, I forgot to write an answer.
Under ExtJs 4, the installation of SASS - 3.1.1 and Compass - 0.11.1 helped me
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question