Polish admin styles

This commit is contained in:
David Stotijn
2020-09-23 18:10:32 +02:00
parent a3c22b7f1f
commit e9367f7186
16 changed files with 178 additions and 97 deletions

View File

@ -8,7 +8,7 @@ function createApolloClient() {
return new ApolloClient({
ssrMode: typeof window === "undefined",
link: new HttpLink({
uri: "http://localhost:3000/api/graphql",
uri: "/api/graphql",
}),
cache: new InMemoryCache({
typePolicies: {

View File

@ -1,11 +1,12 @@
import { createMuiTheme } from "@material-ui/core/styles";
import teal from "@material-ui/core/colors/teal";
import grey from "@material-ui/core/colors/grey";
import green from "@material-ui/core/colors/green";
const theme = createMuiTheme({
palette: {
type: "dark",
primary: {
main: teal[500],
main: grey[900],
},
secondary: {
main: green[500],