コード例 #1
0
ファイル: index.js プロジェクト: Christian1626/ELK
 function setDarkTheme(enabled) {
   const theme = Boolean(enabled) ? 'theme-dark' : 'theme-light';
   chrome.removeApplicationClass(['theme-dark', 'theme-light']);
   chrome.addApplicationClass(theme);
 }
コード例 #2
0
ファイル: map_controller.js プロジェクト: gingerwizard/kibana
 function setLightTheme() {
   chrome.removeApplicationClass(['theme-dark']);
   chrome.addApplicationClass('theme-light');
   applyTheme('light');
 }
コード例 #3
0
ファイル: dashboard_app.js プロジェクト: vidhya03/kibana
 function setDarkTheme() {
   chrome.removeApplicationClass(['theme-light']);
   chrome.addApplicationClass('theme-dark');
 }