From 92794d47dcd9464f04dbddec9e74525fca56e37e Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:31:13 -0400 Subject: [PATCH] refactor: centralize styling system usage --- components/upload-modal.html | 16 +- components/video-modal.html | 7 +- css/tailwind.generated.css | 2 +- css/tailwind.source.css | 22 +- js/app.js | 18 +- js/index.js | 38 ++-- js/ui/components/UploadModal.js | 12 +- js/ui/components/VideoCard.js | 6 +- js/ui/components/VideoModal.js | 34 +-- js/ui/styleSystem.js | 253 +++++++++++++++++++++++ js/ui/utils/positionFloatingPanel.js | 24 ++- js/utils/mediaLoader.js | 13 +- tests/position-floating-panel.test.mjs | 19 +- tests/video-modal-accessibility.test.mjs | 9 +- tests/visual/kitchen-sink.spec.ts | 2 +- 15 files changed, 395 insertions(+), 80 deletions(-) create mode 100644 js/ui/styleSystem.js diff --git a/components/upload-modal.html b/components/upload-modal.html index 4a2a74a7..671e242b 100644 --- a/components/upload-modal.html +++ b/components/upload-modal.html @@ -2026,15 +2026,15 @@

+ +
@@ -13,7 +14,7 @@