From c2d19d6b9d9d768418c0dbcd1a002c5e17fb3889 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 10 May 2026 07:57:20 +0000 Subject: [PATCH 1/4] feat(ux): enhance theme menu accessibility and modal save functionality - Convert theme menu to click-to-toggle with click-outside logic - Add ARIA attributes to theme toggle for better accessibility - Implement functional sync for modal 'Save' button with Watch Later list - Add .hidden utility class to style.css Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com> --- css/style.css | 6 +++--- index.html | 2 +- js/app.js | 44 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index 85f60c4..1f08bce 100644 --- a/css/style.css +++ b/css/style.css @@ -192,9 +192,6 @@ body { color: transparent; } - .theme-switcher:hover #themeMenu { - display: block; - } .theme-opt.active { color: var(--primary); @@ -1738,3 +1735,6 @@ body { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } + +/* Palette Utility Fallbacks */ +.hidden { display: none !important; } diff --git a/index.html b/index.html index 8e7157e..4f3a9de 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,7 @@

Ruh Al Tarikh

-