freetube/src
vallode 3dcea52b75
System theme preference (#1800)
* Add system preference to theme-settings

* Add watching logic to check for dark theme settings

* Add en system theme translation

* Add explicit darkTheme option to browserWindow

* Remove unnecessary themeSource line

* Fix lint errors

* Move to using main process messaging for theme change

* Add system dataset selectors for themes

* Fix lint errors

* Change system theme to system default

* Use system default for deciding background color of newWindow

* Add baseTheme to state persistance

* Use baseTheme on browserWindow creation

* Fix lint errors

* Improve window background logic

* Catch settingsDb errors

* Remove dark flash on light themes

* Fix lint issues

* Fix system default sync on multiple windows

* Load database on each new window

* Fix lint errors

* Update compatibility for shared electron storage

* Remove unused console log

* Revert unnecessary changes

* Fix window maximize white flash

* Fix handleBaseTheme usage

* Use data-system-theme instead of data-theme

* Revert window maximize changes

* Fix theme flash on new window open
2022-05-11 10:30:40 -04:00
..
data Push Latest Code to Repository 2020-02-16 13:30:00 -05:00
datastores System theme preference (#1800) 2022-05-11 10:30:40 -04:00
main System theme preference (#1800) 2022-05-11 10:30:40 -04:00
renderer System theme preference (#1800) 2022-05-11 10:30:40 -04:00
utilities Push Latest Code to Repository 2020-02-16 13:30:00 -05:00
constants.js System theme preference (#1800) 2022-05-11 10:30:40 -04:00
index.ejs System theme preference (#1800) 2022-05-11 10:30:40 -04:00