Skip to content

Commit

Permalink
fix(Basic Auth): Fix Basic Auth overlay background in Dark Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Oct 2, 2019
1 parent a564a35 commit 027e50d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/theme/src/themes/dark/index.ts
Expand Up @@ -66,6 +66,7 @@ export const selectSearchColor = inputBackground;

// Modal
export const colorModalOverlayBackground = color(legacyStyles.darkThemeBlack).alpha(0.8).rgb().string();
export const colorModalBackground = colorContentBackground;

// Services
export const services = merge({}, defaultStyles.services, {
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/themes/default/index.ts
Expand Up @@ -145,6 +145,7 @@ export const badgeBorderRadius = 50;

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

// Services
export const services = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Modal/styles.js
Expand Up @@ -13,7 +13,7 @@ export default theme => ({
display: 'flex',
},
modal: {
background: '#FFF',
background: theme.colorModalBackground,
maxWidth: '90%',
height: 'auto',
margin: 'auto auto',
Expand Down

0 comments on commit 027e50d

Please sign in to comment.