Testing this, we can actually get away with just this:
.light-theme .ls-block h2 {
color: black;
}
.dark-theme .ls-block h2 {
color: #fce69f;
}
Most importantly, we have to make sure we specify it is the .ls-block
within .light-theme
or .dark-theme
and then whatever header we want (in this case h2
).
To get that, we don’t add any comma’s.