Changing theme makes cards disappear
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
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 ],
).
```


Contributor guide
Assessment
This issue has not been assessed yet.