Skip to content

Commit

Permalink
Major: Use %x-overlay-- not .x-overlay--
Browse files Browse the repository at this point in the history
That class usage is undesirable and to be removed in Core-CMS.
  • Loading branch information
wesleyboar committed Oct 27, 2021
1 parent a9d3fef commit 88a2a3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

/* To style the overlay */
.s-home__banner .o-section__banner-overlay {
@extend .x-overlay--curtain;
@extend %x-overlay--curtain;
}
.s-home__banner .o-section--style-dark .o-section__banner-overlay {
--color-bkgd-rgb: var(--global-color-primary--x-dark-rgb);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
}
.s-home__banner.o-section--banner .o-section__banner-overlay {
@extend .x-overlay--callout;
@extend %x-overlay--callout;

--color-text: inherit;
--color-bkgd-rgb: var(--global-color-primary--normal);
Expand Down

0 comments on commit 88a2a3e

Please sign in to comment.