From 7c7d574aa76e781062b62e3c9eb81a0d060ebf83 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:49:32 +0200 Subject: [PATCH] fix: replace hardcoded text-white with DS variables, fix label/value layout Co-Authored-By: Claude Sonnet 4.6 --- ui/src/pages/AdminTenantsPage.tsx | 3 +- ui/src/pages/DashboardPage.tsx | 23 +++++++-------- ui/src/pages/LicensePage.tsx | 47 ++++++++++++++----------------- ui/src/styles/platform.module.css | 20 +++++++++++++ 4 files changed, 55 insertions(+), 38 deletions(-) create mode 100644 ui/src/styles/platform.module.css diff --git a/ui/src/pages/AdminTenantsPage.tsx b/ui/src/pages/AdminTenantsPage.tsx index 09360ed..9c8063c 100644 --- a/ui/src/pages/AdminTenantsPage.tsx +++ b/ui/src/pages/AdminTenantsPage.tsx @@ -9,6 +9,7 @@ import type { Column } from '@cameleer/design-system'; import { useAllTenants } from '../api/hooks'; import { useOrgStore } from '../auth/useOrganization'; import type { TenantResponse } from '../types/api'; +import styles from '../styles/platform.module.css'; const columns: Column[] = [ { key: 'name', header: 'Name' }, @@ -59,7 +60,7 @@ export function AdminTenantsPage() { return (
-

All Tenants

+

All Tenants

diff --git a/ui/src/pages/DashboardPage.tsx b/ui/src/pages/DashboardPage.tsx index 940dd98..a6a9488 100644 --- a/ui/src/pages/DashboardPage.tsx +++ b/ui/src/pages/DashboardPage.tsx @@ -8,6 +8,7 @@ import { } from '@cameleer/design-system'; import { useAuth } from '../auth/useAuth'; import { useTenant, useLicense } from '../api/hooks'; +import styles from '../styles/platform.module.css'; function tierColor(tier: string): 'primary' | 'success' | 'warning' | 'error' { switch (tier?.toLowerCase()) { @@ -68,7 +69,7 @@ export function DashboardPage() { {/* Tenant Header */}
-

+

{tenant?.name ?? tenantId}

{tenant?.tier && ( @@ -92,28 +93,28 @@ export function DashboardPage() { {/* Tenant Info */} -
-
- Slug - {tenant?.slug ?? '-'} +
+
+ Slug + {tenant?.slug ?? '-'}
-
- Status +
+ Status
-
- Created - {tenant?.createdAt ? new Date(tenant.createdAt).toLocaleDateString() : '-'} +
+ Created + {tenant?.createdAt ? new Date(tenant.createdAt).toLocaleDateString() : '-'}
{/* Server Dashboard Link */} -

+

Environments, applications, and deployments are managed through the server dashboard.