// this variable is default or dark
$mode: default;
.dark-mode {
$mode: dark !important;
}
.light-mode {
$mode: default !important;
}
when I change the $mode to default or dark, it's working but when I use class .dark-mode or .light-mode not work
my code is below not working but when I change the $mode in Scss manual working where is my problem ?
<div class="dark-mode">
<router-outlet></router-outlet>
</div>
ngClasshelpful: angular.io/api/common/NgClass