Skip to content

Commit 027e50d

Browse files
committed
fix(Basic Auth): Fix Basic Auth overlay background in Dark Mode
1 parent a564a35 commit 027e50d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/theme/src/themes/dark/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export const selectSearchColor = inputBackground;
6666

6767
// Modal
6868
export const colorModalOverlayBackground = color(legacyStyles.darkThemeBlack).alpha(0.8).rgb().string();
69+
export const colorModalBackground = colorContentBackground;
6970

7071
// Services
7172
export const services = merge({}, defaultStyles.services, {

packages/theme/src/themes/default/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export const badgeBorderRadius = 50;
145145

146146
// Modal
147147
export const colorModalOverlayBackground = color('#000').alpha(0.5).rgb().string();
148+
export const colorModalBackground = colorContentBackground;
148149

149150
// Services
150151
export const services = {

src/components/ui/Modal/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default theme => ({
1313
display: 'flex',
1414
},
1515
modal: {
16-
background: '#FFF',
16+
background: theme.colorModalBackground,
1717
maxWidth: '90%',
1818
height: 'auto',
1919
margin: 'auto auto',

0 commit comments

Comments
 (0)