mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 22:51:01 +02:00
Introduce dark/light mode theme switch into framework
This commit is contained in:
@ -207,6 +207,8 @@ export abstract class EgwApp
|
||||
|
||||
// Highlights the favorite based on initial list state
|
||||
this.highlight_favorite();
|
||||
// apply theme mode
|
||||
jQuery('html').attr('data-darkmode', <string> egw.preference('darkmode', 'common'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user