Add switch theme method and tests.

Closes #3618152

Merge request reports

Loading