Commit 40547c28 authored by Chunchi Che's avatar Chunchi Che

update antd theme

parent 3ca3b4f1
Pipeline #20073 passed with stages
in 3 minutes and 17 seconds
...@@ -25,6 +25,7 @@ import Neos from "./ui/Neos"; ...@@ -25,6 +25,7 @@ import Neos from "./ui/Neos";
import { BrowserRouter } from "react-router-dom"; import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux"; import { Provider } from "react-redux";
import { store } from "./store"; import { store } from "./store";
import { ConfigProvider, theme } from "antd";
const root = ReactDOM.createRoot( const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement document.getElementById("root") as HTMLElement
...@@ -33,7 +34,9 @@ root.render( ...@@ -33,7 +34,9 @@ root.render(
<React.StrictMode> <React.StrictMode>
<BrowserRouter> <BrowserRouter>
<Provider store={store}> <Provider store={store}>
<ConfigProvider theme={{ algorithm: theme.darkAlgorithm }}>
<Neos /> <Neos />
</ConfigProvider>
</Provider> </Provider>
</BrowserRouter> </BrowserRouter>
</React.StrictMode> </React.StrictMode>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment