Changed light theme and added new split view icon

This commit is contained in:
mr. M
2024-10-17 19:19:28 +02:00
parent 019efd6db7
commit d6c4c3c66a
12 changed files with 52 additions and 38 deletions

View File

@@ -448,15 +448,6 @@ var gZenLooksAndFeel = {
window.addEventListener('unload', () => {
window.matchMedia('(prefers-color-scheme: dark)').removeListener(onPreferColorSchemeChange);
});
setTimeout(() => {
const group = document.getElementById('zenLooksAndFeelGroup');
const webGroup = document.getElementById('webAppearanceGroup');
webGroup.style.display = 'none';
// Iterate reverse to prepend the elements in the correct order.
for (let child of [...webGroup.children].reverse()) {
group.prepend(child);
}
}, 500);
this.setDarkThemeListener();
this.setCompactModeStyle();
},