Skip to content

Commit

Permalink
Updated the inactive button text color and text font, added the top b…
Browse files Browse the repository at this point in the history
…order of pagination
  • Loading branch information
LeifuChen committed Aug 1, 2023
1 parent 7508635 commit fa75693
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/app/src/components/Button/TabButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ const sharedStyle = css<{
&:disabled {
background-color: transparent;
p {
color: ${(props) => props.theme.colors.selectedTheme.button.tab.disabled.text};
color: ${(props) => props.theme.colors.selectedTheme.button.disabled.text};
}
svg {
path {
fill: ${(props) => props.theme.colors.selectedTheme.button.tab.disabled.text};
fill: ${(props) => props.theme.colors.selectedTheme.button.disabled.text};
}
}
Expand All @@ -136,7 +136,7 @@ const sharedStyle = css<{
color: ${(props) =>
props.active
? props.theme.colors.selectedTheme.button.text.primary
: props.theme.colors.selectedTheme.gray};
: props.theme.colors.selectedTheme.newTheme.text.secondary};
}
.detail {
Expand Down
1 change: 1 addition & 0 deletions packages/app/src/components/Table/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const PaginationContainer = styled(GridDivCenteredCol)<{ compact: boolean }>`
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
justify-items: center;
border-top: ${(props) => props.theme.colors.selectedTheme.border};
${media.lessThan('lg')`
border: ${(props) => props.theme.colors.selectedTheme.border};
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/sections/leaderboard/TraderHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const TraderHistory: FC<TraderHistoryProps> = memo(
),
accessorKey: 'status',
cell: (cellProps) => {
return <StyledCell>{cellProps.row.original.status}</StyledCell>
return <Body color="primary">{cellProps.row.original.status}</Body>
},
size: 30,
},
Expand Down Expand Up @@ -265,7 +265,7 @@ const TraderHistory: FC<TraderHistoryProps> = memo(
),
accessorKey: 'status',
cell: (cellProps) => {
return <StyledCell>{cellProps.row.original.status}</StyledCell>
return <Body color="primary">{cellProps.row.original.status}</Body>
},
size: 30,
},
Expand Down

0 comments on commit fa75693

Please sign in to comment.