Skip to content

Commit 1428cf8

Browse files
authored
Simplify branded reg pages to just use brand background img (#1647)
- Ticket: [ENG-3748] - Feature flag: n/a ## Purpose - Remove some of the complexities around how we use brand colors and images in the registries header ## Summary of Changes - Remove the logic pertaining to how we show brand color/images on the registries header, so the only thing shown in the header will just be the brand's hero image - Accessibility/color contrast on branded registry pages is gonna be a little whacky until we change the brand assets to a more appropriate color
1 parent 69785a8 commit 1428cf8

File tree

1 file changed

+1
-15
lines changed
  • lib/registries/addon/components/hero-overlay

1 file changed

+1
-15
lines changed

lib/registries/addon/components/hero-overlay/styles.scss

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@include primary-color-bg;
1414
background: var(--hero-background-img-url);
1515
background-size: cover;
16-
z-index: -1; /* should be in front of the ::before defined below */
16+
z-index: -1;
1717
display: block;
1818
}
1919

@@ -22,20 +22,6 @@
2222
}
2323
}
2424

25-
:global(.with-custom-branding) .HeroOverlay {
26-
&::before {
27-
@include primary-color-bg;
28-
display: block;
29-
z-index: -2; /* behind the ::after image */
30-
}
31-
32-
&::after {
33-
opacity: 0.4;
34-
filter: grayscale(1);
35-
z-index: -1;
36-
}
37-
}
38-
3925
.AlignCenter {
4026
align-items: center;
4127
}

0 commit comments

Comments
 (0)