Help trying to make a darkmode for my app

Hello, I've been trying to set all labels in my app to a specific color (either background or text color) if the user enables or disables the darkmode option.

This is part of my code, but I can't find what to put in the "of component" section.

I am also trying to do this with the background and text color property for all the buttons. Any suggestions?

use the every Label block
see also