yazanammar_obsidian-theme-e.../src
YazanAmmar 2b160e9a06 feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1)
This massive update introduces the plugin's most-requested feature: **Video Backgrounds**. We've also completely rebuilt the "Custom Variable" system and delivered major performance and user experience enhancements.

- **Video Background Support:** Fully supports `.mp4` and `.webm` video files as backgrounds.
- **Redesigned Settings Modal:** The "Background Settings" (⚙️) modal is now completely redesigned with dedicated **Image** and **Video** tabs.
- **Dedicated Video Settings:** Includes a **Video Opacity** slider and a **Mute Video** toggle.
- **Interactive Previews:** Video previews in the "Browse Backgrounds" modal are now interactive (click to play/pause).
- **Active Background Highlight:** The currently active background is now highlighted in the "Browse Backgrounds" modal.

- **Support for Multiple Data Types:** Rebuilt the feature to support 'Color', 'Size (px/em)', 'Text', and 'Number' types.
- **Context-Aware Controls:** The UI now renders the correct control for each custom variable type on both the creation modal and the main settings page.
- **Duplicate Prevention:** The modal intelligently checks against all existing variables to prevent duplicates.
- **Improved Search & Highlighting:** Custom variables are now fully searchable by their name *and* description, with highlighting on both.

- **Remember Settings State:** The plugin now remembers your last search query and scroll position in the settings tab.
- **Smarter Plugin Reset:** The "Reset All Data" function now preserves crucial data: Installation Date ("Days of Use"), Language, and RTL/LTR layout settings.
- **Fixed: Background Switching Flicker:** The visual flicker that occurred when switching between backgrounds has been eliminated.
- **Performance:** Includes the new **"Convert to JPG"** image conversion feature for better file size management.

---
[For full details on code changes and fixes, please see the CHANGELOG.md]
2025-11-01 12:34:06 +03:00
..
commands feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
i18n feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
ui feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
constants.ts feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
main.ts feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
types.ts feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00
utils.ts feat: Huge Update: Add Video Backgrounds & Rebuild Custom Variables (v1.1.1) 2025-11-01 12:34:06 +03:00