Activities of "justinlee0516"

Found the solution.

-- app.component.cs --

import { ThemeService, StyleNames, lightTheme } from '@volosoft/ngx-lepton-x';

export class AppComponent {
  
  constructor(private themeService: ThemeService) {
    if (this.themeService.selectedStyle.styleName != StyleNames.Light) {
      this.themeService.setTheme(lightTheme);
    }
  }
}

Hi, I am also using Angular UI, it works at my end. Could you please check your solution explorer at backend it has solution ***.HttpAPI.Host at the end of list.

Yes. You should test in Chrome Incognito Window.

Thanks for your reply. But I am using Angular UI, and that does not work.

  • ABP Framework version: v7.2.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

ABP commercial has LeptonX theme as its default theme. There are 4 styles in LeptonX: Light, Dark, Dim, and System. My app has Angular UI. And the default theme style seems to be System - it changes to Light or Dark automatically when the OS settings change.

I cannot find any documentation on how to change this behavior. I want to fix the style to Light mode always in Angular UI.

Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11