mirror of
https://github.com/yazanammar/obsidian-theme-engine.git
synced 2026-07-22 06:44:37 +00:00
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]
|
||
|---|---|---|
| .. | ||
| commands | ||
| i18n | ||
| ui | ||
| constants.ts | ||
| main.ts | ||
| types.ts | ||
| utils.ts | ||