UI Mechanics / New Look (orange - gray)

This commit is contained in:
2020-08-01 17:11:43 +02:00
parent bf609fc5cd
commit e5a68f4b85
32 changed files with 766 additions and 118 deletions

View File

@@ -6,6 +6,7 @@ import Footer from "./components/Footer";
import SearchPanel from "./components/SearchPanel";
import SearchResults from "./components/SearchResults";
import Restaurant from "./components/Restaurant";
import Dialogs from "./components/Dialogs";
import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles";
import { useSelector } from "react-redux";
@@ -14,6 +15,12 @@ const theme = createMuiTheme({
primary: {
main: "#0e8496",
},
secondary: {
light: "#ffffff",
main: "#ffffff",
dark: "#ffffff",
contrastText: "#ffffff",
},
},
});
@@ -37,6 +44,7 @@ function App() {
{appMode === "search results" && <SearchResults />}
{appMode === "restaurant" && <Restaurant />}
</div>
<Dialogs />
<Footer />
</div>
</ThemeProvider>