Rainbow indentation

Created by 50Wliu
Last updated about 1 year ago
/* Will need adjusting based on the theme colors */
/* Requires Show Indent Guide to be on */

.leading-whitespace:nth-of-type(5n+1)
{
	background-color: lighten(@red, 40%);
}

.leading-whitespace:nth-of-type(5n+2)
{
	background-color: lighten(@orange, 45%);
}

.leading-whitespace:nth-of-type(5n+3)
{
	background-color: lighten(@green, 50%);
}

.leading-whitespace:nth-of-type(5n+4)
{
	background-color: lighten(@blue, 30%);
}

.leading-whitespace:nth-of-type(5n+5)
{
	background-color: lighten(@purple, 60%);
}