XF 2.1 How can I get the correct Content background color?

AndyB

Well-known member
In one of my add-ons I have a .less template where I define the background color like this:

background: @xf-paletteNeutral1;

This works perfect as long as the style uses the @xf-paletteNeutral1 for the Content background color:

1583540240672.webp

The problem I'm running into is that one popular third party style uses the @xf-palletColor1 for the Content background color.

1583540353496.webp

Is there a way to overcome this issue?

Thank you.
 
Back
Top Bottom