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:
4
apps/api/dist/auth/auth.controller.d.ts
vendored
4
apps/api/dist/auth/auth.controller.d.ts
vendored
@@ -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;
|
||||
|
||||
5
apps/api/dist/auth/auth.service.d.ts
vendored
5
apps/api/dist/auth/auth.service.d.ts
vendored
@@ -13,6 +13,7 @@ export declare class AuthService {
|
||||
name: string | null;
|
||||
avatarUrl: string | null;
|
||||
emailVerified: boolean;
|
||||
role: string;
|
||||
};
|
||||
token: string;
|
||||
}>;
|
||||
@@ -33,6 +34,7 @@ export declare class AuthService {
|
||||
name: string | null;
|
||||
avatarUrl: string | null;
|
||||
emailVerified: boolean;
|
||||
role: string;
|
||||
};
|
||||
token: string;
|
||||
requiresOtp?: undefined;
|
||||
@@ -61,6 +63,7 @@ export declare class AuthService {
|
||||
name: string | null;
|
||||
avatarUrl: string | null;
|
||||
emailVerified: boolean;
|
||||
role: string;
|
||||
};
|
||||
token: string;
|
||||
requiresOtp?: undefined;
|
||||
@@ -74,6 +77,7 @@ export declare class AuthService {
|
||||
name: string | null;
|
||||
avatarUrl: string | null;
|
||||
emailVerified: boolean;
|
||||
role: string;
|
||||
};
|
||||
token: string;
|
||||
}>;
|
||||
@@ -85,6 +89,7 @@ export declare class AuthService {
|
||||
emailVerified: boolean;
|
||||
name: string | null;
|
||||
avatarUrl: string | null;
|
||||
role: string;
|
||||
}>;
|
||||
changePassword(userId: string, currentPassword: string, newPassword: string, isSettingPassword?: boolean): Promise<{
|
||||
message: string;
|
||||
|
||||
6
apps/api/dist/auth/auth.service.js
vendored
6
apps/api/dist/auth/auth.service.js
vendored
@@ -88,6 +88,7 @@ let AuthService = class AuthService {
|
||||
name: user.name,
|
||||
avatarUrl: user.avatarUrl,
|
||||
emailVerified: user.emailVerified,
|
||||
role: user.role,
|
||||
},
|
||||
token,
|
||||
};
|
||||
@@ -102,6 +103,7 @@ let AuthService = class AuthService {
|
||||
name: true,
|
||||
avatarUrl: true,
|
||||
emailVerified: true,
|
||||
role: true,
|
||||
otpEmailEnabled: true,
|
||||
otpWhatsappEnabled: true,
|
||||
otpTotpEnabled: true,
|
||||
@@ -150,6 +152,7 @@ let AuthService = class AuthService {
|
||||
name: user.name,
|
||||
avatarUrl: user.avatarUrl,
|
||||
emailVerified: user.emailVerified,
|
||||
role: user.role,
|
||||
},
|
||||
token,
|
||||
};
|
||||
@@ -254,6 +257,7 @@ let AuthService = class AuthService {
|
||||
name: user.name,
|
||||
avatarUrl: user.avatarUrl,
|
||||
emailVerified: user.emailVerified,
|
||||
role: user.role,
|
||||
},
|
||||
token,
|
||||
};
|
||||
@@ -313,6 +317,7 @@ let AuthService = class AuthService {
|
||||
name: user.name,
|
||||
avatarUrl: user.avatarUrl,
|
||||
emailVerified: user.emailVerified,
|
||||
role: user.role,
|
||||
},
|
||||
token,
|
||||
};
|
||||
@@ -340,6 +345,7 @@ let AuthService = class AuthService {
|
||||
name: true,
|
||||
avatarUrl: true,
|
||||
emailVerified: true,
|
||||
role: true,
|
||||
},
|
||||
});
|
||||
if (!user) {
|
||||
|
||||
2
apps/api/dist/auth/auth.service.js.map
vendored
2
apps/api/dist/auth/auth.service.js.map
vendored
File diff suppressed because one or more lines are too long
2
apps/api/dist/tsconfig.build.tsbuildinfo
vendored
2
apps/api/dist/tsconfig.build.tsbuildinfo
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user