Skip to content

Commit

Permalink
Improved config handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
kallaspriit committed Aug 4, 2016
1 parent f9ee0af commit 86a0d67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions config/theme-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
// override theme styles
};
7 changes: 3 additions & 4 deletions views/RootView.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ import getMuiTheme from 'material-ui/styles/getMuiTheme';
import css from '../gfx/css/main.scss'; // eslint-disable-line no-unused-vars
import DrawerMenuComponent from './components/DrawerMenuComponent';
import CumulocityPlatform from '../libs/cumulocity/CumulocityPlatform';
import cumulocityConfig from '../config/cumulocity';
import themeConfig from '../config/theme-config';
import cumulocityConfig from '../config/cumulocity-config';
import platformApi from '../apis/platform-api';

injectTapEventPlugin();

// setup theme
const muiTheme = getMuiTheme({
// override theme styles
});
const muiTheme = getMuiTheme(themeConfig);

// setup platform
const cumulocityPlatform = new CumulocityPlatform(cumulocityConfig);
Expand Down

0 comments on commit 86a0d67

Please sign in to comment.