From 662e4c5f3cacd9940014a3e665564a9f64661da7 Mon Sep 17 00:00:00 2001 From: YakeDev Date: Fri, 11 Oct 2024 20:01:52 +0200 Subject: [PATCH] Improved theme management and updated interface - Added dynamic background color management for `playlist-card` elements, depending on theme (light or dark). - CSS updated to support `light-theme` and `dark-theme` classes, ensuring smooth color transition when changing theme. - Corrected theme-toggle behavior to ensure a consistent experience across the page. - Harmonization of text and background colors in both themes. Objective: Improve UX by ensuring that all page elements react correctly to theme changes and by harmonizing the user interface. --- index.html | 4 +- pbd.html | 4 +- script.js | 105 ++++++++++++++++++++++++++++------------------------- style.css | 9 ++++- 4 files changed, 68 insertions(+), 54 deletions(-) diff --git a/index.html b/index.html index a267231..4a5dda9 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ My Favorite Books Music App - +