I am trying to add CSS to element inside shadow-root by adding class to it. I have angular component where I have. CSS
.test {
border: 1px solid red;
}
TS
document.getElementById('my-div').shadowRoot.querySelector('.some-wrapper').classList.add('test')
The thing is that i can see that class is added but that class seems to be empty like it adds no CSS to element only class. What I am doing wrong?