From 3f5704421db1255d2d67e7059a272a5a3b1bab39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=9B=A8=E6=B0=B4=E8=BF=87=E6=BB=A4=E7=9A=84?= =?UTF-8?q?=E7=A9=BA=E6=B0=94-Rain?= <958414905@qq.com> Date: Fri, 10 Nov 2023 08:02:30 +0800 Subject: [PATCH] fix(theme): text color of page header right side (#3008) --- packages/core/client/src/pm/PluginManagerLink.tsx | 7 +++++-- .../client/src/schema-component/core/DesignableSwitch.tsx | 4 +++- packages/core/client/src/user/CurrentUser.tsx | 5 +++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/core/client/src/pm/PluginManagerLink.tsx b/packages/core/client/src/pm/PluginManagerLink.tsx index 08b89d7be..6242b4b6c 100644 --- a/packages/core/client/src/pm/PluginManagerLink.tsx +++ b/packages/core/client/src/pm/PluginManagerLink.tsx @@ -6,16 +6,18 @@ import { useTranslation } from 'react-i18next'; import { useNavigate } from 'react-router-dom'; import { useACLRoleContext } from '../acl/ACLProvider'; import { ActionContextProvider, useCompile } from '../schema-component'; +import { useToken } from '../style'; import { SettingsCenterContext, getPluginsTabs } from './index'; export const PluginManagerLink = () => { const { t } = useTranslation(); const navigate = useNavigate(); + const { token } = useToken(); return (