Skip to content

Commit

Permalink
[website] Improve color contrast on the homepage (#41465)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal authored Mar 12, 2024
1 parent 9170d63 commit 5ca7b39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/showcase/FolderTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ export default function BasicTable() {
<TableCell align="right">
<Typography
fontSize={13}
fontWeight={600}
fontWeight="bold"
sx={(theme: Theme) => ({
mr: 1,
color: 'success.700',
color: 'success.800',
...theme.applyDarkStyles({
color: 'success.500',
}),
Expand Down
5 changes: 3 additions & 2 deletions docs/src/components/showcase/NotificationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ export default function NotificationCard() {
</div>
<Chip
label="3"
color="success"
size="small"
sx={{ ml: 'auto', color: '#fff', fontSize: '0.75rem', height: 18 }}
variant="outlined"
color="success"
sx={{ ml: 'auto', fontSize: '0.75rem', height: 18 }}
/>
</Box>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/showcase/ThemeDatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ThemeDatePicker() {
paddingLeft: '18px',
},
'& .MuiTypography-caption': {
color: 'grey.500',
color: 'text.tertiary',
height: 24,
},
'[role="presentation"]': {
Expand Down

0 comments on commit 5ca7b39

Please sign in to comment.