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
Thanks for the 2 less plugins you created (lists & this functions one) - I personally think both are much needed addition to less. 👍
I played with this less-plugin-functions yesterday and couldn't get it to work when I used uppercase characters in my funtion names.
Less inherits case-insensitivity from CSS, so when you call a function it's name is always internally converted to lowercase... e.g. getstylenamespace. The plugin can't do anything about this (it uses also internal Less mixin search and there the matching is case-sensitive). Thus the camel style of naming is unfortunate and CSS-like naming (e.g. .function-get-style-space) is preferred.
Hello Max,
Thanks for the 2 less plugins you created (lists & this functions one) - I personally think both are much needed addition to less. 👍
I played with this less-plugin-functions yesterday and couldn't get it to work when I used uppercase characters in my funtion names.
Example:
Output:
If I lowercase the function name then everything works fine.
Regards,
R.
The text was updated successfully, but these errors were encountered: