changed font and theme
parent
3fda46f313
commit
c0f67d317d
|
@ -1,6 +1,8 @@
|
|||
body {
|
||||
margin: 0;
|
||||
font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
/*font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
*/
|
||||
font-family: "Roboto", sans-serif;
|
||||
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
|
13
src/index.js
13
src/index.js
|
@ -4,13 +4,24 @@ import "./index.css";
|
|||
import App, { Loading } from "./App";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import "./i18n";
|
||||
import { ConfigProvider } from "antd";
|
||||
//import reportWebVitals from './reportWebVitals';
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||
root.render(
|
||||
<Suspense fallback={<Loading />}>
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
<ConfigProvider
|
||||
theme={{
|
||||
token: {
|
||||
fontFamily: "Roboto, sans-serif",
|
||||
colorPrimary: "#6878d6",
|
||||
colorInfo: "#6878d6",
|
||||
},
|
||||
}}
|
||||
>
|
||||
<App />
|
||||
</ConfigProvider>
|
||||
</BrowserRouter>
|
||||
</Suspense>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue