RSS Feed/News Xf-intensify doesn't work against property --color when using RGB

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,890
Points
823

Reputation:

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 that 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%);
}
...

Read more

Continue reading...
 
Status
Not open for further replies.
Top