Commit graph

4 commits

Author SHA1 Message Date
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
Alicia Sykes
4ea77a1015 🐛 Fix config not saving from JSON editor 2024-04-13 14:05:49 +01:00
Alicia Sykes
18f6e4d268 🚚 Re-writes all theming functionality. Much better now :) 2022-08-06 18:52:54 +01:00
Alicia Sykes
0523c1933e 👔 Updates logic for theming 2022-07-31 13:39:25 +01:00