AllenYuan

src/components/app/muiTheme.js

Apr 27th, 2020
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import constants from '../constants';
  2.  
  3. const muiTheme = {
  4.   fontFamily: constants.fontFamily,
  5.   card: { fontWeight: constants.fontWeightNormal },
  6.   badge: { fontWeight: constants.fontWeightNormal },
  7.   subheader: { fontWeight: constants.fontWeightNormal },
  8.   raisedButton: { fontWeight: constants.fontWeightNormal },
  9.   flatButton: { fontWeight: constants.fontWeightNormal },
  10.   inkBar: {
  11.     backgroundColor: constants.colorBlue,
  12.   },
  13.   palette: {
  14.     textColor: constants.textColorPrimary,
  15.     primary1Color: constants.colorBlue,
  16.     canvasColor: constants.primarySurfaceColor,
  17.     borderColor: constants.dividerColor,
  18.   },
  19.   tabs: {
  20.     backgroundColor: 'transparent',
  21.     textColor: constants.colorMuted,
  22.     selectedTextColor: constants.textColorPrimary,
  23.   },
  24.   button: { height: 38 },
  25. };
  26.  
  27. export default muiTheme;
Advertisement
Add Comment
Please, Sign In to add comment