akveo / akveo/nebular

Changing theme makes cards disappear

Aperta
#2,393 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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 ],
).
```

![default](https://user-images.githubusercontent.com/18000216/83436037-dd41d800-a445-11ea-84c4-01d7ceb96a2e.png)
![other](https://user-images.githubusercontent.com/18000216/83436051-e3d04f80-a445-11ea-942b-775e3a0ed364.png)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.