It's important to mention that I do not have a predetermined color palette, rather the colors will be chosen from a color picker.
I am looking for a way to alter both the background and text color of the pseudo-class element associated with a specific class. While attempting to use the concept of currentColor
inherited from the parent element, I found that it applied to both the content and background, which is not ideal.
Is there a method to dynamically change these colors independently?