fix: apply theme colors to all admin pages

AdminDashboard:
- Replace all gray colors with theme variables
- Indonesian text: 'Selamat datang', 'Kelola Plans', etc.
- Loading: 'Memuat...'

AdminPlans:
- bg-card, text-foreground, border-border
- text-muted-foreground for secondary text
- bg-muted for sections
- text-primary for links/icons
- text-destructive for delete
- Indonesian: 'Kelola Plans', 'Tambah Plan', 'Tidak ada plan'

AdminUsers:
- Same theme color replacements
- Indonesian: 'Kelola Users', 'Tidak ada user'
- bg-primary for avatars
- Consistent hover states

All pages now:
 Respect light/dark mode
 Use @theme colors from index.css
 Indonesian text (keeping English tech terms)
 Consistent with member layout styling
This commit is contained in:
dwindown
2025-10-11 20:18:10 +07:00
parent 4bd95e50e8
commit 50ce884a43
13 changed files with 328 additions and 239 deletions

View File

@@ -20,6 +20,7 @@ export declare class AuthController {
name: string | null;
avatarUrl: string | null;
emailVerified: boolean;
role: string;
};
token: string;
}>;
@@ -43,6 +44,7 @@ export declare class AuthController {
name: string | null;
avatarUrl: string | null;
emailVerified: boolean;
role: string;
};
token: string;
requiresOtp?: undefined;
@@ -60,6 +62,7 @@ export declare class AuthController {
name: string | null;
avatarUrl: string | null;
emailVerified: boolean;
role: string;
};
token: string;
}>;
@@ -71,6 +74,7 @@ export declare class AuthController {
emailVerified: boolean;
name: string | null;
avatarUrl: string | null;
role: string;
}>;
changePassword(req: RequestWithUser, body: {
currentPassword: string;