Unfortunately at the moment Kodular does not have the option to turn colors automatically as is customary (and more efficient) to do.
But you can use this extension to know the state of the system (light or dark) and change the colors of the components in your application accordingly.