From f716bc1db9af25af96c59f9eee9c34525f7a88f0 Mon Sep 17 00:00:00 2001 From: ludovicm67 Date: Thu, 23 Jan 2020 22:49:19 +0100 Subject: webui: change primary color --- webui/src/App.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'webui/src') diff --git a/webui/src/App.js b/webui/src/App.js index 4a52eca1d..2dddb3eb6 100644 --- a/webui/src/App.js +++ b/webui/src/App.js @@ -1,5 +1,6 @@ import AppBar from '@material-ui/core/AppBar'; import CssBaseline from '@material-ui/core/CssBaseline'; +import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/styles'; import Toolbar from '@material-ui/core/Toolbar'; import React from 'react'; @@ -9,6 +10,14 @@ import { Link } from 'react-router-dom'; import BugQuery from './bug/BugQuery'; import ListQuery from './list/ListQuery'; +const theme = createMuiTheme({ + palette: { + primary: { + main: '#263238', + }, + }, +}); + const useStyles = makeStyles(theme => ({ appTitle: { ...theme.typography.h6, @@ -21,7 +30,7 @@ export default function App() { const classes = useStyles(); return ( - <> + @@ -34,6 +43,6 @@ export default function App() { - + ); } -- cgit v1.2.3