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";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import { store } from "./store";
import { ConfigProvider, theme } from "antd";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
......@@ -33,7 +34,9 @@ root.render(
<React.StrictMode>
<BrowserRouter>
<Provider store={store}>
<Neos />
<ConfigProvider theme={{ algorithm: theme.darkAlgorithm }}>
<Neos />
</ConfigProvider>
</Provider>
</BrowserRouter>
</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