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();
},

View File

@@ -167,6 +167,9 @@
</label>
</form>
</html:div>
<html:div data-l10n-id="preferences-web-appearance-footer">
<html:a id="web-appearance-manage-themes-link" class="text-link" data-l10n-name="themes-link" href="about:addons" target="_blank" />
</html:div>
</groupbox>
<hbox id="zenThemeCategory"