Skip to content

Commit

Permalink
default mode should be light
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed May 9, 2024
1 parent c4a5adb commit f0f16ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/loginModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class LoginModal extends SafeEventEmitter {

if (!uiConfig.logoDark) this.uiConfig.logoDark = DEFAULT_LOGO_DARK;
if (!uiConfig.logoLight) this.uiConfig.logoLight = DEFAULT_LOGO_LIGHT;
if (!uiConfig.mode) this.uiConfig.mode = "auto";
if (!uiConfig.mode) this.uiConfig.mode = "light";
if (!uiConfig.modalZIndex) this.uiConfig.modalZIndex = "99998";
if (typeof uiConfig.displayErrorsOnModal === "undefined") this.uiConfig.displayErrorsOnModal = true;
if (!uiConfig.appName) this.uiConfig.appName = "Web3Auth";
Expand Down

0 comments on commit f0f16ab

Please sign in to comment.