You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semantic-UI calls a mixing, which produces url @import, inside & block. Less.js hoists this import to top-level. Less4j leaves the import inside block and prints a warning.
❯ lessc semantic.less
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin');
~/Source/less4j master*
❯ java -jar less4j-1.17.2.jar semantic.less
{
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin');
}
Warnings produced by compilation of semantic.less
WARNING 6:3 Compilation resulted in incorrect CSS. The IMPORT ended up inside a body of rule set located at 12:1.
5: .loadFonts() when (@importGoogleFonts) {
6: @import url('https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin');
7: }
The text was updated successfully, but these errors were encountered:
Related: #295
Semantic-UI calls a mixing, which produces url @import, inside
&
block. Less.js hoists this import to top-level. Less4j leaves theimport
inside block and prints a warning.Example:
Test:
The text was updated successfully, but these errors were encountered: