changed font and theme

master
alex 2024-02-09 18:59:34 +01:00
parent 3fda46f313
commit c0f67d317d
2 changed files with 15 additions and 2 deletions

View File

@ -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;

View File

@ -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>
);