When editing a dark theme while using a light theme and vice versa, the buttons and border on the UI will be displayed in the wrong colour. This incorrect display is brought over to the theme itself as well and doesn’t just affect the preview.
Steps to reproduce:
Edit a theme while using an opposing theme, that is, editing a light theme while using a dark theme or editing a dark theme while using a light theme.
Bug appears at this link:
Chrome 109 & Firefox 110, Windows 10