From 37c0997d8473216ecc1074a8a4db1cd15be52873 Mon Sep 17 00:00:00 2001 From: Staninna <26458805+Staninna@users.noreply.github.com> Date: Mon, 25 Aug 2025 19:54:07 +0200 Subject: [PATCH] refactor: decouple CSS from Settings and Resize dialogs Replace inline styles with semantic CSS classes for better maintainability --- Auto-Image.js | 486 ++++++++++++---------------------- auto-image-styles.css | 594 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 757 insertions(+), 323 deletions(-) diff --git a/Auto-Image.js b/Auto-Image.js index 3e7f4a1..d20eba5 100644 --- a/Auto-Image.js +++ b/Auto-Image.js @@ -3455,168 +3455,82 @@ function applyTheme() { `; settingsContainer.innerHTML = ` -
- ${theme.animations?.scanline ? ` -
- ` : ''} -
-

- +
+
+

+ ${Utils.t("settings")}

- +
-
+
-
-