mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-14 09:38:59 +08:00
Changed default font.
New entity preview as drawer
This commit is contained in:
@@ -10,7 +10,7 @@ export default function CustomBooleanPreview({
|
||||
: ReactElement {
|
||||
|
||||
return (
|
||||
value ? <CheckBoxOutlined/> : <CheckBoxOutlineBlank color={"disabled"}/>
|
||||
value ? <CheckBoxOutlined color="disabled"/> : <CheckBoxOutlineBlank color="disabled"/>
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user