Skip to content
Snippets Groups Projects
theme.ts 869 B
Newer Older
  • Learn to ignore specific revisions
  • import { createMuiTheme } from '@material-ui/core';
    
    // eslint-disable-next-line import/prefer-default-export
    
    Chif Gergő's avatar
    Chif Gergő committed
    export const theme = createMuiTheme({
      // TODO: Create default theme
      /*   palette: {
    
        primary: {},
        secondary: {},
        error: {},
        success: {},
        info: {},
        warning: {},
        grey: {},
    
        text: {},
    
    Chif Gergő's avatar
    Chif Gergő committed
      }, */
      typography: {
        fontFamily: 'Roboto',
      },
    });
    
    export const darkTheme = createMuiTheme({
      palette: {
        primary: {
          main: '#1A6B97',
          contrastText: '#FFFFFF',
        },
        secondary: {
          main: '#FFD200',
          contrastText: '#202020',
        },
        error: {
          main: '#FF0C3E',
        },
        background: {
    
          default: '#2A2A28',
          paper: '#202020',
    
    Chif Gergő's avatar
    Chif Gergő committed
        },
    
        /* success: {},
    
    Chif Gergő's avatar
    Chif Gergő committed
        info: {},
    
        warning: {}, */
    
        text: {
          primary: '#FFFFFF',
        },
    
      },
      typography: {
        fontFamily: 'Roboto',
      },
    
    Chif Gergő's avatar
    Chif Gergő committed
    });