Skip to content

Commit

Permalink
fix(l-heading): theming selectors specifity
Browse files Browse the repository at this point in the history
  • Loading branch information
renet authored and borisdiakur committed Oct 25, 2021
1 parent 13f88b2 commit 81d1b27
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/liquid/components/ld-heading/ld-heading.global.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ ld-heading[visual-level*='b'],
.ld-heading--xb1,
.ld-heading--xb2,
.ld-heading--xb3 {
.ld-theme-ocean :where(&),
[class*='ld-theme'] .ld-theme-ocean :where(&) {
:where(.ld-theme-ocean &),
:where([class*='ld-theme'] .ld-theme-ocean &) {
color: var(--ld-col-rb-default);
}

.ld-theme-solvent :where(&),
[class*='ld-theme'] .ld-theme-solvent :where(&),
.ld-theme-bubblegum :where(&),
[class*='ld-theme'] .ld-theme-bubblegum :where(&),
.ld-theme-shake :where(&),
[class*='ld-theme'] .ld-theme-shake :where(&) {
:where(.ld-theme-solvent &),
:where([class*='ld-theme'] .ld-theme-solvent &),
:where(.ld-theme-bubblegum &),
:where([class*='ld-theme'] .ld-theme-bubblegum &),
:where(.ld-theme-shake &),
:where([class*='ld-theme'] .ld-theme-shake &) {
color: var(--ld-col-rp-default);
}

.ld-theme-tea :where(&),
[class*='ld-theme'] .ld-theme-tea :where(&) {
:where(.ld-theme-tea &),
:where([class*='ld-theme'] .ld-theme-tea &) {
color: var(--ld-col-rg-default);
}
}

0 comments on commit 81d1b27

Please sign in to comment.