diff --git a/components/home/lovart/lovart-hero-composer.tsx b/components/home/lovart/lovart-hero-composer.tsx
index c5f491c59..59d6e334b 100644
--- a/components/home/lovart/lovart-hero-composer.tsx
+++ b/components/home/lovart/lovart-hero-composer.tsx
@@ -34,7 +34,6 @@ type LovartHeroComposerProps = {
prompt: string;
removeFile: (id: string) => void;
setPrompt: (value: string) => void;
- shouldInvertLogo: boolean;
siteName: string;
modelOptions: ModelOption[];
onModelChange: (modelId: string) => void;
@@ -60,7 +59,6 @@ export function LovartHeroComposer({
prompt,
removeFile,
setPrompt,
- shouldInvertLogo,
siteName,
modelOptions,
onModelChange,
@@ -91,7 +89,7 @@ export function LovartHeroComposer({

) : (
diff --git a/components/home/lovart/lovart-sidebar.tsx b/components/home/lovart/lovart-sidebar.tsx
index e00a52458..cc9fdc394 100644
--- a/components/home/lovart/lovart-sidebar.tsx
+++ b/components/home/lovart/lovart-sidebar.tsx
@@ -42,7 +42,6 @@ type LovartSidebarProps = {
}
) => ReactNode;
settingsHref: string | null;
- shouldInvertLogo?: boolean;
siteLogo?: string | null;
siteName: string;
toolbox1Enabled: boolean;
@@ -71,7 +70,6 @@ export function LovartSidebar({
productPlanningEnabled,
renderIcon,
settingsHref,
- shouldInvertLogo = false,
siteLogo,
siteName,
toolbox1Enabled,
@@ -184,12 +182,7 @@ export function LovartSidebar({

) : (
diff --git a/components/layout/brand-top-bar.tsx b/components/layout/brand-top-bar.tsx
index c8d79afa5..32af236b0 100644
--- a/components/layout/brand-top-bar.tsx
+++ b/components/layout/brand-top-bar.tsx
@@ -12,7 +12,6 @@ type BrandTopBarProps = {
logo?: string | null;
onLogoClick?: () => void;
position?: "fixed" | "sticky" | "static";
- shouldInvertLogo?: boolean;
showBrand?: boolean;
siteName: string;
};
@@ -25,7 +24,6 @@ export function BrandTopBar({
logo,
onLogoClick,
position = "fixed",
- shouldInvertLogo = false,
showBrand = true,
siteName,
}: BrandTopBarProps) {
@@ -61,10 +59,7 @@ export function BrandTopBar({
{logo ? (
) : (
diff --git a/components/pascal-editor/pascal-editor-frame.tsx b/components/pascal-editor/pascal-editor-frame.tsx
index d2479a71e..cf9f93f47 100644
--- a/components/pascal-editor/pascal-editor-frame.tsx
+++ b/components/pascal-editor/pascal-editor-frame.tsx
@@ -59,8 +59,6 @@ export function PascalEditorFrame({
const lightLogo = String(siteLogo || "").trim();
return darkLogo || lightLogo;
}, [siteLogo, siteLogoDark]);
- const shouldInvertLogo =
- !String(siteLogoDark || "").trim() && Boolean(String(siteLogo || "").trim());
const userEmail = String(user?.email || "").trim();
const userLabel = String(user?.name || userEmail || "已登录用户").trim();
const isGuest = guestRegex.test(userEmail);
@@ -91,10 +89,7 @@ export function PascalEditorFrame({
{displayLogo ? (
) : (
diff --git a/components/top-navbar.tsx b/components/top-navbar.tsx
index 9e9ede5a1..0b944d4ab 100644
--- a/components/top-navbar.tsx
+++ b/components/top-navbar.tsx
@@ -150,7 +150,7 @@ export function TopNavbar({
}
};
- // 决定显示哪个 LOGO(浅色用普通,深色用暗色)
+ // 彩色 logo 不能用滤镜自动反白;暗色主题只在配置了独立 dark logo 时切换。
const displayLogo =
resolvedTheme === "dark"
? siteLogoDark && siteLogoDark.trim() !== ""
@@ -159,10 +159,6 @@ export function TopNavbar({
: siteLogo && siteLogo.trim() !== ""
? siteLogo
: siteLogoDark;
- const shouldInvertLogo =
- resolvedTheme === "dark" &&
- (!siteLogoDark || siteLogoDark.trim() === "") &&
- Boolean(siteLogo && siteLogo.trim() !== "");
const getShortLabel = (label: string) => {
const trimmed = label.trim();
@@ -287,7 +283,7 @@ export function TopNavbar({
{displayLogo && (
)}