fix(plugins): restore workbench refresh and bootstrap
This commit is contained in:
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";
|
||||
|
||||
Reference in new issue
Block a user