Solved Xf-intensify doesn't work against property --color when using RGB

This topic has been solved
R

Russ

Guest
In 2.2 we could use this and it would work:
Code:

color: xf-intensify(@xf-xbCustomFooterCSS--color, 20%);

Now it doesn't appear to work if a style uses RGB colors (I'm updating to HSL but I can see this being an issue when styles are imported)

Easiest way to replicate the issue:
Style properties -> Footer -> Set background color to:
Code:

rgb(31, 32, 35)

Then add this to extra.less:

Code:

Code:
#XF .block-header
{
    background: xf-intensify(@xf-publicFooter--background-color, 10%);
}

It...

Read more

Continue reading...