feat: Removed legacy stylesheets config and implement c++ mods backen… (#9131)

This commit is contained in:
mr. m
2025-06-23 00:07:39 +02:00
committed by GitHub
parent dc6f46695a
commit 400598a0b1
25 changed files with 528 additions and 282 deletions

View File

@@ -2,7 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
{
class ZenWorkspace extends MozXULElement {
class nsZenWorkspace extends MozXULElement {
static get markup() {
return `
<vbox class="zen-workspace-tabs-section zen-current-workspace-indicator" flex="1" context="zenWorkspaceMoreActions">
@@ -220,5 +220,5 @@
}
}
customElements.define('zen-workspace', ZenWorkspace);
customElements.define('zen-workspace', nsZenWorkspace);
}

View File

@@ -1,5 +1,5 @@
{
class ZenWorkspaceCreation extends MozXULElement {
class nsZenWorkspaceCreation extends MozXULElement {
#wasInCollapsedMode = false;
promiseInitialized = new Promise((resolve) => {
@@ -336,5 +336,5 @@
}
}
customElements.define('zen-workspace-creation', ZenWorkspaceCreation);
customElements.define('zen-workspace-creation', nsZenWorkspaceCreation);
}

View File

@@ -2,7 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
{
class ZenWorkspaceIcons extends MozXULElement {
class nsZenWorkspaceIcons extends MozXULElement {
constructor() {
super();
}
@@ -181,5 +181,5 @@
}
}
customElements.define('zen-workspace-icons', ZenWorkspaceIcons);
customElements.define('zen-workspace-icons', nsZenWorkspaceIcons);
}

View File

@@ -124,7 +124,7 @@
#PanelUI-zen-gradient-generator-custom-list {
margin-top: 15px;
&:not(:has(.zen-theme-picker-custom-list-item)) {
&:empty {
display: none;
}