Skip to content

Commit b7815df

Browse files
allow overriding the modal overlay color
1 parent a08c5e4 commit b7815df

File tree

1 file changed

+2
-1
lines changed
  • src/Umbraco.Commerce.Cart/Client/src/styles

1 file changed

+2
-1
lines changed

src/Umbraco.Commerce.Cart/Client/src/styles/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
--ucc-modal-width: 550px;
3737
--ucc-modal-background-color: #fff;
38+
--ucc-modal-overlay-color: rgba(0, 0, 0, 0.5);
3839
}
3940

4041
.ucc-modal-container {
@@ -48,7 +49,7 @@
4849
left: 0;
4950
width: 100%;
5051
height: 100%;
51-
background-color: rgba(0, 0, 0, 0.5);
52+
background-color: var(--ucc-modal-overlay-color);
5253
}
5354
.ucc-modal-container--open .ucc-modal-background {
5455
display: block;

0 commit comments

Comments
 (0)