Skip to content

Commit

Permalink
feat(theme): update message date color
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed May 24, 2020
1 parent 4f38e35 commit 7bde21e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ const Head = styled.div`
opacity: 0.4;
font-weight: bold;
margin-right: 16px;
&.active {
&.active,
&:hover {
opacity: 1;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ const MessageHeader = styled.header`

const MessageDate = styled.div`
font-weight: normal;
color: #b3b3b3;
color: ${(p) => p.theme.secondaryFontColor};
font-size: 9px;
font-weight: 600;
`;

const MessageFlex = styled.div`
Expand Down
2 changes: 2 additions & 0 deletions src/shared/theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const darkTheme = {
fontColor: "#fff",
secondaryFontColor: "#615e73",
fontColorInverse: "#000",
backgroundColor: '#0D0B1C',
secondaryBackgroundColor: '#1F2538',
Expand All @@ -9,6 +10,7 @@ const darkTheme = {

const theme = {
fontColor: "#000",
secondaryFontColor: "#cecece",
fontColorInverse: "#fff",
backgroundColor: '#fff',
secondaryBackgroundColor: '#eceff4',
Expand Down

0 comments on commit 7bde21e

Please sign in to comment.