View on GitHub
File Changes
      return THEMES.YOROI_CLASSIC;
    }

                      
+
    if (environment.isShelley()) {
+
      return THEMES.YOROI_SHELLEY_TESTNET;
+
    }
+

                      
    const { result } = this.getThemeRequest.execute();
    if (this.isCurrentThemeSet && result != null) {
      // verify content is an actual theme
    return this.currentTheme === THEMES.YOROI_CLASSIC;
  }

                      
+
  @computed get isShelleyTestnetTheme(): boolean {
+
    return this.currentTheme === THEMES.YOROI_SHELLEY_TESTNET;
+
  }
+

                      
  /* @Returns Merged Pre-Built Theme and Custom Theme */
  @computed get currentThemeVars() {
    const { result } = this.getCustomThemeRequest.execute();

                      
export const THEMES = Object.freeze({
  YOROI_CLASSIC: 'YoroiClassic',
-
  YOROI_MODERN: 'YoroiModern'
+
  YOROI_MODERN: 'YoroiModern',
+
  YOROI_SHELLEY_TESTNET: 'YoroiShelleyTestnet',
});

                      
export type Theme = $Values<typeof THEMES>;
        [SELECT]: SelectOverridesClassic,
        [SWITCH]: SwitchOverridesClassic,
      });
+
    case THEMES.YOROI_SHELLEY_TESTNET:
    case THEMES.YOROI_MODERN:
      return ({
        [AUTOCOMPLETE]: AutocompleteOverrides,