From 60ea450ce2d79473111fc2434285967380e487d4 Mon Sep 17 00:00:00 2001 From: Donkie Date: Thu, 18 May 2023 13:27:57 +0200 Subject: [PATCH] Client: Updated color theme --- client/src/App.tsx | 189 ++++++++++++++++++++++++--------------------- 1 file changed, 99 insertions(+), 90 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index e843f87..cd349d2 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -38,6 +38,7 @@ import { HighlightOutlined, UserOutlined, } from "@ant-design/icons"; +import { ConfigProvider } from "antd"; function App() { const { t, i18n } = useTranslation(); @@ -64,102 +65,110 @@ function App() { - , - }, + , - }, - }, - { - name: "vendor", - list: "/vendor", - create: "/vendor/create", - edit: "/vendor/edit/:id", - show: "/vendor/show/:id", - meta: { - canDelete: true, - icon: , - }, - }, - ]} - options={{ - syncWithLocation: true, - warnWhenUnsavedChanges: true, }} > - -
} - Sider={() => ( - ( - } - /> - )} - /> - )} - > - - - } - > + , + }, + }, + { + name: "filament", + list: "/filament", + create: "/filament/create", + edit: "/filament/edit/:id", + show: "/filament/show/:id", + meta: { + canDelete: true, + icon: , + }, + }, + { + name: "vendor", + list: "/vendor", + create: "/vendor/create", + edit: "/vendor/edit/:id", + show: "/vendor/show/:id", + meta: { + canDelete: true, + icon: , + }, + }, + ]} + options={{ + syncWithLocation: true, + warnWhenUnsavedChanges: true, + }} + > + } - /> - - } /> - } /> - } /> - } /> + element={ +
} + Sider={() => ( + ( + } + /> + )} + /> + )} + > + + + } + > + } + /> + + } /> + } /> + } /> + } /> + + + } /> + } /> + } /> + } /> + + + } /> + } /> + } /> + } /> + + } /> - - } /> - } /> - } /> - } /> - - - } /> - } /> - } /> - } /> - - } /> - - + - - - + + + +