.font(@font, @weight) when not (@font = default) { font-family: @font; font-weight: @weight; } //this is to remove annoying IDE warnings for not being able to resolve .widget-function() calls .widget-function(...){}