{"size": 736, "ext": "js", "max_stars_repo_path": "app/frontend/src/theme.js", "max_stars_repo_name": "opencarbon/opencarbonmap", "max_stars_repo_stars_event_min_datetime": "2021-03-01T14:09:09.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-29T20:10:43.000Z", "max_issues_repo_path": "app/frontend/src/theme.js", "max_issues_repo_name": "opencarbon/opencarbon", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/frontend/src/theme.js", "max_forks_repo_name": "opencarbon/opencarbon", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.4444444444, "max_line_length": 66, "alphanum_fraction": 0.5258152174}
/** 
 * Copyright (c) Open Carbon, 2020
 * 
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/**
 * theme.js
 * 
 * Create Material UI theme for whole application 
 */ 

import { red } from '@material-ui/core/colors';
import { createMuiTheme } from '@material-ui/core/styles';

const theme = createMuiTheme({
    palette: {
        primary: {
            dark: '#01579b',
            main: '#0288d1',
            light: '#e1f5fe',
        },
        secondary: {
            main: '#19857b',
        },
        error: {
            main: red.A400,
        },
        background: {
            default: '#fff',
        },
    },
});

export default theme;