diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-12 19:08:49 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-12 19:08:49 +0100 |
| commit | ca647a41364001b6f996715bd2313b44ac28a4d3 (patch) | |
| tree | c70ce21c53c862bfa94afaea4ee83c67e8d72870 | |
| parent | 40154dc1408f3eb7667985304d363848f40bbb1e (diff) | |
theme: add to DOM as well, instead of just shadow-doms
| -rw-r--r-- | theme.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ const global_sheets = []; export function add_css(sheets) { global_sheets.push(...sheets); + document.adoptedStyleSheets = global_sheets; } export function css() { |