Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 8a00c08

Browse files
authored
fix(modal): fix modal backdrop (#19)
1 parent 824eaf6 commit 8a00c08

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

β€Žsrc/Modal.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ const Modal = styled(ModalComponent)`
119119
bottom: 0;
120120
left: 0;
121121
background-color: ${th('modalBackdropBg')};
122-
opacity: 0.5;
123122
}
124123
`
125124

β€Žsrc/theme/defaultTheme.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export const displayLineHeight = th('headingsLineHeight')
216216

217217
// Modals
218218

219-
export const modalBackdropBg = th('black')
219+
export const modalBackdropBg = 'rgba(0, 0, 0, 0.5)'
220220

221221
export const modalInnerPadding = '1rem'
222222
export const modalTransitionDuration = 300 // ms

0 commit comments

Comments
Β (0)