I have following code:
.button {
&[aria-label*='first']::after { content: 'some text'; }
}
It checks if button has aria-label and if it is 'first', it will append 'some text'. I would like to style 'some text' with colors , but 'some' to have black color, and 'text' to have red color. Is that possible and how?