To import a partial into another Less file, use the following syntax at the top of your file:
You can split up your Less code into multiple files and still have one CSS file in the end using partials and imports.
The partial file will not be compiled into its own CSS file. Instead, to use the code you import it into a normal Less file that will be compiled.
Try importing the file colors.less into main.less using the following line: