lessphp icon indicating copy to clipboard operation
lessphp copied to clipboard

LESS compiler written in PHP

Results 100 lessphp issues
Sort by recently updated
recently updated
newest added

I got "vars.less" file, its content is: // variables @siteHeaderBackgroundColor : #ff0000; --- Then I have the following rules: @import '/less/front-2.3.1/vars.less'; .site-header { background-color : @siteHeaderBackgroundColor; } @siteHeaderBackgroundColor: #fafafa; ---...

_NOTE: I saw some other issues similar to this, but wasn't sure on a clear answer on when this is being added or if they were asking for the same...

match-upstream

Ex: @import 'http://cdn.mysite.com/less_repo/myfile.less'; The file name must end in ".less" if it needs to be parsed. Opposed to local imports, extensionless remote imports will be ignored and left untouched to...

Let's copy example form http://lesscss.org/features/#variables-feature-properties ``` @property: color; .widget { @{property}: #0ee; background-@{property}: #999; } ``` and on compile we have error: ``` parse error: failed at `@{property}: #0ee; `...

On running of this code : ``` less @media_1 : 1600px; @media (min-width: @media_1) { header { background-color: white; } } ``` The compiler throw : ``` Fatal Error: ====================...

Including the following code is resulting in a blank index page. I expected the file to be compiled and the index.php to render as normal. Am I missing something or...

hello I'm trying to use the full path in the import statements this is the .less file: @import "@{stylesheet_path}colors.less"; @import "@{template_path}liquida/etc.less"; i set the variables via php and i tried...

bug

when I trying to compile (cache compile ,compile , checkedcompile) a less file with different parametter , just first file compile completely and others just compile in-file codes and not...

The functions that can be added to lessphp. <?php # Libs for LessPHP 0.4.0 to less.js 1.5.1 # http://leafo.net/lessphp/docs/#custom_functions # # Added: # # multiply(color1, color2) # screen(color1, color2) #...

enhancement
match-upstream

I'm having problems importing my import.less file. It's unclear what kind of value checkedCompile() requires. An absolute path? Relative path? Even when I put both lessc.inc.php and input.less in the...