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 Oct 21, 2019
1 parent 9a6c7b4 commit 536893f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/card/__snapshots__/spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`card tests basic tests matches the snapshot 1`] = `
width: 100%;
min-height: auto;
margin: 0;
background-color: #fff;
background-color: #FFFFFF;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,.15);
font-size: inherit;
Expand Down
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
4 changes: 3 additions & 1 deletion src/theme/brave-dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const darkTheme: ITheme = {
contextMenuForeground: colors.white,
defaultControl: colors.grey400,
defaultControlInteracting: colors.white,
defaultControlActive: colors.grey500
defaultControlActive: colors.grey500,
panelBackground: colors.grey900,
text: colors.white
}
}

Expand Down

0 comments on commit 536893f

Please sign in to comment.