mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 18:00:13 +01:00
refactor(RTL mode): to save developers time from searching docs and Google to prepare RTL mode, optional arguments are set to their default values. Now they just need to change NbLayoutDirection.LTR to NbLayoutDirection.RTL and the theme switchs to RTL mode.
This commit is contained in:
parent
61dd23153e
commit
b661d5901c
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import {
|
|||
NbSelectModule,
|
||||
NbIconModule,
|
||||
NbThemeModule,
|
||||
NbLayoutDirection,
|
||||
} from '@nebular/theme';
|
||||
import { NbEvaIconsModule } from '@nebular/eva-icons';
|
||||
import { NbSecurityModule } from '@nebular/security';
|
||||
|
|
@ -85,6 +86,8 @@ export class ThemeModule {
|
|||
name: 'default',
|
||||
},
|
||||
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME ],
|
||||
null,
|
||||
NbLayoutDirection.LTR,
|
||||
).providers,
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue