I have a default MediaWiki install using the Vector skin. I would like to change the colours, but I want to keep maintenance to a minimum so I don't want to duplicate the skin (because I will have to re-do this after every MW upgrade.)
The colours are defined in the Vector skin's
variables.less, so I would like to effectively insert my own code at the end of this file, so that it gets processed in the conversion to CSS.
I tried putting my code in the MW article
MediaWiki:Vector.css but this gets embedded into each page after the LESS to CSS conversion has been done, so it's too late to override LESS variables by then.
How can I alter the LESS variables for the Vector skin, without having to duplicate the whole Vector skin code?