Add getContrastText to titleBarText class

This commit is contained in:
Marquis Kurt 2019-12-03 15:53:11 -05:00
parent e768a24e94
commit b4496720a3
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ export const styles = (theme: Theme) =>
titleBarText: {
fontSize: 12,
paddingTop: 2,
paddingBottom: 1
paddingBottom: 1,
color: theme.palette.getContrastText(theme.palette.primary.main)
},
appBar: {
zIndex: 1000,