Actually I was talking about switching between portrait and landscape mode.
You can reproduce the issue by opening the browser or youtube app and turning your phone. When using the default or any light theme the screen rotates normally, but when using a dark one, it's noticably slower.