Hi Xerte forums!
Long time user, first time poster here - I hope someone can point me in the right direction.
Some background:
I'm using the Xerte Online Toolkits theme and I'm trying to support users adding a tiny bit of CSS - essentially some branding colours for the headerblock and specifically link text: for example
#x_mainHolder a {color: DarkGreen;} )
My problem:
When the colours are inverted, some link text colour contrast falls below what's needed for WCAG. Therefore what I want to do is shift the colours slightly when in the inverted mode (e.g. to a light green)
However, I don't have something to hook onto to fix this in a simple way
(for example .filter_inv #x_mainHolder a {color: LightGreen;} )
It looks to me that when you switch to one of the accessibility modes (inverted/black on yellow), this simply replaces the current stylesheet with the target accessible one (e.g. default.css > highcontrast.css). There's also some javascript that looks to try and overwrite some of the colours too.
My question:
Am I missing a trick and approaching this all wrong? (sorry I'm not a developer). Ideally I would not like to have to overwrite/maintain the base themes and leave this small amount of theming with the end users.