I'm trying to color this background for read alerts, so they're readable. I can't seem to find which of the many sections for style customizations have this setting? Any help?
You'll typically want to use the .m-colorScheme mixin to target color schemes (light/dark):
Less:
.some-class
{
// normal rules (default color scheme -- light in the default style)
.m-colorScheme({{ $xf.style.getAlternateStyleType() }},
{
// alternate rules (alternate color scheme -- dark in the default style)
});
}
However you can target specific variations if you want:
I have lots of styles for various games the community plays, 9 right now so essentially 18 styles, I guess? Each with a day and night coloration and the same background.
This is the default theme's color palette though. Left being day/light, right being night/dark:
.menu-row.menu-row--separated {
// colour for the light variation
background: #FFFFFF;
.m-colorScheme({{ $xf.style.getAlternateStyleType() }}, {
// colour for the dark variation
background: #000000;
});
}
True, I think you can use "color:#000000" if needed for text color though. I have extremely limited knowledge of CSS, and essentially nothing else, but not nearly enough to build something from scratch.
.menu-row.menu-row--separated {
// colour for the light variation
background: #FFFFFF;
.m-colorScheme({{ $xf.style.getAlternateStyleType() }}, {
// colour for the dark variation
background: #000000;
});
}