Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
make dark theme more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
antonok-edm committed Sep 20, 2019
1 parent 8870019 commit 56c6df6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/card/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const Card = styled<StyledCardProps, 'div'>('div')`
width: 100%;
min-height: auto;
margin: 0;
background-color: #fff;
background-color: ${p => p.theme.color.panelBackground};
border-radius: 4px;
box-shadow: ${p => `0 2px 4px rgba(0, 0, 0, ${getShadowOpacity(p.emphasis)})`};
font-size: inherit;
Expand Down
7 changes: 6 additions & 1 deletion src/theme/brave-dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ const darkTheme: ITheme = {
color: {
...defaultTheme.color,
contextMenuBackground: colors.black,
contextMenuForeground: colors.white
contextMenuForeground: colors.white,
defaultControl: colors.grey400,
defaultControlInteracting: colors.white,
defaultControlActive: colors.grey500,
panelBackground: colors.grey900,
text: colors.white
}
}

Expand Down

0 comments on commit 56c6df6

Please sign in to comment.