Changed default font.

New entity preview as drawer
This commit is contained in:
francesco
2020-09-24 19:25:14 +02:00
parent d67ddc3491
commit c04d4e1164
20 changed files with 318 additions and 228 deletions

View File

@@ -10,7 +10,7 @@ export default function CustomBooleanPreview({
: ReactElement {
return (
value ? <CheckBoxOutlined/> : <CheckBoxOutlineBlank color={"disabled"}/>
value ? <CheckBoxOutlined color="disabled"/> : <CheckBoxOutlineBlank color="disabled"/>
);
}

View File

@@ -1,13 +0,0 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

View File

@@ -1,10 +1,9 @@
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import logo from "./images/test_shop_logo.png";
import algoliasearch, { SearchClient } from "algoliasearch";
import "typeface-roboto";
import "typeface-rubik";
import * as serviceWorker from "./serviceWorker";
@@ -376,6 +375,15 @@ export const testEntitySchema = buildSchema({
}
}
},
pdf: {
title: "Pdf",
dataType: "string",
config: {
storageMeta: {
storagePath: "test"
}
}
},
image_urls: {
title: "Image URLs",
dataType: "array",
@@ -550,7 +558,7 @@ const myAuthenticator: Authenticator = (user?: User) => {
ReactDOM.render(
<CMSApp
name={"Test shop CMS"}
name={"My Online Shop"}
authentication={myAuthenticator}
allowSkipLogin={true}
logo={logo}

View File

@@ -184,7 +184,7 @@ const myAuthenticator: Authenticator = (user?: User) => {
ReactDOM.render(
<CMSApp
name={"Test shop CMS"}
name={"My Online Shop"}
authentication={myAuthenticator}
navigation={navigation}
firebaseConfig={firebaseConfig}