diff --git a/apps/dokploy/__test__/traefik/server/update-server-config.test.ts b/apps/dokploy/__test__/traefik/server/update-server-config.test.ts index eb99242c3..e07f34ade 100644 --- a/apps/dokploy/__test__/traefik/server/update-server-config.test.ts +++ b/apps/dokploy/__test__/traefik/server/update-server-config.test.ts @@ -53,7 +53,6 @@ const baseSettings: WebServerSettings = { appDescription: null, logoUrl: null, faviconUrl: null, - primaryColor: null, customCss: null, loginLogoUrl: null, supportUrl: null, diff --git a/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-preview.tsx b/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-preview.tsx index f87268400..d53af90a2 100644 --- a/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-preview.tsx +++ b/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-preview.tsx @@ -12,14 +12,12 @@ interface WhitelabelingPreviewProps { config: { appName?: string; logoUrl?: string; - primaryColor?: string; footerText?: string; }; } export function WhitelabelingPreview({ config }: WhitelabelingPreviewProps) { const appName = config.appName || "Dokploy"; - const primaryColor = config.primaryColor || "hsl(var(--primary))"; return ( @@ -40,10 +38,7 @@ export function WhitelabelingPreview({ config }: WhitelabelingPreviewProps) { className="size-8 rounded-sm object-contain" /> ) : ( -
+
{appName.charAt(0).toUpperCase()}
)} @@ -53,17 +48,11 @@ export function WhitelabelingPreview({ config }: WhitelabelingPreviewProps) { {/* Simulated content area */}
-
+
-
+
Button
diff --git a/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-provider.tsx b/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-provider.tsx index 651998cbf..a1a327561 100644 --- a/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-provider.tsx +++ b/apps/dokploy/components/proprietary/whitelabeling/whitelabeling-provider.tsx @@ -18,76 +18,14 @@ export function WhitelabelingProvider() { {config.faviconUrl && } - {(config.customCss || config.primaryColor) && ( + {config.customCss && (