I am trying to add borders around all colour swatches so that lighter colours are more obvious against a light background. I would also like to add a check mark in the selected option so that it is obvious what is selected.
Is this possible?
I have tried contacting the developers but they only suggested changing the White colour to off-white so that it shows up, but this is not an acceptable solution.
Thank you so much for this. So it shows on the Preview in the Customisor, but when I hit Save I get the error message ‘Online Store editor session can not be published’. Also, the tick mark is cut off slightly:
var(–color-border): This represents the border color and can be replaced with any hex color code or named color.
For example, if you want black borders, replace it with #000000 (or black)
[value=White]: This targets the color White specifically. Replace White with the name of the color you want to style, ensuring it matches the name defined in your product options.
red: This is the border color, which can be replaced with any color code, such as #ff0000 for red.