Skip to content

Commit

Permalink
Improve dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-zeglen committed Dec 10, 2021
1 parent ce7ed0f commit adb9b36
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/components/Filter/FilterContent/FilterContentHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ const FilterContentHeader: React.FC<FilterContentHeaderProps> = ({
<FormattedMessage defaultMessage="Filters" />
</Typography>
<div>
<Button data-test="clear" className={classes.clear} onClick={onClear}>
<Button
data-test="clear"
variant="secondary"
className={classes.clear}
onClick={onClear}
>
<FormattedMessage {...buttonMessages.clear} />
</Button>
<Button data-test="submit" variant="primary" type="submit">
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavigatorButton/NavigatorButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const useStyles = makeStyles(
color: theme.palette.primary.main
},
marginRight: theme.spacing(2),
width: 48
width: 40
}
};
},
Expand Down
2 changes: 1 addition & 1 deletion src/storybook/Decorator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Decorator = storyFn => (
>
<DateProvider value={+new Date("2018-08-07T14:30:44+00:00")}>
<TimezoneProvider value="America/New_York">
<ThemeProvider overrides={themeOverrides}>
<ThemeProvider defaultTheme="dark" overrides={themeOverrides}>
<BrowserRouter basename={APP_MOUNT_URI}>
<MessageManagerProvider>
<div
Expand Down
3 changes: 0 additions & 3 deletions src/themeOverrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const themeOverrides: Partial<Theme> = {
paddingBottom: 8,
paddingTop: 8
},
head: {
height: 32
},
root: {
height: 56,
paddingBottom: 4,
Expand Down

0 comments on commit adb9b36

Please sign in to comment.