Skip to content

Commit

Permalink
details
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Oct 9, 2023
1 parent ff2d051 commit 4a168cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions src/Components/NavPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,11 @@ export default function NavPanel({
top: 0,
backgroundColor: 'background.paper',
zIndex: 1,
borderBottom: '1px solid divider',
}}
>
<Typography variant='overline' sx={{marginLeft: '1em'}}>Spatial Navigation</Typography>
<Box sx={{marginRight: '.5em'}}>
<IconButton aria-label="delete" size="small" onClick={toggleIsNavigationVisible}>
<Box sx={{marginRight: '.4em'}}>
<IconButton aria-label="close" size="small" onClick={toggleIsNavigationVisible}>
<CloseIcon fontSize="inherit"/>
</IconButton>
</Box>
Expand Down
6 changes: 2 additions & 4 deletions src/Components/Timeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function TimelineInfo({version, active}) {
color={active ? 'text.primary' : 'text.secondary'}
>
<Paper
variant='control'
elevation={active ? 4 : 1}
sx={{
overflow: 'hidden',
Expand Down Expand Up @@ -164,12 +163,11 @@ export default function VersionsTimeline({versionHistory, branch}) {
top: 0,
backgroundColor: 'background.paper',
zIndex: 1,
borderBottom: '1px solid divider',
}}
>
<Typography variant='overline' sx={{marginLeft: '1em'}}>Version History</Typography>
<Box sx={{marginRight: '.5em'}}>
<IconButton aria-label="delete" size="small" onClick={toggleIsVersionHistoryVisible}>
<Box sx={{marginRight: '.4em'}}>
<IconButton aria-label="close" size="small" onClick={toggleIsVersionHistoryVisible}>
<CloseIcon fontSize="inherit"/>
</IconButton>
</Box>
Expand Down
6 changes: 3 additions & 3 deletions src/theme/Palette.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export const day = {
mode: 'light',
primary: {
main: '#6D8752',
background: colors.grey.lightest,
background: colors.grey.light,
contrastText: colors.black,
highlight: colors.orange,
},
secondary: {
main: colors.grey.dark,
background: colors.green.lightest,
background: colors.grey.lightest,
contrastText: colors.green.dark,
},
background: {
Expand All @@ -30,7 +30,7 @@ export const night = {
mode: 'dark',
primary: {
main: '#6D8752',
background: colors.grey.dark,
background: colors.grey.darkest,
contrastText: colors.grey.lightest,
highlight: colors.orange,
},
Expand Down

0 comments on commit 4a168cc

Please sign in to comment.