Changing theme makes cards disappear
- Lingua principale
- TypeScript
- Stelle
- 8.1k
- Fork
- 1.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I have modified the ngx-admin dashboard to display dynamic card.
When the theme is 'default' I can see the cards are loaded according to 'default.png' image attached.
**/src/app/@theme/theme.module.ts**
```
NbThemeModule.forRoot(
{
name: 'default', // change here it can be default, corporate, cosmic or dark
},
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME ],
).
```
However, when I set the name to another theme and **npm-start** my angular app again the cards are not visible according to 'other.png' image attached.
**/src/app/@theme/theme.module.ts**
```
NbThemeModule.forRoot(
{
name: 'dark', // changing the theme here or anywhere in the app makes my cards disappear from the dashboard
},
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME ],
).
```


Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.