@ic-pay/icpay-widget 1.2.83 → 1.2.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,7 +56,7 @@ type CommonConfig = {
56
56
  connectedWallet?: any;
57
57
  useOwnWallet?: boolean;
58
58
  plugNPlay?: PlugNPlayConfig;
59
- theme?: ThemeConfig;
59
+ theme?: 'light' | 'dark' | ThemeConfig;
60
60
  debug?: boolean;
61
61
  progressBar?: ProgressBarConfig;
62
62
  disablePaymentButton?: boolean;
@@ -190,7 +190,8 @@ declare class ICPayProgressBar extends LitElement {
190
190
  private showWalletSelector;
191
191
  private isTransitioning;
192
192
  private isOnrampFlow;
193
- theme?: {
193
+ theme?: 'light' | 'dark' | {
194
+ mode?: 'light' | 'dark';
194
195
  primaryColor?: string;
195
196
  secondaryColor?: string;
196
197
  };