Light/Dark Mode

Hello, is it possible to implement a light/dark mode switch using the Framework? If so, how can it be done?