Skip to content

Commit

Permalink
changed createTheme to createMuiTheme
Browse files Browse the repository at this point in the history
Updated libraries
  • Loading branch information
jonathan-r-thorpe committed Mar 19, 2024
1 parent 05aef0f commit dcce5cb
Show file tree
Hide file tree
Showing 3 changed files with 6,041 additions and 7,080 deletions.
1 change: 1 addition & 0 deletions Development/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/eslint-parser": "7.22.10",
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
Expand Down
4 changes: 2 additions & 2 deletions Development/src/theme/ThemeContext.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { ThemeProvider } from '@material-ui/styles';
import { createTheme, responsiveFontSizes } from '@material-ui/core/styles';
import { createMuiTheme, responsiveFontSizes } from '@material-ui/core/styles';
import { get } from 'lodash';
import CONFIG from '../config.json';
import { disabledSetting, useJSONSetting } from '../settings';
Expand All @@ -26,7 +26,7 @@ export const AppThemeProvider = ({ children }) => {
});

const theme = responsiveFontSizes(
createTheme({
createMuiTheme({
palette: {
...themePalette,
type: themeState.type,
Expand Down
Loading

0 comments on commit dcce5cb

Please sign in to comment.