0
thuc.nghiem@techplus.vn created
- ABP Framework version: v7.0.1
- UI Type: Angular
- Database System: EF Core
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- Steps to reproduce the issue:
- In default, some users, when logging in, have a dark interface. I want to configure the default interface for all users to be light.
1 Answer(s)
-
0
Hi,
Please try this ->
import { LPX_THEMES, LPX_THEME_STYLES_DEFAULTS, StyleNames } from '@volosoft/ngx-lepton-x';
'@volosoft/ngx-lepton-x' package is a dependency of @volosoft/abp.ng.theme.lepton-x no need to add a package.json it should work
{ provide: LPX_THEMES, useValue:LPX_THEME_STYLES_DEFAULTS.map(item =>({ ...item, defaultTheme: item.styleName === StyleNames.Light }