mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 17:28:40 +02:00
Introduce dark/light mode theme switch into framework
This commit is contained in:
@ -117,6 +117,8 @@ var EgwApp = /** @class */ (function () {
|
||||
this._set_Window_title();
|
||||
// Highlights the favorite based on initial list state
|
||||
this.highlight_favorite();
|
||||
// apply theme mode
|
||||
jQuery('html').attr('data-darkmode', egw.preference('darkmode', 'common'));
|
||||
};
|
||||
/**
|
||||
* Observer method receives update notifications from all applications
|
||||
|
Reference in New Issue
Block a user