aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--theme.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/theme.js b/theme.js
index a04f660..975bacb 100644
--- a/theme.js
+++ b/theme.js
@@ -2,6 +2,7 @@ const global_sheets = [];
export function add_css(sheets) {
global_sheets.push(...sheets);
+ document.adoptedStyleSheets = global_sheets;
}
export function css() {