[major] add local theme for previewwindow