From ca647a41364001b6f996715bd2313b44ac28a4d3 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 12 Nov 2025 19:08:49 +0100 Subject: theme: add to DOM as well, instead of just shadow-doms --- theme.js | 1 + 1 file changed, 1 insertion(+) 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() { -- cgit v1.2.3-70-g09d2