0
// 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>
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.