Hi there,
Say I've this component
<SectionBreak id='section-2' paragraph='this is a paragraph'>
<div slot='title'>
<h2>Title over <span>two lines</span></h2>
</div>
</SectionBreak>
The inside of my component looks like this:
<section >
<div class='text-content'>
<slot name='title' />
{paragraph && <p>{paragraph}</p>}
</div>
</section>
Then for my SCSS, I really want to just do this...
section {
:global(.text-content) {
h2 {
color: red;
}
span {
color: orange;
}
p {
color: green;
}
}
Is there any way to get something like this working?