mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 09:18:36 +02:00
Implement auto color-scheme in order to respect browser's selected prefers-color-scheme
This commit is contained in:
@ -118,7 +118,7 @@ var EgwApp = /** @class */ (function () {
|
||||
// Highlights the favorite based on initial list state
|
||||
this.highlight_favorite();
|
||||
// apply theme mode
|
||||
jQuery('html').attr('data-darkmode', egw.preference('darkmode', 'common'));
|
||||
window.framework._setDarkMode(egw.getSessionItem('api', 'darkmode'));
|
||||
};
|
||||
/**
|
||||
* Observer method receives update notifications from all applications
|
||||
|
Reference in New Issue
Block a user