Describe your issue
When i am switching the mode from light to dark or dark to light, the editor is always having the mode opposite to what i chose but the rest of the screen works perfectly fine. Meaning if i choose dark mode then the editor is in light mode and the rest of the screen is light mode.