Commit 522ad723 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'optimize/antd/theme' into 'main'

update antd theme

See merge request mycard/Neos!101
parents 3ca3b4f1 40547c28
Pipeline #20074 passed with stages
in 4 minutes and 53 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