fix(plugins): restore workbench refresh and bootstrap

This commit is contained in:
t8y2 committed 2026-09-14 23:01:04 +08:00
1 parent a5bb8cf1c1
commit 400ff6dd02
4 files changed
+48 -7

No files matched your search

@@ -349,7 +349,6 @@ export function pluginSdkSource(initialTheme?: PluginBridgeTheme): string {
const applyTheme = (value) => {
if (!value || typeof value !== 'object') return;
theme = value;
const theme = value;
const root = document.documentElement;
root.dataset.dbxTheme = theme.appearance === "dark" ? "dark" : "light";
root.style.colorScheme = theme.appearance === "dark" ? "dark" : "light";