There's a native way to provide options for imports in LESS. I'll add a note about this in the documentation, but it looks like there's nothing much we need to do on XWiki. If the user knows LESS well, they can solve this issue.
For reference, correct implementation for the example shown above is :