From 80dc797ce945b53054a802c05797b69b76ca01d5 Mon Sep 17 00:00:00 2001 From: prakharlowanshi Date: Tue, 20 Jan 2026 14:41:12 +0530 Subject: [PATCH 1/2] implement the dark theme --- apps/proxy-auth/src/app/app.component.html | 3 +- apps/proxy-auth/src/app/app.component.ts | 5 +- .../app/otp/send-otp/send-otp.component.html | 3 +- .../user-profile/user-profile.component.html | 2 +- .../user-profile/user-profile.component.scss | 259 ++++++++++++++++++ .../user-profile/user-profile.component.ts | 1 + 6 files changed, 267 insertions(+), 6 deletions(-) diff --git a/apps/proxy-auth/src/app/app.component.html b/apps/proxy-auth/src/app/app.component.html index fdbd484f..8141f0f7 100644 --- a/apps/proxy-auth/src/app/app.component.html +++ b/apps/proxy-auth/src/app/app.component.html @@ -1,3 +1,4 @@ -
+ +
diff --git a/apps/proxy-auth/src/app/app.component.ts b/apps/proxy-auth/src/app/app.component.ts index 916668d9..d8edb2f3 100644 --- a/apps/proxy-auth/src/app/app.component.ts +++ b/apps/proxy-auth/src/app/app.component.ts @@ -32,9 +32,8 @@ export class AppComponent extends BaseComponent implements OnInit, OnDestroy { // showCompanyDetails: false, authToken: 'clV0YUt4UURVbzJYZTRwMHdBNkZ6QjZoay9qMmRRcjZhMGVXMGtCT1ZtdGNaelFxMmlNaGdNcEJuRy9UWmFSZHQvMHc0YnJYUHExakh5NDNGVjZMOEdXVmg3OG82R094Yk5tdE9XckxjUTV1dlNzUERXRWxaOWIwWm5JRmlMVHl5UmpZUHVDK2piOURJUi9IdytncFZBRWc5QnRyRDRVeUFOZlBCY1FST0FOZStISUVtK055VWNxaGduZWpGeUZxVWxYWjd6YXI2YTF0aGxHZTNka1BlQT09', - type: 'user-management', - exclude_role_ids: [2], - include_role_ids: [1], + // type: 'user-management', + isHidden: true, theme: 'light', // isPreview: true, isLogin: true, diff --git a/apps/proxy-auth/src/app/otp/send-otp/send-otp.component.html b/apps/proxy-auth/src/app/otp/send-otp/send-otp.component.html index e1003946..478c1774 100644 --- a/apps/proxy-auth/src/app/otp/send-otp/send-otp.component.html +++ b/apps/proxy-auth/src/app/otp/send-otp/send-otp.component.html @@ -4,7 +4,7 @@ [ngClass]="{ 'with-reference-id': referenceId, 'without-reference-id': authToken, - 'dark-theme': theme === 'dark' && type === 'user-management' + 'dark-theme': theme === 'dark' && (type === 'user-management' || authToken) }" >