diff --git a/themes/e6f56814-6209-413f-9ca3-ea4f26848114/chrome.css b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/chrome.css new file mode 100644 index 00000000..4b908a75 --- /dev/null +++ b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/chrome.css @@ -0,0 +1,44 @@ + +@media (-moz-bool-pref: "uc.workspace-tweaks.top-pad-rm") { + #titlebar { + margin-top: calc(var(--zen-element-separation) * 1) !important; + } + +#zen-sidebar-top-buttons { + display: none !important; + } +} + +@media (-moz-bool-pref: "uc.workspace-tweaks.top-center") { + #zen-current-workspace-indicator-container .zen-current-workspace-indicator { + justify-content: center; + } +} + +@media (-moz-bool-pref: "uc.workspace-tweaks.bottom-pad") { + #zen-sidebar-bottom-buttons { + padding-inline: var(--zen-element-separation) !important; + padding-block: calc(var(--zen-element-separation) / 2) !important; + margin-top: calc(var(--zen-element-separation)) !important; + +& .zen-workspaces-button { + --arrowpanel-menuitem-padding-inline: var( + --arrowpanel-menuitem-padding-block + ) !important; + } + } +} + +@media (-moz-bool-pref: "uc.workspace-tweaks.bottom-bg") { + #zen-sidebar-bottom-buttons { + border-radius: var(--zen-border-radius); + background-color: var(--zen-toolbar-element-bg) !important; + } +} + +@media (-moz-bool-pref: "uc.workspace-tweaks.top-bg") { + #zen-current-workspace-indicator-container .zen-current-workspace-indicator { + border-radius: var(--zen-border-radius); + background-color: var(--zen-toolbar-element-bg) !important; + } +} diff --git a/themes/e6f56814-6209-413f-9ca3-ea4f26848114/image.png b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/image.png new file mode 100644 index 00000000..bd791814 Binary files /dev/null and b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/image.png differ diff --git a/themes/e6f56814-6209-413f-9ca3-ea4f26848114/preferences.json b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/preferences.json new file mode 100644 index 00000000..df00eb71 --- /dev/null +++ b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/preferences.json @@ -0,0 +1,38 @@ +[ + { + "property": "zen.workspaces.show-workspace-indicator", + "label": "Shows the workspace-indicator above Pins.", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "uc.workspace-tweaks.top-pad-rm", + "label": "Remove padding from sidebar start. Looks best with Bottom Essentials.", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "uc.workspace-tweaks.top-center", + "label": "Center top workspace-indicator label.", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "uc.workspace-tweaks.bottom-pad", + "label": "Add padding to the bottom workspace icons", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "uc.workspace-tweaks.top-bg", + "label": "Add a background to the top workspace-indicator label.", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "uc.workspace-tweaks.bottom-bg", + "label": "Add a background to the bottom workspace-indicator label.", + "type": "checkbox", + "disabledOn": [] + } +] \ No newline at end of file diff --git a/themes/e6f56814-6209-413f-9ca3-ea4f26848114/readme.md b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/readme.md new file mode 100644 index 00000000..ecfb4db7 --- /dev/null +++ b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/readme.md @@ -0,0 +1,15 @@ + +# Workspace Tweaks + +Change spacing, placement and backgrounds of the top and bottom workspace indicators. + +![Screenshot of customized workspace indicators](https://raw.githubusercontent.com/MihkelMK/zen-mods/refs/heads/main/workspace_tweaks/image.png) + +## Options + +- Show the workspace-indicator above Pins. +- Remove padding from sidebar start (Looks best with Bottom Essentials). +- Center top workspace-indicator label. +- Add padding to the bottom workspace icons +- Add a background to the top workspace-indicator label. +- Add a background to the bottom workspace-indicator label. diff --git a/themes/e6f56814-6209-413f-9ca3-ea4f26848114/theme.json b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/theme.json new file mode 100644 index 00000000..d51d9096 --- /dev/null +++ b/themes/e6f56814-6209-413f-9ca3-ea4f26848114/theme.json @@ -0,0 +1,15 @@ +{ + "id": "e6f56814-6209-413f-9ca3-ea4f26848114", + "name": "Workspace Tweaks", + "description": "Change spacing, placement and backgrounds of the top and bottom workspace indicators.", + "homepage": "https://github.com/MihkelMK/zen-mods/tree/main/workspace_tweaks", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/image.png", + "author": "MihkelMK", + "version": "1.0.0", + "tags": [], + "createdAt": "2025-03-07", + "updatedAt": "2025-03-07", + "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/preferences.json" +} \ No newline at end of file