forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Format all ts files (mui#20233)
- Loading branch information
1 parent
2eff7a9
commit a6edb28
Showing
5 changed files
with
53 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import { createMuiTheme, makeStyles } from '@material-ui/core/styles'; | ||
|
||
{ | ||
const theme = createMuiTheme({ | ||
mixins: { | ||
toolbar: { | ||
background: '#fff', | ||
minHeight: 36, | ||
'@media (min-width:0px) and (orientation: landscape)': { | ||
minHeight: 24 | ||
}, | ||
'@media (min-width:600px)': { | ||
minHeight: 48 | ||
} | ||
}, | ||
} | ||
}); | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
appBarSpacer: theme.mixins.toolbar, | ||
toolbarIcon: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'flex-end', | ||
padding: '0 8px', | ||
...theme.mixins.toolbar, | ||
const theme = createMuiTheme({ | ||
mixins: { | ||
toolbar: { | ||
background: '#fff', | ||
minHeight: 36, | ||
'@media (min-width:0px) and (orientation: landscape)': { | ||
minHeight: 24, | ||
}, | ||
'@media (min-width:600px)': { | ||
minHeight: 48, | ||
}, | ||
})); | ||
}, | ||
}, | ||
}); | ||
|
||
const useStyles = makeStyles((theme) => ({ | ||
appBarSpacer: theme.mixins.toolbar, | ||
toolbarIcon: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'flex-end', | ||
padding: '0 8px', | ||
...theme.mixins.toolbar, | ||
}, | ||
})); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters