add: content_text_size and content_text_color compatibility

This commit is contained in:
trisua 2025-07-25 19:02:03 -04:00
parent 9e885a6718
commit a8dc6f0d57
2 changed files with 52 additions and 8 deletions

View file

@ -317,7 +317,7 @@ globalThis.toggle_metadata_css = (e) => {
METADATA_CSS_ENABLED = !METADATA_CSS_ENABLED;
if (!METADATA_CSS_ENABLED) {
media_theme_pref(); // user user theme
document.getElementById("metadata_css").remove(); // remove css
document.documentElement.classList.add("no_meta"); // remove css
// reset colored text
for (const element of Array.from(