![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/demo.cartinsight.co/vendor/marcusschwarz/lesserphp/tests/inputs/ |
@import 'file1.less'; // file found and imported @import "not-found"; @import "something.css" media; @import url("something.css") media; @import url(something.css) media, screen, print; @color: maroon; @import url(file2); // found and imported body { line-height: 10em; @colors; } div { @color: fuchsia; @import "file2"; } .mixin-import() { @import "file3"; } .one { .mixin-import(); color: blue; } .two { .mixin-import(); } #merge-import-mixins { @import "a"; @import "b"; div { .just-a-class; } } @import "inner/file1"; // test bubbling variables up from imports, while preserving order pre { color: @someValue; } blockquote { color: @someOtherValue; } @import "file3"; @someOtherValue: hello-from-imports-file; @dynamicImport: "file4"; @import @dynamicImport;