dashy/src/mixins
Vishwanath Martur c2bad0b0a9 Add auto dark/light theme switch based on OS preference
Related to #825

Add automatic theme switching based on OS preference

* Add logic in `src/mixins/ThemingMixin.js` to detect OS theme preference using `window.matchMedia`.
* Update `initializeTheme` method in `src/mixins/ThemingMixin.js` to set theme based on OS preference.
* Modify `applyLocalTheme` method in `src/mixins/ThemingMixin.js` to apply the detected theme dynamically.
* Include logic in `src/App.vue` to detect and apply theme based on OS preference during app initialization.
2024-12-17 22:03:15 +05:30
..
ChartingMixin.js Code style improvments, to pass SonarCloud review 2021-12-27 00:39:30 +00:00
ConfigSaving.js 🔥 Local saving for multi-page full working 2024-04-13 12:17:40 +01:00
GlancesMixin.js Update Glances to API V4 2024-05-18 16:55:46 +02:00
HomeMixin.js 🐛 Fix collapse state persistence (#1546) 2024-04-26 00:29:35 +01:00
ItemMixin.js 🐛 Fix most-used / last-used storage (#1056, #1033) 2023-02-26 14:13:59 +00:00
NextcloudMixin.js 🩹 Address Sonar code smell report findings 2022-06-19 16:47:40 +00:00
ThemingMixin.js Add auto dark/light theme switch based on OS preference 2024-12-17 22:03:15 +05:30
WidgetMixin.js 🐛 Fixes iframe widget refresh (#1571) 2024-05-11 15:26:32 +01:00